Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.001578/0.001578, allocations: 109.5 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.001332/0.001332, allocations: 190.2 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.477/1.477, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.1786/0.1786, allocations: 38.54 MB / 346.3 MB, free: 2.137 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.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD")
translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 63.91 kB / 484.5 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4324/0.4346, allocations: 61.29 MB / 0.533 GB, free: 5.562 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.005754/0.4404, allocations: 4.705 MB / 0.5376 GB, free: 2.184 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002207/0.4426, allocations: 1.59 MB / 0.5392 GB, free: 0.9219 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001977/0.4428, allocations: 17.5 kB / 0.5392 GB, free: 0.9141 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0008464/0.4436, allocations: 297.8 kB / 0.5395 GB, free: 0.6836 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005141/0.4442, allocations: 274.2 kB / 0.5397 GB, free: 476 kB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0006308/0.4448, allocations: 255.5 kB / 0.54 GB, free: 292 kB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005944/0.4454, allocations: 0.6125 MB / 0.5406 GB, free: 15.94 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003687/0.4458, allocations: 178.8 kB / 0.5408 GB, free: 15.83 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004338/0.4462, allocations: 274.6 kB / 0.541 GB, free: 15.68 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005843/0.4468, allocations: 359.8 kB / 0.5414 GB, free: 15.46 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.849e-05/0.4468, allocations: 34.97 kB / 0.5414 GB, free: 15.46 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003689/0.4472, allocations: 150.9 kB / 0.5415 GB, free: 15.4 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002591/0.4475, allocations: 225.9 kB / 0.5418 GB, free: 15.26 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003037/0.4478, allocations: 253.1 kB / 0.542 GB, free: 15.09 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0009559/0.4487, allocations: 0.607 MB / 0.5426 GB, free: 14.69 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4487, allocations: 0 / 0.5426 GB, free: 14.69 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.453e-06/0.4487, allocations: 0 / 0.5426 GB, free: 14.69 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.193e-05/0.4487, allocations: 3.938 kB / 0.5426 GB, free: 14.69 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: 114
 * Number of variables: 114
Notification: Performance of Generate backend data structure: time 0.001603/0.4504, allocations: 0.6982 MB / 0.5433 GB, free: 14.12 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.4504, allocations: 13.91 kB / 0.5433 GB, free: 14.12 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006796/0.4511, allocations: 94.73 kB / 0.5434 GB, free: 14.07 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007361/0.4518, allocations: 351.6 kB / 0.5437 GB, free: 13.8 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.4518, allocations: 33.45 kB / 0.5437 GB, free: 13.78 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.452, allocations: 55.52 kB / 0.5438 GB, free: 13.76 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.453, allocations: 0.6582 MB / 0.5444 GB, free: 13.29 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.4531, allocations: 5.766 kB / 0.5444 GB, free: 13.29 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-05/0.4531, allocations: 24.89 kB / 0.5445 GB, free: 13.27 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001583/0.4533, allocations: 47.72 kB / 0.5445 GB, free: 13.25 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008906/0.4542, allocations: 491.9 kB / 0.545 GB, free: 13.03 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003925/0.4581, allocations: 3.081 MB / 0.548 GB, free: 10.3 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004824/0.4586, allocations: 233.6 kB / 0.5482 GB, free: 10.16 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.4588, allocations: 109.8 kB / 0.5483 GB, free: 10.1 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.093e-05/0.4588, allocations: 15.53 kB / 0.5483 GB, free: 10.09 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.4588, allocations: 35.88 kB / 0.5484 GB, free: 10.04 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=23): time 3.116e-06/0.4588, allocations: 0 / 0.5484 GB, free: 10.04 MB / 398.1 MB
Notification: Performance of matching and sorting (n=24): time 0.001647/0.4605, allocations: 0.829 MB / 0.5492 GB, free: 9.5 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/0.4606, allocations: 79.36 kB / 0.5493 GB, free: 9.406 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004632/0.461, allocations: 330 kB / 0.5496 GB, free: 9.199 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.36e-05/0.4611, allocations: 30.92 kB / 0.5496 GB, free: 9.164 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002308/0.4613, allocations: 297.4 kB / 0.5499 GB, free: 8.898 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.87e-05/0.4614, allocations: 91.7 kB / 0.55 GB, free: 8.82 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.4615, allocations: 93.81 kB / 0.5501 GB, free: 8.758 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001896/0.4617, allocations: 351.9 kB / 0.5504 GB, free: 8.414 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.4619, allocations: 131 kB / 0.5505 GB, free: 8.352 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003795/0.4623, allocations: 327.3 kB / 0.5508 GB, free: 8.031 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006591/0.4629, allocations: 0.4896 MB / 0.5513 GB, free: 7.621 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.463, allocations: 2.438 kB / 0.5513 GB, free: 7.621 MB / 398.1 MB
Notification: Performance of matching and sorting (n=54) (initialization): time 0.00122/0.4642, allocations: 0.587 MB / 0.5519 GB, free: 7.301 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.4642, allocations: 8.156 kB / 0.5519 GB, free: 7.301 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006572/0.4648, allocations: 339.2 kB / 0.5522 GB, free: 7.121 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0004581/0.4653, allocations: 113.5 kB / 0.5523 GB, free: 7.062 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.4656, allocations: 90.61 kB / 0.5524 GB, free: 7.039 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003174/0.4688, allocations: 3.074 MB / 0.5554 GB, free: 4.133 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003325/0.4691, allocations: 21.83 kB / 0.5554 GB, free: 4.121 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/0.4692, allocations: 25.62 kB / 0.5555 GB, free: 4.113 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 29
 * 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 (48):
 * Single equations (assignments): 46
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,3,100.0%), (1,3,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0003249/0.4695, allocations: 214.8 kB / 0.5557 GB, free: 3.938 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.032e-05/0.4696, allocations: 35.27 kB / 0.5557 GB, free: 3.918 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005649/0.4701, allocations: 317.8 kB / 0.556 GB, free: 3.73 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.4701, allocations: 5.906 kB / 0.556 GB, free: 3.727 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4701, allocations: 7.875 kB / 0.556 GB, free: 3.719 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.4701, allocations: 7.984 kB / 0.556 GB, free: 3.711 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.4714, allocations: 0.7747 MB / 0.5568 GB, free: 2.883 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4714, allocations: 0 / 0.5568 GB, free: 2.883 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003571/0.4717, allocations: 55.97 kB / 0.5568 GB, free: 2.828 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.4717, allocations: 7.938 kB / 0.5568 GB, free: 2.82 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.4718, allocations: 8 kB / 0.5568 GB, free: 2.812 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.4718, allocations: 7.922 kB / 0.5569 GB, free: 2.805 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.4718, allocations: 8.062 kB / 0.5569 GB, free: 2.797 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000671/0.4725, allocations: 0.4939 MB / 0.5573 GB, free: 2.277 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.4726, allocations: 51.78 kB / 0.5574 GB, free: 2.227 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.695e-05/0.4726, allocations: 11.98 kB / 0.5574 GB, free: 2.215 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.4728, allocations: 12 kB / 0.5574 GB, free: 2.203 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.4728, allocations: 19.91 kB / 0.5574 GB, free: 2.184 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.4729, allocations: 11.98 kB / 0.5574 GB, free: 2.172 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.000234/0.4731, allocations: 219.1 kB / 0.5577 GB, free: 1.957 MB / 398.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.4731, allocations: 0 / 0.5577 GB, free: 1.957 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0005382/0.4736, allocations: 100 kB / 0.5578 GB, free: 1.859 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3])
 * 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 (27):
 * Single equations (assignments): 26
 * 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.0001249/0.4738, allocations: 103.2 kB / 0.5579 GB, free: 1.746 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0009827/0.4747, allocations: 0.5615 MB / 0.5584 GB, free: 1.16 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4747, allocations: 3.938 kB / 0.5584 GB, free: 1.156 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.4749, allocations: 124.4 kB / 0.5585 GB, free: 1.035 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005213/0.4755, allocations: 66.62 kB / 0.5586 GB, free: 0.9766 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.4772, allocations: 1.024 MB / 0.5596 GB, free: 15.91 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005747/0.4778, allocations: 0.8621 MB / 0.5604 GB, free: 15.02 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0003317/0.4781, allocations: 115.1 kB / 0.5605 GB, free: 14.91 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.658e-05/0.4782, allocations: 31.44 kB / 0.5606 GB, free: 14.88 MB / 414.1 MB
Notification: Performance of SimCode: time 7.41e-07/0.4782, allocations: 4 kB / 0.5606 GB, free: 14.88 MB / 414.1 MB
Notification: Performance of Templates: time 0.01043/0.4886, allocations: 4.228 MB / 0.5647 GB, free: 10.68 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile [Timeout 660]
(rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) [Timeout 480]
diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.2481778701767325]