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.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.001366/0.001366, allocations: 112.2 kB / 20.43 MB, free: 1.449 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.001409/0.001409, allocations: 189.6 kB / 23.72 MB, free: 4.68 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.472/1.472, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.1855/0.1855, allocations: 38.55 MB / 346.3 MB, free: 2.168 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.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 0.00205/0.00205, allocations: 67.88 kB / 484.5 MB, free: 11.18 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3367, allocations: 61.29 MB / 0.533 GB, free: 5.594 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.006349/0.3431, allocations: 4.681 MB / 0.5376 GB, free: 2.262 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002127/0.3452, allocations: 1.514 MB / 0.5391 GB, free: 1.043 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002856/0.3455, allocations: 25.81 kB / 0.5391 GB, free: 1.027 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004769/0.3459, allocations: 117.6 kB / 0.5392 GB, free: 0.9336 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0006618/0.3466, allocations: 288.5 kB / 0.5395 GB, free: 0.707 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.3469, allocations: 109.3 kB / 0.5396 GB, free: 0.6172 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000685/0.3476, allocations: 0.504 MB / 0.5401 GB, free: 336 kB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.3478, allocations: 107 kB / 0.5402 GB, free: 272 kB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002892/0.3481, allocations: 205.8 kB / 0.5404 GB, free: 156 kB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003234/0.3484, allocations: 219 kB / 0.5406 GB, free: 20 kB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.682e-05/0.3484, allocations: 25.44 kB / 0.5406 GB, free: 20 kB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 7.547e-05/0.3485, allocations: 26.94 kB / 0.5407 GB, free: 20 kB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.3487, allocations: 107.4 kB / 0.5408 GB, free: 15.94 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002395/0.349, allocations: 181.2 kB / 0.5409 GB, free: 15.82 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005891/0.3495, allocations: 383.4 kB / 0.5413 GB, free: 15.56 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.3496, allocations: 1.062 kB / 0.5413 GB, free: 15.56 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.693e-06/0.3496, allocations: 0 / 0.5413 GB, free: 15.56 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 8.947e-06/0.3496, allocations: 0 / 0.5413 GB, free: 15.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.001256/0.3508, allocations: 0.6017 MB / 0.5419 GB, free: 15.05 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3509, allocations: 8.938 kB / 0.5419 GB, free: 15.05 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.959e-05/0.351, allocations: 44.88 kB / 0.5419 GB, free: 15.03 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000701/0.3517, allocations: 336.3 kB / 0.5423 GB, free: 14.76 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.3517, allocations: 23.09 kB / 0.5423 GB, free: 14.75 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.385e-05/0.3518, allocations: 30.83 kB / 0.5423 GB, free: 14.73 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005755/0.3523, allocations: 337.5 kB / 0.5426 GB, free: 14.48 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.3523, allocations: 6.328 kB / 0.5426 GB, free: 14.47 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.3524, allocations: 10.66 kB / 0.5426 GB, free: 14.46 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.3524, allocations: 10.78 kB / 0.5427 GB, free: 14.46 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003856/0.3528, allocations: 211.3 kB / 0.5429 GB, free: 14.35 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.3546, allocations: 1.438 MB / 0.5443 GB, free: 13.02 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000421/0.355, allocations: 194.3 kB / 0.5444 GB, free: 12.86 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.3552, allocations: 68.92 kB / 0.5445 GB, free: 12.81 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.3552, allocations: 6.266 kB / 0.5445 GB, free: 12.8 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.3552, allocations: 37.84 kB / 0.5446 GB, free: 12.76 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.3552, allocations: 0 / 0.5446 GB, free: 12.76 MB / 398.1 MB
Notification: Performance of matching and sorting (n=18): time 0.001227/0.3564, allocations: 0.6275 MB / 0.5452 GB, free: 12.3 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.3565, allocations: 131.6 kB / 0.5453 GB, free: 12.14 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003436/0.3569, allocations: 327.5 kB / 0.5456 GB, free: 11.92 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.3569, allocations: 29.7 kB / 0.5456 GB, free: 11.89 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.3571, allocations: 219 kB / 0.5458 GB, free: 11.69 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.26e-05/0.3571, allocations: 62.75 kB / 0.5459 GB, free: 11.63 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.392e-05/0.3572, allocations: 64.22 kB / 0.546 GB, free: 11.58 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001628/0.3574, allocations: 342.2 kB / 0.5463 GB, free: 11.25 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.3575, allocations: 50.81 kB / 0.5463 GB, free: 11.22 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.3577, allocations: 153 kB / 0.5465 GB, free: 11.06 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/0.358, allocations: 216.4 kB / 0.5467 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.358, allocations: 1.094 kB / 0.5467 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004079/0.3584, allocations: 259.1 kB / 0.5469 GB, free: 10.73 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.3584, allocations: 6.688 kB / 0.5469 GB, free: 10.73 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.3584, allocations: 3.625 kB / 0.547 GB, free: 10.73 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.3584, allocations: 8.312 kB / 0.547 GB, free: 10.73 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.3588, allocations: 78.39 kB / 0.547 GB, free: 10.71 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.3599, allocations: 1.269 MB / 0.5483 GB, free: 9.379 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.3601, allocations: 12.27 kB / 0.5483 GB, free: 9.371 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.3601, allocations: 17.88 kB / 0.5483 GB, free: 9.363 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.0002288/0.3603, allocations: 176.1 kB / 0.5485 GB, free: 9.203 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-05/0.3604, allocations: 35.8 kB / 0.5485 GB, free: 9.184 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000344/0.3608, allocations: 185.2 kB / 0.5487 GB, free: 9.07 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.3608, allocations: 2.656 kB / 0.5487 GB, free: 9.07 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.3608, allocations: 1.312 kB / 0.5487 GB, free: 9.07 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3608, allocations: 1.219 kB / 0.5487 GB, free: 9.07 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008728/0.3617, allocations: 0.5093 MB / 0.5492 GB, free: 8.641 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.3617, allocations: 5.078 kB / 0.5492 GB, free: 8.637 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002446/0.3619, allocations: 52.8 kB / 0.5492 GB, free: 8.617 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3619, allocations: 1.5 kB / 0.5492 GB, free: 8.617 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.3619, allocations: 6.906 kB / 0.5492 GB, free: 8.613 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.3619, allocations: 2.062 kB / 0.5492 GB, free: 8.613 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3619, allocations: 0.9062 kB / 0.5492 GB, free: 8.613 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006127/0.3626, allocations: 0.4963 MB / 0.5497 GB, free: 8.207 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.265e-05/0.3626, allocations: 33.03 kB / 0.5498 GB, free: 8.184 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/0.3627, allocations: 6.562 kB / 0.5498 GB, free: 8.18 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.3629, allocations: 5.062 kB / 0.5498 GB, free: 8.176 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.3629, allocations: 13.42 kB / 0.5498 GB, free: 8.168 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.3629, allocations: 12.53 kB / 0.5498 GB, free: 8.16 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0002669/0.3632, allocations: 222.3 kB / 0.55 GB, free: 8.016 MB / 398.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3632, allocations: 0 / 0.55 GB, free: 8.016 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.000451/0.3636, allocations: 60.97 kB / 0.5501 GB, free: 8.008 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.0001207/0.3638, allocations: 101.1 kB / 0.5502 GB, free: 7.91 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004192/0.3642, allocations: 155.6 kB / 0.5503 GB, free: 7.844 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3642, allocations: 0 / 0.5503 GB, free: 7.844 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.3643, allocations: 66.31 kB / 0.5504 GB, free: 7.816 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000758/0.3651, allocations: 91.89 kB / 0.5505 GB, free: 7.77 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.3668, allocations: 0.838 MB / 0.5513 GB, free: 7.176 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/0.3673, allocations: 0.7987 MB / 0.5521 GB, free: 6.426 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0001882/0.3675, allocations: 56.36 kB / 0.5521 GB, free: 6.398 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.599e-05/0.3676, allocations: 26.19 kB / 0.5521 GB, free: 6.391 MB / 398.1 MB
Notification: Performance of SimCode: time 2.91e-07/0.3676, allocations: 0 / 0.5521 GB, free: 6.391 MB / 398.1 MB
Notification: Performance of Templates: time 0.008327/0.3759, allocations: 3.441 MB / 0.5555 GB, free: 4.496 MB / 398.1 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=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.051737033762038]