Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.001354/0.001354, 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.001351/0.001351, allocations: 189.5 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.433/1.433, allocations: 225.6 MB / 252.5 MB, free: 13 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.1911/0.1911, allocations: 38.54 MB / 346.3 MB, free: 2.098 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.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 75.89 kB / 484.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3469, allocations: 61.29 MB / 0.533 GB, free: 5.562 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006018/0.3529, allocations: 4.856 MB / 0.5378 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00219/0.3551, allocations: 1.367 MB / 0.5391 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002339/0.3553, allocations: 21.44 kB / 0.5391 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.3565, allocations: 413.1 kB / 0.5395 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000504/0.357, allocations: 245.4 kB / 0.5398 GB, free: 472 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005038/0.3575, allocations: 186.1 kB / 0.5399 GB, free: 328 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005595/0.3581, allocations: 0.5478 MB / 0.5405 GB, free: 12 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004658/0.3585, allocations: 222.2 kB / 0.5407 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003882/0.3589, allocations: 261.3 kB / 0.5409 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004542/0.3594, allocations: 297.6 kB / 0.5412 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.834e-05/0.3594, allocations: 31.5 kB / 0.5412 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003254/0.3598, allocations: 145.7 kB / 0.5414 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002265/0.36, allocations: 186.3 kB / 0.5416 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000272/0.3602, allocations: 220.5 kB / 0.5418 GB, free: 15.22 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007257/0.361, allocations: 0.5366 MB / 0.5423 GB, free: 14.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.361, allocations: 0 / 0.5423 GB, free: 14.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.361, allocations: 0 / 0.5423 GB, free: 14.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.361, allocations: 0 / 0.5423 GB, free: 14.86 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001318/0.3623, allocations: 0.6517 MB / 0.5429 GB, free: 14.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.3624, allocations: 14.06 kB / 0.5429 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007458/0.3631, allocations: 92.7 kB / 0.543 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008238/0.3639, allocations: 349.7 kB / 0.5434 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.364, allocations: 30.36 kB / 0.5434 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.3641, allocations: 48.14 kB / 0.5434 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007972/0.3649, allocations: 488.1 kB / 0.5439 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.3649, allocations: 0 / 0.5439 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.448e-05/0.3649, allocations: 19.8 kB / 0.5439 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001145/0.3651, allocations: 23.83 kB / 0.544 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005843/0.3656, allocations: 344.3 kB / 0.5443 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002541/0.3682, allocations: 1.563 MB / 0.5458 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.3686, allocations: 164.5 kB / 0.546 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.3687, allocations: 106.1 kB / 0.5461 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.3688, allocations: 6.125 kB / 0.5461 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.213e-05/0.3688, allocations: 44.69 kB / 0.5461 GB, free: 11.97 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.643e-06/0.3688, allocations: 0 / 0.5461 GB, free: 11.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.00145/0.3703, allocations: 0.7132 MB / 0.5468 GB, free: 11.49 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/0.3704, allocations: 79.52 kB / 0.5469 GB, free: 11.4 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000379/0.3707, allocations: 313.6 kB / 0.5472 GB, free: 11.19 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.3708, allocations: 30.86 kB / 0.5472 GB, free: 11.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000282/0.371, allocations: 257.6 kB / 0.5475 GB, free: 10.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.685e-05/0.3711, allocations: 81.22 kB / 0.5475 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.3712, allocations: 53.77 kB / 0.5476 GB, free: 10.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.3714, allocations: 346.1 kB / 0.5479 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.3716, allocations: 104.7 kB / 0.548 GB, free: 10.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.3718, allocations: 194.2 kB / 0.5482 GB, free: 10.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004637/0.3723, allocations: 330.6 kB / 0.5485 GB, free: 10 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3723, allocations: 1.219 kB / 0.5485 GB, free: 10 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000932/0.3732, allocations: 425.7 kB / 0.5489 GB, free: 9.766 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.3733, allocations: 6.688 kB / 0.5489 GB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005562/0.3738, allocations: 268.1 kB / 0.5492 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003792/0.3742, allocations: 80.53 kB / 0.5493 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.3745, allocations: 64.12 kB / 0.5493 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/0.3764, allocations: 1.611 MB / 0.5509 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.3767, allocations: 13.47 kB / 0.5509 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.3768, allocations: 18.92 kB / 0.5509 GB, free: 8.059 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 (34): * Single equations (assignments): 33 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002531/0.377, allocations: 184.3 kB / 0.5511 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.97e-05/0.3771, allocations: 38.09 kB / 0.5511 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005103/0.3776, allocations: 267.2 kB / 0.5514 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.3776, allocations: 7.312 kB / 0.5514 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.3776, allocations: 1.062 kB / 0.5514 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3776, allocations: 3.984 kB / 0.5514 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.379, allocations: 0.7222 MB / 0.5521 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.379, allocations: 9.328 kB / 0.5521 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.3793, allocations: 48 kB / 0.5522 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.3793, allocations: 5.109 kB / 0.5522 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.3793, allocations: 11.12 kB / 0.5522 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.3793, allocations: 6.281 kB / 0.5522 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3793, allocations: 1.281 kB / 0.5522 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006271/0.38, allocations: 452.4 kB / 0.5526 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-05/0.38, allocations: 33.08 kB / 0.5527 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.187e-05/0.3801, allocations: 11.33 kB / 0.5527 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.3803, allocations: 11.52 kB / 0.5527 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.3803, allocations: 17.34 kB / 0.5527 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.3803, allocations: 9.844 kB / 0.5527 GB, free: 6.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002623/0.3806, allocations: 214.1 kB / 0.5529 GB, free: 6.633 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3806, allocations: 4 kB / 0.5529 GB, free: 6.629 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004774/0.3811, allocations: 84.72 kB / 0.553 GB, free: 6.621 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (23): * Single equations (assignments): 22 * 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.0001487/0.3812, allocations: 102.5 kB / 0.5531 GB, free: 6.523 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007392/0.382, allocations: 363.2 kB / 0.5534 GB, free: 6.297 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.382, allocations: 6.094 kB / 0.5534 GB, free: 6.293 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.3821, allocations: 96.73 kB / 0.5535 GB, free: 6.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005424/0.3827, allocations: 75.22 kB / 0.5536 GB, free: 6.207 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.3844, allocations: 0.9145 MB / 0.5545 GB, free: 5.492 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006601/0.3851, allocations: 0.8538 MB / 0.5553 GB, free: 4.613 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001961/0.3853, allocations: 66.91 kB / 0.5554 GB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.052e-05/0.3854, allocations: 35.38 kB / 0.5554 GB, free: 4.516 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3854, allocations: 0 / 0.5554 GB, free: 4.516 MB / 398.1 MB Notification: Performance of Templates: time 0.009332/0.3947, allocations: 3.795 MB / 0.5591 GB, free: 0.7422 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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: 4.970849137753248]