Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.001116/0.001116, allocations: 79.75 kB / 21.18 MB, free: 3.379 MB / 18.57 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.001233/0.001233, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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 0.9695/0.9695, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.2456/0.2456, allocations: 29.42 MB / 290.9 MB, free: 2.422 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|motor.i|motor.v|motor.w_el|power.p",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|motor.i|motor.v|motor.w_el|power.p",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 369.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.013e-05/3.206e-05, allocations: 5.406 kB / 369.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.006227/0.006259, allocations: 4.395 MB / 374.1 MB, free: 6.531 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002462/0.008721, allocations: 1.483 MB / 375.5 MB, free: 5.043 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003131/0.009034, allocations: 19.81 kB / 375.6 MB, free: 5.023 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004401/0.009474, allocations: 111.1 kB / 375.7 MB, free: 4.914 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008281/0.0103, allocations: 274.2 kB / 375.9 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.01064, allocations: 119.6 kB / 376 MB, free: 4.527 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000841/0.01149, allocations: 0.5212 MB / 376.6 MB, free: 4.004 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002292/0.01171, allocations: 100.4 kB / 376.7 MB, free: 3.906 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005197/0.01223, allocations: 291.3 kB / 377 MB, free: 3.621 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003181/0.01255, allocations: 179.5 kB / 377.1 MB, free: 3.445 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.109e-05/0.01259, allocations: 24 kB / 377.2 MB, free: 3.422 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.347e-05/0.01266, allocations: 28 kB / 377.2 MB, free: 3.395 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.01279, allocations: 115.6 kB / 377.3 MB, free: 3.281 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.01295, allocations: 123.7 kB / 377.4 MB, free: 3.16 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.0133, allocations: 263 kB / 377.7 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.01331, allocations: 0 / 377.7 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.01331, allocations: 4 kB / 377.7 MB, free: 2.898 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.01332, allocations: 0 / 377.7 MB, free: 2.898 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008102/0.01413, allocations: 0.6953 MB / 378.4 MB, free: 2.168 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.01417, allocations: 15.98 kB / 378.4 MB, free: 2.152 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.856e-05/0.01426, allocations: 60.7 kB / 378.4 MB, free: 2.094 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.01468, allocations: 351.6 kB / 378.8 MB, free: 1.727 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.0147, allocations: 21.03 kB / 378.8 MB, free: 1.707 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.01474, allocations: 28.33 kB / 378.8 MB, free: 1.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.01508, allocations: 287.8 kB / 379.1 MB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.0151, allocations: 4 kB / 379.1 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.01512, allocations: 8 kB / 379.1 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.01513, allocations: 8 kB / 379.1 MB, free: 1.328 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.01529, allocations: 118.8 kB / 379.3 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.01641, allocations: 1.742 MB / 381 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000559/0.01697, allocations: 192.2 kB / 381.2 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.919e-05/0.01704, allocations: 62.86 kB / 381.2 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.01705, allocations: 8 kB / 381.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.01709, allocations: 37.39 kB / 381.3 MB, free: 15.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.893e-06/0.01709, allocations: 0 / 381.3 MB, free: 15.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007718/0.01786, allocations: 0.5693 MB / 381.9 MB, free: 14.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.01791, allocations: 132.5 kB / 382 MB, free: 14.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.01811, allocations: 338.2 kB / 382.3 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.01812, allocations: 29.7 kB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.01823, allocations: 271.1 kB / 382.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.01827, allocations: 67.75 kB / 382.7 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.01833, allocations: 59.36 kB / 382.7 MB, free: 13.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.01846, allocations: 0.5195 MB / 383.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.624e-05/0.0185, allocations: 23.98 kB / 383.3 MB, free: 12.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.01861, allocations: 175.2 kB / 383.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.01878, allocations: 222.8 kB / 383.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.01878, allocations: 0 / 383.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002201/0.019, allocations: 221.2 kB / 383.9 MB, free: 12.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.01901, allocations: 8 kB / 383.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01902, allocations: 4 kB / 383.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.01903, allocations: 7.938 kB / 383.9 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.01924, allocations: 83.89 kB / 384 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007369/0.01998, allocations: 1.81 MB / 385.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.954e-05/0.02006, allocations: 4 kB / 385.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.02007, allocations: 16 kB / 385.8 MB, free: 10.11 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.501e-05/0.02017, allocations: 168.5 kB / 386 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.187e-05/0.02022, allocations: 39.81 kB / 386 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.0204, allocations: 160.2 kB / 386.2 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.02041, allocations: 0 / 386.2 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.02041, allocations: 4 kB / 386.2 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.02041, allocations: 3.984 kB / 386.2 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/0.02085, allocations: 489.2 kB / 386.7 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.02085, allocations: 3.938 kB / 386.7 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.02097, allocations: 35.98 kB / 386.7 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.02097, allocations: 4 kB / 386.7 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.02099, allocations: 4 kB / 386.7 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.02099, allocations: 4 kB / 386.7 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.02099, allocations: 7.969 kB / 386.7 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.02131, allocations: 0.5659 MB / 387.3 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.546e-05/0.02134, allocations: 31.73 kB / 387.3 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.02136, allocations: 4 kB / 387.3 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.02146, allocations: 4 kB / 387.3 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.0215, allocations: 15.98 kB / 387.3 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.02151, allocations: 11.92 kB / 387.3 MB, free: 8.496 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.02162, allocations: 219 kB / 387.6 MB, free: 8.285 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.02162, allocations: 3.938 kB / 387.6 MB, free: 8.281 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002658/0.02189, allocations: 60 kB / 387.6 MB, free: 8.223 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (rotor.phi,rotor.w,motor.i) * 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 8.832e-05/0.02198, allocations: 95.25 kB / 387.7 MB, free: 8.121 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002497/0.02223, allocations: 139.6 kB / 387.9 MB, free: 7.977 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.02223, allocations: 4 kB / 387.9 MB, free: 7.973 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.531e-05/0.0223, allocations: 60.41 kB / 387.9 MB, free: 7.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.02273, allocations: 86.44 kB / 388 MB, free: 7.832 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.02444, allocations: 0.7548 MB / 388.8 MB, free: 7.035 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.784e-05/0.02451, allocations: 112.5 kB / 388.9 MB, free: 6.906 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.02462, allocations: 42.94 kB / 388.9 MB, free: 6.867 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.464e-05/0.02467, allocations: 24.5 kB / 388.9 MB, free: 6.844 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02467, allocations: 0 / 388.9 MB, free: 6.844 MB / 362.7 MB Notification: Performance of Templates: time 0.005038/0.02971, allocations: 3.073 MB / 392 MB, free: 3.848 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Machines.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0862098769284785]