Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 84.23 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 168 kB / 23.96 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.396/1.396, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1731/0.1731, allocations: 29.43 MB / 290.1 MB, free: 3.285 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|efficiency.eta|machine.motor.tau_el|machine.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|efficiency.eta|machine.motor.tau_el|machine.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 430.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/2.944e-05, allocations: 2.281 kB / 430.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.00651/0.006539, allocations: 4.692 MB / 435.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002476/0.009015, allocations: 1.386 MB / 436.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002359/0.009251, allocations: 19.81 kB / 436.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004078/0.009659, allocations: 115 kB / 436.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000734/0.01039, allocations: 286.1 kB / 437.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.01078, allocations: 131.7 kB / 437.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008256/0.01161, allocations: 0.6145 MB / 437.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004344/0.01204, allocations: 287.3 kB / 438.2 MB, free: 10.4 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000517/0.01256, allocations: 355.1 kB / 438.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003591/0.01292, allocations: 195.4 kB / 438.8 MB, free: 9.859 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.431e-05/0.01299, allocations: 36 kB / 438.8 MB, free: 9.824 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.911e-05/0.01307, allocations: 40 kB / 438.8 MB, free: 9.785 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.01321, allocations: 123.6 kB / 439 MB, free: 9.664 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.01342, allocations: 159.6 kB / 439.1 MB, free: 9.508 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00063/0.01405, allocations: 0.5024 MB / 439.6 MB, free: 9.004 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.01405, allocations: 4 kB / 439.6 MB, free: 9 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.01406, allocations: 0 / 439.6 MB, free: 9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.01406, allocations: 0 / 439.6 MB, free: 9 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001248/0.01531, allocations: 0.6462 MB / 440.3 MB, free: 8.328 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.01535, allocations: 11.98 kB / 440.3 MB, free: 8.316 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.237e-05/0.01544, allocations: 52.66 kB / 440.3 MB, free: 8.266 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006014/0.01605, allocations: 348 kB / 440.7 MB, free: 7.902 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.01616, allocations: 84.95 kB / 440.7 MB, free: 7.809 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.588e-05/0.01624, allocations: 40.12 kB / 440.8 MB, free: 7.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000717/0.01695, allocations: 432.3 kB / 441.2 MB, free: 7.309 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.01697, allocations: 0 / 441.2 MB, free: 7.309 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.01702, allocations: 16 kB / 441.2 MB, free: 7.293 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.01703, allocations: 12 kB / 441.2 MB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005224/0.01755, allocations: 270.3 kB / 441.5 MB, free: 7.016 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002132/0.01968, allocations: 1.627 MB / 443.1 MB, free: 5.293 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/0.02005, allocations: 167.6 kB / 443.3 MB, free: 5.102 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.0202, allocations: 78.67 kB / 443.4 MB, free: 5.016 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.02023, allocations: 11.94 kB / 443.4 MB, free: 5.004 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.02026, allocations: 34.56 kB / 443.4 MB, free: 4.961 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.02026, allocations: 0 / 443.4 MB, free: 4.961 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001325/0.02159, allocations: 0.636 MB / 444.1 MB, free: 4.289 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.19e-05/0.02166, allocations: 110.8 kB / 444.2 MB, free: 4.156 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/0.02196, allocations: 288.5 kB / 444.4 MB, free: 3.871 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.02198, allocations: 33.64 kB / 444.5 MB, free: 3.832 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.02216, allocations: 252.2 kB / 444.7 MB, free: 3.578 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.971e-05/0.02223, allocations: 71.44 kB / 444.8 MB, free: 3.508 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-05/0.02233, allocations: 65.98 kB / 444.9 MB, free: 3.438 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.02249, allocations: 346.7 kB / 445.2 MB, free: 3.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.02268, allocations: 68.62 kB / 445.3 MB, free: 3.023 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/0.02294, allocations: 205.5 kB / 445.5 MB, free: 2.766 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004395/0.02338, allocations: 292 kB / 445.7 MB, free: 2.422 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.02338, allocations: 0 / 445.7 MB, free: 2.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005577/0.02394, allocations: 320.7 kB / 446.1 MB, free: 2.105 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.02396, allocations: 8 kB / 446.1 MB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.02397, allocations: 4 kB / 446.1 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.02399, allocations: 8 kB / 446.1 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/0.02429, allocations: 79.84 kB / 446.2 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.02431, allocations: 11.92 kB / 446.2 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.02448, allocations: 15.95 kB / 446.2 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.02451, allocations: 19.98 kB / 446.2 MB, free: 1.961 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001941/0.02471, allocations: 189.7 kB / 446.4 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.247e-05/0.02478, allocations: 27.81 kB / 446.4 MB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004003/0.02518, allocations: 190.9 kB / 446.6 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.02518, allocations: 4 kB / 446.6 MB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.02519, allocations: 7.875 kB / 446.6 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.0252, allocations: 0 / 446.6 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008466/0.02604, allocations: 0.5066 MB / 447.1 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.02605, allocations: 0 / 447.1 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.02628, allocations: 51.94 kB / 447.2 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.02629, allocations: 4 kB / 447.2 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.02631, allocations: 11.92 kB / 447.2 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.02631, allocations: 4 kB / 447.2 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.02632, allocations: 0 / 447.2 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006317/0.02695, allocations: 448.1 kB / 447.6 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.16e-05/0.02699, allocations: 27.81 kB / 447.7 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.02703, allocations: 7.938 kB / 447.7 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.02721, allocations: 8.031 kB / 447.7 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/0.02726, allocations: 15.98 kB / 447.7 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.02728, allocations: 11.94 kB / 447.7 MB, free: 396 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001934/0.02747, allocations: 199.1 kB / 447.9 MB, free: 196 kB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02747, allocations: 0 / 447.9 MB, free: 196 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.000399/0.02787, allocations: 68 kB / 448 MB, free: 128 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.rotor.phi,machine.rotor.w) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001325/0.028, allocations: 103.2 kB / 448.1 MB, free: 16 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.1674/0.1954, allocations: 182 kB / 448.2 MB, free: 30.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.1954, allocations: 0 / 448.2 MB, free: 30.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.1956, allocations: 80.53 kB / 448.3 MB, free: 30.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007202/0.1963, allocations: 80.41 kB / 448.4 MB, free: 30.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.1977, allocations: 0.7744 MB / 449.2 MB, free: 29.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.1979, allocations: 211.2 kB / 449.4 MB, free: 29.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001562/0.1981, allocations: 46.12 kB / 449.4 MB, free: 29.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.643e-05/0.1981, allocations: 26.77 kB / 449.4 MB, free: 29.88 MB / 366.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1982, allocations: 0 / 449.4 MB, free: 29.88 MB / 366.1 MB Notification: Performance of Templates: time 0.007633/0.2058, allocations: 2.942 MB / 452.4 MB, free: 29.56 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.55610341951251]