Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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.00184/0.00184, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001635/0.001635, allocations: 210.5 kB / 23.72 MB, free: 4.391 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.572/1.572, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.1901/0.1901, allocations: 38.56 MB / 352.5 MB, free: 12.33 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.Drives.DCmotor_par,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") [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.002781/0.002781, allocations: 67.89 kB / 493 MB, free: 4.234 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4498/0.4526, allocations: 62.47 MB / 0.5424 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.008574/0.4612, allocations: 5.514 MB / 0.5478 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004181/0.4654, allocations: 2.128 MB / 0.5499 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004506/0.4658, allocations: 27.34 kB / 0.5499 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006921/0.4665, allocations: 163.2 kB / 0.5501 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.4678, allocations: 460.3 kB / 0.5505 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006979/0.4685, allocations: 251 kB / 0.5507 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001243/0.4697, allocations: 0.866 MB / 0.5516 GB, free: 9.414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005517/0.4703, allocations: 377 kB / 0.552 GB, free: 9.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000584/0.4708, allocations: 368.8 kB / 0.5523 GB, free: 8.945 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005315/0.4714, allocations: 334.1 kB / 0.5526 GB, free: 8.746 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.511e-05/0.4715, allocations: 54.38 kB / 0.5527 GB, free: 8.746 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003324/0.4718, allocations: 146.8 kB / 0.5528 GB, free: 8.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.472, allocations: 188.7 kB / 0.553 GB, free: 8.566 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003143/0.4723, allocations: 252.9 kB / 0.5532 GB, free: 8.414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.4734, allocations: 0.7917 MB / 0.554 GB, free: 7.863 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.4734, allocations: 3.984 kB / 0.554 GB, free: 7.859 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4734, allocations: 4.969 kB / 0.554 GB, free: 7.855 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.4734, allocations: 0 / 0.554 GB, free: 7.855 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001845/0.4753, allocations: 0.8574 MB / 0.5549 GB, free: 7.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.4753, allocations: 12.86 kB / 0.5549 GB, free: 7.176 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.4755, allocations: 66.95 kB / 0.5549 GB, free: 7.141 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.4765, allocations: 476.1 kB / 0.5554 GB, free: 6.766 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/0.4765, allocations: 30.81 kB / 0.5554 GB, free: 6.754 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.4766, allocations: 48.91 kB / 0.5555 GB, free: 6.734 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009137/0.4776, allocations: 0.5515 MB / 0.556 GB, free: 6.191 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.4776, allocations: 3.938 kB / 0.556 GB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.049e-05/0.4776, allocations: 20 kB / 0.556 GB, free: 6.168 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-05/0.4777, allocations: 16.98 kB / 0.556 GB, free: 6.152 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005841/0.4783, allocations: 335.7 kB / 0.5564 GB, free: 5.824 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002726/0.481, allocations: 1.815 MB / 0.5581 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004742/0.4815, allocations: 225.9 kB / 0.5583 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.4816, allocations: 82.95 kB / 0.5584 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/0.4817, allocations: 7.953 kB / 0.5584 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000295/0.482, allocations: 168.6 kB / 0.5586 GB, free: 3.391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.224e-06/0.482, allocations: 0 / 0.5586 GB, free: 3.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.001883/0.4839, allocations: 0.8655 MB / 0.5594 GB, free: 2.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.484, allocations: 140.4 kB / 0.5596 GB, free: 2.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005274/0.4845, allocations: 421.8 kB / 0.56 GB, free: 1.902 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.4845, allocations: 29.7 kB / 0.56 GB, free: 1.867 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/0.4848, allocations: 304.1 kB / 0.5603 GB, free: 1.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.582e-05/0.4849, allocations: 91.27 kB / 0.5604 GB, free: 1.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.485, allocations: 78.08 kB / 0.5605 GB, free: 1.391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002672/0.4853, allocations: 359 kB / 0.5608 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.4854, allocations: 88.83 kB / 0.5609 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/0.4857, allocations: 243.2 kB / 0.5611 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004619/0.4862, allocations: 321 kB / 0.5614 GB, free: 276 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4862, allocations: 7.938 kB / 0.5614 GB, free: 268 kB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009374/0.4871, allocations: 441.7 kB / 0.5619 GB, free: 15.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.4872, allocations: 4 kB / 0.5619 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.4872, allocations: 4.562 kB / 0.5619 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004136/0.4876, allocations: 100.8 kB / 0.562 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.4878, allocations: 67.91 kB / 0.562 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/0.4901, allocations: 1.698 MB / 0.5637 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002868/0.4904, allocations: 16 kB / 0.5637 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-05/0.4904, allocations: 19.98 kB / 0.5637 GB, free: 13.8 MB / 414.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: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003231/0.4908, allocations: 209.7 kB / 0.5639 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.493e-05/0.4908, allocations: 43.78 kB / 0.564 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000631/0.4915, allocations: 284.3 kB / 0.5642 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.4915, allocations: 7.938 kB / 0.5642 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.4915, allocations: 8 kB / 0.5642 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4915, allocations: 0 / 0.5642 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.4928, allocations: 0.6548 MB / 0.5649 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4928, allocations: 0 / 0.5649 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/0.493, allocations: 51.91 kB / 0.5649 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002187/0.4933, allocations: 48.81 kB / 0.565 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/0.4933, allocations: 8 kB / 0.565 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/0.4948, allocations: 1.405 MB / 0.5664 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4949, allocations: 4.031 kB / 0.5664 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008342/0.4957, allocations: 489.3 kB / 0.5668 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.4958, allocations: 55.75 kB / 0.5669 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.604e-05/0.4959, allocations: 8 kB / 0.5669 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.4961, allocations: 11.98 kB / 0.5669 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.032e-05/0.4962, allocations: 24.05 kB / 0.5669 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/0.4962, allocations: 15.97 kB / 0.5669 GB, free: 10.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003958/0.4966, allocations: 283.1 kB / 0.5672 GB, free: 10.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4966, allocations: 0 / 0.5672 GB, free: 10.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006543/0.4973, allocations: 131.9 kB / 0.5673 GB, free: 9.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcm_par.rotor.phi,dcm_par.rotor.w,dcm_par.motor.i,dcm_par.motor.i_f,tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001769/0.4991, allocations: 487.6 kB / 0.5678 GB, free: 9.613 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009209/0.5, allocations: 393.9 kB / 0.5682 GB, free: 9.219 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5, allocations: 0 / 0.5682 GB, free: 9.219 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000417/0.5004, allocations: 230.4 kB / 0.5684 GB, free: 8.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007455/0.5011, allocations: 128.2 kB / 0.5685 GB, free: 8.871 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.5034, allocations: 1.199 MB / 0.5697 GB, free: 7.637 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.5037, allocations: 281.7 kB / 0.57 GB, free: 7.336 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002358/0.504, allocations: 67.34 kB / 0.57 GB, free: 7.266 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.296e-05/0.5041, allocations: 39.42 kB / 0.5701 GB, free: 7.23 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5041, allocations: 0 / 0.5701 GB, free: 7.23 MB / 414.1 MB Notification: Performance of Templates: time 0.015/0.5191, allocations: 7.178 MB / 0.5771 GB, free: 168 kB / 414.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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.742262536659837]