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.0022/0.0022, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00182/0.00182, allocations: 219.7 kB / 23.73 MB, free: 4.16 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.634/1.634, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.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.187/0.187, allocations: 38.56 MB / 352.5 MB, free: 12.31 MB / 286.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.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002439/0.002439, allocations: 67.89 kB / 493 MB, free: 4.199 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4541/0.4565, allocations: 62.47 MB / 0.5424 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.007581/0.4641, allocations: 4.441 MB / 0.5468 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003149/0.4672, allocations: 1.396 MB / 0.5481 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004458/0.4677, allocations: 20.5 kB / 0.5481 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006553/0.4683, allocations: 113.9 kB / 0.5483 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.4695, allocations: 277.1 kB / 0.5485 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.4699, allocations: 113.1 kB / 0.5486 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001196/0.4711, allocations: 0.5039 MB / 0.5491 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003352/0.4715, allocations: 99.23 kB / 0.5492 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006227/0.4721, allocations: 225 kB / 0.5494 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006044/0.4727, allocations: 201.5 kB / 0.5496 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.4728, allocations: 25.97 kB / 0.5496 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.4729, allocations: 27.16 kB / 0.5497 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.4731, allocations: 103.4 kB / 0.5498 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002998/0.4734, allocations: 149.3 kB / 0.5499 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007295/0.4742, allocations: 384 kB / 0.5503 GB, free: 10.56 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4742, allocations: 0 / 0.5503 GB, free: 10.56 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.4742, allocations: 1.188 kB / 0.5503 GB, free: 10.56 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.91e-05/0.4742, allocations: 0 / 0.5503 GB, free: 10.56 MB / 398.1 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.001675/0.4759, allocations: 0.6011 MB / 0.5509 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.4759, allocations: 14.05 kB / 0.5509 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.4761, allocations: 44.25 kB / 0.5509 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.4771, allocations: 336.9 kB / 0.5512 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.076e-05/0.4772, allocations: 23.88 kB / 0.5513 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.4773, allocations: 28.56 kB / 0.5513 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009501/0.4782, allocations: 338.1 kB / 0.5516 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.383e-05/0.4783, allocations: 1.156 kB / 0.5516 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.4783, allocations: 11.59 kB / 0.5516 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.853e-05/0.4783, allocations: 6.312 kB / 0.5516 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005779/0.4789, allocations: 202.7 kB / 0.5518 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002616/0.4815, allocations: 1.34 MB / 0.5531 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004903/0.482, allocations: 190.1 kB / 0.5533 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.4822, allocations: 83.03 kB / 0.5534 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.4822, allocations: 6.938 kB / 0.5534 GB, free: 7.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.4822, allocations: 41.22 kB / 0.5534 GB, free: 7.859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.743e-06/0.4822, allocations: 0 / 0.5534 GB, free: 7.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.001424/0.4837, allocations: 0.6215 MB / 0.5541 GB, free: 7.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.4838, allocations: 139.3 kB / 0.5542 GB, free: 7.234 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003471/0.4841, allocations: 284.9 kB / 0.5545 GB, free: 7.039 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.4841, allocations: 26.86 kB / 0.5545 GB, free: 7.008 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.4843, allocations: 224.7 kB / 0.5547 GB, free: 6.805 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.02e-05/0.4844, allocations: 67.36 kB / 0.5548 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-05/0.4845, allocations: 48.58 kB / 0.5548 GB, free: 6.711 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.4847, allocations: 341.5 kB / 0.5551 GB, free: 6.375 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.4848, allocations: 50.94 kB / 0.5552 GB, free: 6.352 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.485, allocations: 152.3 kB / 0.5553 GB, free: 6.195 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003268/0.4853, allocations: 220.9 kB / 0.5555 GB, free: 6.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4853, allocations: 1.062 kB / 0.5555 GB, free: 6.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004265/0.4857, allocations: 255.5 kB / 0.5558 GB, free: 5.863 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.4857, allocations: 6.719 kB / 0.5558 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.4858, allocations: 3.344 kB / 0.5558 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.4858, allocations: 6.156 kB / 0.5558 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003781/0.4862, allocations: 89.48 kB / 0.5559 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.4873, allocations: 1.252 MB / 0.5571 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.4875, allocations: 13.64 kB / 0.5571 GB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.4875, allocations: 9.688 kB / 0.5571 GB, free: 4.531 MB / 398.1 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 0.0002235/0.4877, allocations: 164.3 kB / 0.5573 GB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.857e-05/0.4878, allocations: 33.12 kB / 0.5573 GB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003819/0.4882, allocations: 185.1 kB / 0.5575 GB, free: 4.238 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.4882, allocations: 2.906 kB / 0.5575 GB, free: 4.238 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.4882, allocations: 4 kB / 0.5575 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.4882, allocations: 0 / 0.5575 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008487/0.4891, allocations: 472.9 kB / 0.5579 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.4891, allocations: 4 kB / 0.558 GB, free: 3.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.4893, allocations: 39.92 kB / 0.558 GB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.4893, allocations: 8.031 kB / 0.558 GB, free: 3.688 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.4893, allocations: 4 kB / 0.558 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.4893, allocations: 4 kB / 0.558 GB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.4893, allocations: 4 kB / 0.558 GB, free: 3.676 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005627/0.4899, allocations: 496.6 kB / 0.5585 GB, free: 3.172 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.879e-05/0.49, allocations: 35.84 kB / 0.5585 GB, free: 3.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.49, allocations: 0 / 0.5585 GB, free: 3.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.4902, allocations: 8 kB / 0.5585 GB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.4902, allocations: 7.984 kB / 0.5585 GB, free: 3.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.4903, allocations: 8 kB / 0.5585 GB, free: 3.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002456/0.4905, allocations: 207 kB / 0.5587 GB, free: 2.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4905, allocations: 4 kB / 0.5587 GB, free: 2.906 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004753/0.491, allocations: 59.94 kB / 0.5588 GB, free: 2.848 MB / 398.1 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 0.0001411/0.4911, allocations: 99.19 kB / 0.5589 GB, free: 2.742 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004474/0.4916, allocations: 160.4 kB / 0.559 GB, free: 2.586 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4916, allocations: 128 / 0.559 GB, free: 2.586 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.4917, allocations: 63.92 kB / 0.5591 GB, free: 2.523 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000722/0.4924, allocations: 74.81 kB / 0.5592 GB, free: 2.457 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.4943, allocations: 0.836 MB / 0.56 GB, free: 1.586 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.4945, allocations: 197.1 kB / 0.5602 GB, free: 1.367 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001906/0.4947, allocations: 46.94 kB / 0.5602 GB, free: 1.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.218e-05/0.4948, allocations: 27.42 kB / 0.5603 GB, free: 1.293 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4948, allocations: 3.938 kB / 0.5603 GB, free: 1.289 MB / 398.1 MB Notification: Performance of Templates: time 0.008918/0.5037, allocations: 3.337 MB / 0.5635 GB, free: 14.02 MB / 414.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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: 5.706307863816619]