Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003222/0.003222, allocations: 160.5 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8149/0.8149, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2231/0.2231, allocations: 29.41 MB / 290.9 MB, free: 2.422 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,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.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,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.Load") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.982e-05, allocations: 3.406 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.003946/0.003966, allocations: 4.37 MB / 435.8 MB, free: 8.688 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.005532, allocations: 1.468 MB / 437.3 MB, free: 7.215 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.005681, allocations: 19.81 kB / 437.3 MB, free: 7.195 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005812/0.006262, allocations: 289.6 kB / 437.6 MB, free: 6.914 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003625/0.006625, allocations: 270.4 kB / 437.9 MB, free: 6.648 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.007049, allocations: 275.1 kB / 438.1 MB, free: 6.379 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004328/0.007482, allocations: 0.6506 MB / 438.8 MB, free: 5.727 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002958/0.007778, allocations: 248.9 kB / 439 MB, free: 5.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003467/0.008125, allocations: 390.9 kB / 439.4 MB, free: 5.098 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003417/0.008466, allocations: 371.1 kB / 439.8 MB, free: 4.734 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.544e-05/0.008512, allocations: 40 kB / 439.8 MB, free: 4.695 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.0087, allocations: 163.7 kB / 440 MB, free: 4.535 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.008858, allocations: 259.3 kB / 440.2 MB, free: 4.281 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.009007, allocations: 191.5 kB / 440.4 MB, free: 4.094 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005159/0.009523, allocations: 0.6815 MB / 441.1 MB, free: 3.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.009526, allocations: 4 kB / 441.1 MB, free: 3.406 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.009527, allocations: 4 kB / 441.1 MB, free: 3.402 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.009533, allocations: 0 / 441.1 MB, free: 3.402 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001069/0.0106, allocations: 0.8262 MB / 441.9 MB, free: 2.543 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.01064, allocations: 11.98 kB / 441.9 MB, free: 2.531 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004095/0.01105, allocations: 124.5 kB / 442.1 MB, free: 2.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00057/0.01162, allocations: 436.8 kB / 442.5 MB, free: 1.957 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.01164, allocations: 37.36 kB / 442.5 MB, free: 1.922 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.692e-05/0.01174, allocations: 48.52 kB / 442.6 MB, free: 1.875 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008658/0.0126, allocations: 0.6921 MB / 443.3 MB, free: 1.117 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.01262, allocations: 7.938 kB / 443.3 MB, free: 1.109 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.01265, allocations: 23.98 kB / 443.3 MB, free: 1.086 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.988e-05/0.01271, allocations: 36.98 kB / 443.3 MB, free: 1.051 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005421/0.01325, allocations: 0.5228 MB / 443.9 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1575/0.1707, allocations: 2.851 MB / 446.7 MB, free: 52.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.1711, allocations: 304.4 kB / 447 MB, free: 52.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.1712, allocations: 162.5 kB / 447.2 MB, free: 52.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.1713, allocations: 6.688 kB / 447.2 MB, free: 52.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.402e-05/0.1713, allocations: 40.33 kB / 447.2 MB, free: 52.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 2.945e-06/0.1713, allocations: 0.5 kB / 447.2 MB, free: 52.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.001203/0.1725, allocations: 1.152 MB / 448.4 MB, free: 51.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.1725, allocations: 80.2 kB / 448.4 MB, free: 51.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.1727, allocations: 405 kB / 448.8 MB, free: 51.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.1728, allocations: 29.7 kB / 448.9 MB, free: 51.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.834e-05/0.1728, allocations: 306.6 kB / 449.2 MB, free: 51.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.1729, allocations: 122.4 kB / 449.3 MB, free: 51.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-05/0.173, allocations: 103.3 kB / 449.4 MB, free: 51.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.294e-05/0.173, allocations: 352.8 kB / 449.7 MB, free: 50.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.1732, allocations: 192 kB / 449.9 MB, free: 50.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.1734, allocations: 380.1 kB / 450.3 MB, free: 50.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004068/0.1738, allocations: 0.6105 MB / 450.9 MB, free: 50.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1738, allocations: 0 / 450.9 MB, free: 50.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009289/0.1747, allocations: 0.8295 MB / 451.7 MB, free: 49.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1747, allocations: 6.406 kB / 451.7 MB, free: 49.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1747, allocations: 6.219 kB / 451.7 MB, free: 49.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005671/0.1753, allocations: 272.8 kB / 452 MB, free: 49.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.1756, allocations: 133.1 kB / 452.1 MB, free: 49.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/0.1778, allocations: 3.775 MB / 455.9 MB, free: 46.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.178, allocations: 27.81 kB / 455.9 MB, free: 46.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.178, allocations: 29.95 kB / 456 MB, free: 46.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * 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): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001462/0.1782, allocations: 221.5 kB / 456.2 MB, free: 46.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.1782, allocations: 44.16 kB / 456.2 MB, free: 46.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004086/0.1786, allocations: 480.5 kB / 456.7 MB, free: 46.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1786, allocations: 6.438 kB / 456.7 MB, free: 46.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.1786, allocations: 0 / 456.7 MB, free: 46.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1786, allocations: 3.375 kB / 456.7 MB, free: 46.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000685/0.1793, allocations: 0.8884 MB / 457.6 MB, free: 46.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1793, allocations: 0 / 457.6 MB, free: 46.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.1795, allocations: 90.31 kB / 457.7 MB, free: 46.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1795, allocations: 3.156 kB / 457.7 MB, free: 46.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.1795, allocations: 10.5 kB / 457.7 MB, free: 46.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1795, allocations: 3.312 kB / 457.7 MB, free: 46.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1795, allocations: 6.812 kB / 457.7 MB, free: 46.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000505/0.18, allocations: 0.7529 MB / 458.5 MB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.1801, allocations: 39.17 kB / 458.5 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.1801, allocations: 11.03 kB / 458.5 MB, free: 45.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.1802, allocations: 18.19 kB / 458.5 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.1803, allocations: 27.16 kB / 458.6 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.1803, allocations: 17.78 kB / 458.6 MB, free: 45.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001359/0.1804, allocations: 271.4 kB / 458.8 MB, free: 45.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1804, allocations: 0 / 458.8 MB, free: 45.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003141/0.1807, allocations: 120.3 kB / 459 MB, free: 45.49 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (38): * Single equations (assignments): 37 * 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 8.191e-05/0.1808, allocations: 103 kB / 459.1 MB, free: 45.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000713/0.1815, allocations: 0.7731 MB / 459.8 MB, free: 45.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1815, allocations: 0 / 459.8 MB, free: 45.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.1817, allocations: 187.6 kB / 460 MB, free: 44.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.182, allocations: 79.52 kB / 460.1 MB, free: 44.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.1836, allocations: 1.408 MB / 461.5 MB, free: 44.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.1838, allocations: 291.7 kB / 461.8 MB, free: 44.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.1839, allocations: 45.42 kB / 461.8 MB, free: 44.16 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1839, allocations: 96 / 461.8 MB, free: 44.16 MB / 410.7 MB Notification: Performance of Templates: time 0.005959/0.1899, allocations: 8.282 MB / 470.1 MB, free: 43.53 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Load.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference: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] Variables in the result: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],time [Calling sys.exit(0), Time elapsed: 5.405239039100707]