Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.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.002115/0.002115, allocations: 112 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.00142/0.00142, allocations: 187.8 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.449/1.449, 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.1837/0.1837, 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.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier")
translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 67.88 kB / 484.6 MB, free: 11.13 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3139, allocations: 61.29 MB / 0.533 GB, free: 5.562 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.007234/0.3212, allocations: 6.95 MB / 0.5398 GB, free: 436 kB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004609/0.3258, allocations: 2.177 MB / 0.542 GB, free: 14.68 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0007604/0.3265, allocations: 35.31 kB / 0.542 GB, free: 14.66 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001745/0.3283, allocations: 0.5393 MB / 0.5425 GB, free: 14.24 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001613/0.3299, allocations: 0.5531 MB / 0.5431 GB, free: 13.81 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.331, allocations: 369.1 kB / 0.5434 GB, free: 13.54 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001672/0.3327, allocations: 1.309 MB / 0.5447 GB, free: 12.79 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0007893/0.3335, allocations: 0.4967 MB / 0.5452 GB, free: 12.45 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.3345, allocations: 0.559 MB / 0.5457 GB, free: 12.13 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.00123/0.3357, allocations: 0.7355 MB / 0.5464 GB, free: 11.69 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001897/0.3359, allocations: 99.91 kB / 0.5465 GB, free: 11.69 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.3371, allocations: 0.5444 MB / 0.5471 GB, free: 11.45 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0005507/0.3376, allocations: 476.1 kB / 0.5475 GB, free: 11.14 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0007157/0.3384, allocations: 0.5205 MB / 0.548 GB, free: 10.79 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001894/0.3403, allocations: 1.46 MB / 0.5495 GB, free: 9.793 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3403, allocations: 0 / 0.5495 GB, free: 9.793 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.212e-06/0.3403, allocations: 0 / 0.5495 GB, free: 9.793 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.493e-05/0.3403, allocations: 0 / 0.5495 GB, free: 9.793 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: 223
 * Number of variables: 223
Notification: Performance of Generate backend data structure: time 0.003222/0.3435, allocations: 1.304 MB / 0.5507 GB, free: 8.879 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3435, allocations: 9.531 kB / 0.5507 GB, free: 8.879 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008545/0.3444, allocations: 143.6 kB / 0.5509 GB, free: 8.812 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.3459, allocations: 0.6209 MB / 0.5515 GB, free: 8.371 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002496/0.3461, allocations: 176 kB / 0.5516 GB, free: 8.23 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002296/0.3464, allocations: 98.97 kB / 0.5517 GB, free: 8.191 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00247/0.3488, allocations: 1.356 MB / 0.5531 GB, free: 7.336 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.3489, allocations: 6.438 kB / 0.5531 GB, free: 7.332 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.349, allocations: 39.97 kB / 0.5531 GB, free: 7.301 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001665/0.3491, allocations: 62.09 kB / 0.5532 GB, free: 7.285 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002528/0.3517, allocations: 1.298 MB / 0.5544 GB, free: 6.039 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007747/0.3594, allocations: 4.836 MB / 0.5592 GB, free: 1.043 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.00229/0.3617, allocations: 1.015 MB / 0.5602 GB, free: 12 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/0.3629, allocations: 0.5736 MB / 0.5607 GB, free: 15.43 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.912e-05/0.3629, allocations: 16.64 kB / 0.5607 GB, free: 15.41 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.363, allocations: 43.22 kB / 0.5608 GB, free: 15.36 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=72): time 2.545e-06/0.363, allocations: 0 / 0.5608 GB, free: 15.36 MB / 414.1 MB
Notification: Performance of matching and sorting (n=73): time 0.006476/0.3695, allocations: 2.972 MB / 0.5637 GB, free: 12.35 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/0.3695, allocations: 85.77 kB / 0.5638 GB, free: 12.25 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005931/0.3701, allocations: 465.9 kB / 0.5642 GB, free: 11.79 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.687e-05/0.3702, allocations: 33.7 kB / 0.5642 GB, free: 11.75 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003517/0.3705, allocations: 416.3 kB / 0.5646 GB, free: 11.33 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0003078/0.3708, allocations: 265.7 kB / 0.5649 GB, free: 11.07 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002773/0.3711, allocations: 146.6 kB / 0.565 GB, free: 10.92 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002148/0.3713, allocations: 378.8 kB / 0.5654 GB, free: 10.54 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009676/0.3723, allocations: 0.4899 MB / 0.5659 GB, free: 10.05 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.3734, allocations: 0.6911 MB / 0.5665 GB, free: 9.289 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002132/0.3755, allocations: 1.213 MB / 0.5677 GB, free: 8 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.3755, allocations: 11.81 kB / 0.5677 GB, free: 7.988 MB / 414.1 MB
Notification: Performance of matching and sorting (n=105) (initialization): time 0.004824/0.3804, allocations: 1.891 MB / 0.5696 GB, free: 6.082 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.3804, allocations: 4 kB / 0.5696 GB, free: 6.078 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0041/0.3845, allocations: 1.631 MB / 0.5712 GB, free: 4.438 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0019/0.3864, allocations: 0.6573 MB / 0.5718 GB, free: 3.773 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006344/0.387, allocations: 155.7 kB / 0.572 GB, free: 3.621 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01256/0.3996, allocations: 7.215 MB / 0.579 GB, free: 12.19 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008967/0.4005, allocations: 76 kB / 0.5791 GB, free: 12.11 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.091e-05/0.4006, allocations: 35.98 kB / 0.5791 GB, free: 12.08 MB / 430.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 25
 * 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 (76):
 * Single equations (assignments): 73
 * Array equations: 1
 * 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): 1 system
   {(1,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(4,16)}
Notification: Performance of prepare postOptimizeDAE: time 0.0005637/0.4011, allocations: 305.5 kB / 0.5794 GB, free: 11.77 MB / 430.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.4013, allocations: 63.62 kB / 0.5795 GB, free: 11.71 MB / 430.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002482/0.4038, allocations: 1.222 MB / 0.5807 GB, free: 10.47 MB / 430.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/0.4038, allocations: 15.94 kB / 0.5807 GB, free: 10.46 MB / 430.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4038, allocations: 4 kB / 0.5807 GB, free: 10.45 MB / 430.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.4038, allocations: 3.984 kB / 0.5807 GB, free: 10.45 MB / 430.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004528/0.4083, allocations: 2.294 MB / 0.5829 GB, free: 8.094 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.035e-05/0.4083, allocations: 11.92 kB / 0.5829 GB, free: 8.082 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002878/0.4112, allocations: 491.4 kB / 0.5834 GB, free: 7.602 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001738/0.4114, allocations: 36.78 kB / 0.5834 GB, free: 7.562 MB / 430.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.758e-05/0.4115, allocations: 23.98 kB / 0.5835 GB, free: 7.539 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/0.413, allocations: 1.527 MB / 0.585 GB, free: 5.898 MB / 430.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/0.413, allocations: 8.016 kB / 0.585 GB, free: 5.891 MB / 430.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003734/0.4168, allocations: 1.935 MB / 0.5869 GB, free: 3.926 MB / 430.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002767/0.4171, allocations: 59.52 kB / 0.5869 GB, free: 3.867 MB / 430.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.4172, allocations: 20 kB / 0.5869 GB, free: 3.848 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005683/0.4177, allocations: 63.91 kB / 0.587 GB, free: 3.785 MB / 430.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/0.4179, allocations: 68.53 kB / 0.5871 GB, free: 3.719 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.612e-05/0.418, allocations: 20 kB / 0.5871 GB, free: 3.699 MB / 430.1 MB
Notification: Performance of sorting global known variables: time 0.0004173/0.4184, allocations: 322.8 kB / 0.5874 GB, free: 3.387 MB / 430.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.4184, allocations: 0 / 0.5874 GB, free: 3.387 MB / 430.1 MB
Notification: Performance of remove unused functions: time 0.001097/0.4195, allocations: 228 kB / 0.5876 GB, free: 3.164 MB / 430.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 5
 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav)
 * 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 (67):
 * Single equations (assignments): 64
 * Array equations: 1
 * 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,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002912/0.4198, allocations: 139.1 kB / 0.5877 GB, free: 3.016 MB / 430.1 MB
Notification: Performance of simCode: created initialization part: time 0.003121/0.4229, allocations: 1.505 MB / 0.5892 GB, free: 1.484 MB / 430.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4229, allocations: 3.938 kB / 0.5892 GB, free: 1.48 MB / 430.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002891/0.4258, allocations: 0.9671 MB / 0.5902 GB, free: 0.5 MB / 430.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009649/0.4268, allocations: 158.9 kB / 0.5903 GB, free: 360 kB / 430.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004811/0.4316, allocations: 2.298 MB / 0.5925 GB, free: 14.01 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008669/0.4324, allocations: 1.083 MB / 0.5936 GB, free: 12.9 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.0006382/0.4331, allocations: 217.5 kB / 0.5938 GB, free: 12.68 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.4333, allocations: 51.42 kB / 0.5939 GB, free: 12.64 MB / 446.1 MB
Notification: Performance of SimCode: time 1.242e-06/0.4333, allocations: 0 / 0.5939 GB, free: 12.64 MB / 446.1 MB
Notification: Performance of Templates: time 0.02768/0.461, allocations: 14.46 MB / 0.608 GB, free: 14.26 MB / 462.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile [Timeout 660]
(rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) [Timeout 480]
diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Rectifier.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.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.799843064509332]