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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 182.9 kB / 23.71 MB, free: 4.695 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2083/0.2083, allocations: 38.54 MB / 346.3 MB, free: 2.125 MB / 270.1 MB
"
[Timeout remaining time 180]
Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002046/0.002046, allocations: 71.88 kB / 484.5 MB, free: 11.15 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3625, allocations: 61.29 MB / 0.533 GB, free: 5.582 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.006216/0.3687, allocations: 4.967 MB / 0.5379 GB, free: 2.027 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002017/0.3707, allocations: 1.499 MB / 0.5393 GB, free: 0.8164 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002842/0.371, allocations: 22.81 kB / 0.5394 GB, free: 0.8047 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003834/0.3714, allocations: 111.8 kB / 0.5395 GB, free: 0.7148 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0006158/0.372, allocations: 270.6 kB / 0.5397 GB, free: 0.5 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.3723, allocations: 144.3 kB / 0.5399 GB, free: 388 kB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0007575/0.3731, allocations: 0.5878 MB / 0.5404 GB, free: 36 kB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004905/0.3736, allocations: 290.8 kB / 0.5407 GB, free: 15.84 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004183/0.374, allocations: 245.7 kB / 0.541 GB, free: 15.7 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004111/0.3744, allocations: 253.3 kB / 0.5412 GB, free: 15.54 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.744e-05/0.3745, allocations: 39.16 kB / 0.5412 GB, free: 15.54 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.001e-05/0.3745, allocations: 41.16 kB / 0.5413 GB, free: 15.54 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.3747, allocations: 120.9 kB / 0.5414 GB, free: 15.45 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002622/0.375, allocations: 221.1 kB / 0.5416 GB, free: 15.3 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000729/0.3757, allocations: 0.5044 MB / 0.5421 GB, free: 14.94 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.3757, allocations: 0 / 0.5421 GB, free: 14.94 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.763e-06/0.3757, allocations: 3.938 kB / 0.5421 GB, free: 14.94 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 8.626e-06/0.3757, allocations: 0 / 0.5421 GB, free: 14.94 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: 85
 * Number of variables: 85
Notification: Performance of Generate backend data structure: time 0.001442/0.3772, allocations: 0.6463 MB / 0.5427 GB, free: 14.41 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.3772, allocations: 9.594 kB / 0.5427 GB, free: 14.41 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.3773, allocations: 47.06 kB / 0.5428 GB, free: 14.39 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000711/0.378, allocations: 350.5 kB / 0.5431 GB, free: 14.1 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.3781, allocations: 63.83 kB / 0.5432 GB, free: 14.05 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-05/0.3782, allocations: 43.45 kB / 0.5432 GB, free: 14.03 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008338/0.3791, allocations: 428.6 kB / 0.5436 GB, free: 13.73 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.3791, allocations: 5.25 kB / 0.5436 GB, free: 13.72 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.299e-05/0.3791, allocations: 20.31 kB / 0.5437 GB, free: 13.71 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.3791, allocations: 8.719 kB / 0.5437 GB, free: 13.71 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000586/0.3797, allocations: 274 kB / 0.5439 GB, free: 13.57 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002597/0.3823, allocations: 1.772 MB / 0.5457 GB, free: 11.97 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003985/0.3827, allocations: 173.3 kB / 0.5458 GB, free: 11.84 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.3829, allocations: 74.45 kB / 0.5459 GB, free: 11.78 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.3829, allocations: 2.281 kB / 0.5459 GB, free: 11.78 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.716e-05/0.383, allocations: 32.88 kB / 0.5459 GB, free: 11.74 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=18): time 2.264e-06/0.383, allocations: 0 / 0.5459 GB, free: 11.74 MB / 398.1 MB
Notification: Performance of matching and sorting (n=19): time 0.001583/0.3845, allocations: 0.6499 MB / 0.5466 GB, free: 11.27 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.858e-05/0.3846, allocations: 109.1 kB / 0.5467 GB, free: 11.14 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004114/0.385, allocations: 309.9 kB / 0.547 GB, free: 10.94 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.3851, allocations: 34.73 kB / 0.547 GB, free: 10.9 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.3853, allocations: 247.4 kB / 0.5472 GB, free: 10.68 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.539e-05/0.3854, allocations: 75.92 kB / 0.5473 GB, free: 10.61 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.3855, allocations: 66.17 kB / 0.5474 GB, free: 10.56 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001987/0.3857, allocations: 346.7 kB / 0.5477 GB, free: 10.22 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.3859, allocations: 73.67 kB / 0.5478 GB, free: 10.19 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003281/0.3862, allocations: 196.6 kB / 0.5479 GB, free: 9.988 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004929/0.3867, allocations: 291.6 kB / 0.5482 GB, free: 9.734 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.3867, allocations: 5.062 kB / 0.5482 GB, free: 9.73 MB / 398.1 MB
Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006755/0.3874, allocations: 324 kB / 0.5485 GB, free: 9.559 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.3874, allocations: 11 kB / 0.5486 GB, free: 9.555 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.3874, allocations: 8.453 kB / 0.5486 GB, free: 9.551 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 3.116e-05/0.3874, allocations: 6.75 kB / 0.5486 GB, free: 9.551 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/0.3878, allocations: 75.12 kB / 0.5486 GB, free: 9.535 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-05/0.3878, allocations: 9.562 kB / 0.5486 GB, free: 9.531 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.388, allocations: 22.88 kB / 0.5487 GB, free: 9.516 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.388, allocations: 12.59 kB / 0.5487 GB, free: 9.516 MB / 398.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.0002465/0.3883, allocations: 174.8 kB / 0.5488 GB, free: 9.363 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.538e-05/0.3884, allocations: 34.28 kB / 0.5489 GB, free: 9.344 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004566/0.3888, allocations: 201.9 kB / 0.5491 GB, free: 9.215 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.3888, allocations: 2.406 kB / 0.5491 GB, free: 9.215 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.3888, allocations: 5.109 kB / 0.5491 GB, free: 9.211 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3888, allocations: 1.188 kB / 0.5491 GB, free: 9.211 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.39, allocations: 0.584 MB / 0.5497 GB, free: 8.73 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.39, allocations: 1.094 kB / 0.5497 GB, free: 8.73 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.3903, allocations: 44.02 kB / 0.5497 GB, free: 8.719 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.3903, allocations: 6.188 kB / 0.5497 GB, free: 8.715 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.3903, allocations: 2.188 kB / 0.5497 GB, free: 8.715 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3903, allocations: 2.281 kB / 0.5497 GB, free: 8.715 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3903, allocations: 1 kB / 0.5497 GB, free: 8.715 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006874/0.391, allocations: 453.5 kB / 0.5501 GB, free: 8.371 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.497e-05/0.3911, allocations: 31.72 kB / 0.5502 GB, free: 8.348 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/0.3911, allocations: 6.75 kB / 0.5502 GB, free: 8.344 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.3913, allocations: 11.91 kB / 0.5502 GB, free: 8.336 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/0.3914, allocations: 12.38 kB / 0.5502 GB, free: 8.328 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.3914, allocations: 13.34 kB / 0.5502 GB, free: 8.32 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0002573/0.3916, allocations: 217.2 kB / 0.5504 GB, free: 8.176 MB / 398.1 MB
Notification: Performance of sort global known variables: time 1.01e-07/0.3916, allocations: 0 / 0.5504 GB, free: 8.176 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0004711/0.3921, allocations: 73.75 kB / 0.5505 GB, free: 8.164 MB / 398.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.0001417/0.3922, allocations: 106.5 kB / 0.5506 GB, free: 8.062 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004662/0.3927, allocations: 200.1 kB / 0.5508 GB, free: 7.973 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3927, allocations: 0 / 0.5508 GB, free: 7.973 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.3929, allocations: 84.28 kB / 0.5509 GB, free: 7.934 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006931/0.3936, allocations: 92.31 kB / 0.5509 GB, free: 7.891 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.3954, allocations: 0.8993 MB / 0.5518 GB, free: 7.246 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005832/0.396, allocations: 0.821 MB / 0.5526 GB, free: 6.48 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0001977/0.3962, allocations: 54.59 kB / 0.5527 GB, free: 6.453 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.301e-05/0.3962, allocations: 25.22 kB / 0.5527 GB, free: 6.445 MB / 398.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.3962, allocations: 1.25 kB / 0.5527 GB, free: 6.445 MB / 398.1 MB
Notification: Performance of Templates: time 0.009063/0.4053, allocations: 3.675 MB / 0.5563 GB, free: 3.734 MB / 398.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: 5.109206514433026]