Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.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.000765/0.000765, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.003486/0.003486, allocations: 159.9 kB / 24.7 MB, free: 9.414 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.8388/0.8388, allocations: 177.1 MB / 205 MB, free: 5.719 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.1974/0.1974, allocations: 29.42 MB / 290.8 MB, free: 2.426 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.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.035e-06/3.035e-06, allocations: 0 / 431.4 MB, free: 13.12 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.643e-05, allocations: 2.281 kB / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.003727/0.003754, allocations: 4.321 MB / 435.8 MB, free: 8.766 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.00555, allocations: 1.379 MB / 437.1 MB, free: 7.383 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.005707, allocations: 19.81 kB / 437.2 MB, free: 7.363 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006409/0.006348, allocations: 370.4 kB / 437.5 MB, free: 7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003552/0.006703, allocations: 230.7 kB / 437.8 MB, free: 6.773 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004623/0.007165, allocations: 267.1 kB / 438 MB, free: 6.512 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003843/0.00755, allocations: 0.5455 MB / 438.6 MB, free: 5.965 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000272/0.007821, allocations: 217.5 kB / 438.8 MB, free: 5.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003236/0.008145, allocations: 338.9 kB / 439.1 MB, free: 5.418 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.00841, allocations: 275.3 kB / 439.4 MB, free: 5.148 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.621e-05/0.008446, allocations: 32 kB / 439.4 MB, free: 5.117 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.008652, allocations: 163.6 kB / 439.6 MB, free: 4.957 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.008791, allocations: 227.4 kB / 439.8 MB, free: 4.734 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.008906, allocations: 167.6 kB / 440 MB, free: 4.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000453/0.009359, allocations: 0.5802 MB / 440.5 MB, free: 3.988 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.009362, allocations: 0 / 440.5 MB, free: 3.988 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.009364, allocations: 0 / 440.5 MB, free: 3.988 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.009371, allocations: 0 / 440.5 MB, free: 3.988 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.0007957/0.01017, allocations: 0.6629 MB / 441.2 MB, free: 3.293 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.0102, allocations: 19.98 kB / 441.2 MB, free: 3.273 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003848/0.01058, allocations: 116.5 kB / 441.3 MB, free: 3.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.01099, allocations: 347.9 kB / 441.7 MB, free: 2.785 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.01101, allocations: 29.38 kB / 441.7 MB, free: 2.758 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.387e-05/0.0111, allocations: 48.53 kB / 441.7 MB, free: 2.711 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005334/0.01163, allocations: 0.6251 MB / 442.4 MB, free: 2.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.01165, allocations: 7.938 kB / 442.4 MB, free: 2.012 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.01167, allocations: 16 kB / 442.4 MB, free: 1.996 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.214e-05/0.01174, allocations: 32.98 kB / 442.4 MB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004566/0.01219, allocations: 479.5 kB / 442.9 MB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1457/0.1579, allocations: 2.665 MB / 445.6 MB, free: 52.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/0.1581, allocations: 217.2 kB / 445.8 MB, free: 52.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.1582, allocations: 131.8 kB / 445.9 MB, free: 52.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.1583, allocations: 14.97 kB / 445.9 MB, free: 52.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.1583, allocations: 37.31 kB / 445.9 MB, free: 52.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 2.044e-06/0.1583, allocations: 3.938 kB / 446 MB, free: 52.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009552/0.1592, allocations: 0.8923 MB / 446.8 MB, free: 52.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.1593, allocations: 84.42 kB / 446.9 MB, free: 52.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.1594, allocations: 319.7 kB / 447.2 MB, free: 52.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.1594, allocations: 33.02 kB / 447.3 MB, free: 52.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.254e-05/0.1595, allocations: 280.1 kB / 447.5 MB, free: 52.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.1596, allocations: 108.3 kB / 447.7 MB, free: 51.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.858e-05/0.1596, allocations: 93.62 kB / 447.7 MB, free: 51.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.887e-05/0.1597, allocations: 349 kB / 448.1 MB, free: 51.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.1598, allocations: 148.6 kB / 448.2 MB, free: 51.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.1599, allocations: 346.5 kB / 448.6 MB, free: 51.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/0.1602, allocations: 0.5198 MB / 449.1 MB, free: 50.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1603, allocations: 3.125 kB / 449.1 MB, free: 50.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003896/0.1606, allocations: 0.5303 MB / 449.6 MB, free: 50.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.1607, allocations: 9.688 kB / 449.6 MB, free: 50.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1607, allocations: 6.219 kB / 449.6 MB, free: 50.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.1607, allocations: 9.344 kB / 449.6 MB, free: 50.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.1609, allocations: 121.3 kB / 449.8 MB, free: 50.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.1609, allocations: 13.5 kB / 449.8 MB, free: 50.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.161, allocations: 31.45 kB / 449.8 MB, free: 50.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.161, allocations: 24.91 kB / 449.8 MB, free: 50.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001226/0.1612, allocations: 211.1 kB / 450 MB, free: 50.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.1612, allocations: 35.06 kB / 450.1 MB, free: 50.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003179/0.1615, allocations: 367.3 kB / 450.4 MB, free: 50.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1615, allocations: 3.188 kB / 450.4 MB, free: 50.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1615, allocations: 3.156 kB / 450.4 MB, free: 50.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1615, allocations: 5.859 kB / 450.4 MB, free: 50.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006437/0.1622, allocations: 0.7575 MB / 451.2 MB, free: 49.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1622, allocations: 0 / 451.2 MB, free: 49.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.1623, allocations: 71.8 kB / 451.3 MB, free: 49.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.1623, allocations: 0 / 451.3 MB, free: 49.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.1623, allocations: 14.28 kB / 451.3 MB, free: 49.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1623, allocations: 7.312 kB / 451.3 MB, free: 49.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1623, allocations: 4.875 kB / 451.3 MB, free: 49.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.1627, allocations: 0.5752 MB / 451.9 MB, free: 49.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.59e-05/0.1627, allocations: 30.11 kB / 451.9 MB, free: 49.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.1628, allocations: 18.67 kB / 451.9 MB, free: 49.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.223e-05/0.1629, allocations: 7.281 kB / 451.9 MB, free: 49.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.1629, allocations: 28.05 kB / 452 MB, free: 49.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.1629, allocations: 6.5 kB / 452 MB, free: 49.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.617e-05/0.163, allocations: 217.3 kB / 452.2 MB, free: 49.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.163, allocations: 0 / 452.2 MB, free: 49.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002589/0.1632, allocations: 91.56 kB / 452.3 MB, free: 49.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.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 (31): * Single equations (assignments): 30 * 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 7.723e-05/0.1633, allocations: 104.1 kB / 452.4 MB, free: 49.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002941/0.1636, allocations: 350 kB / 452.7 MB, free: 49.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1636, allocations: 0 / 452.7 MB, free: 49.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.1637, allocations: 137 kB / 452.8 MB, free: 49.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.164, allocations: 71.58 kB / 452.9 MB, free: 49.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008316/0.1649, allocations: 0.9667 MB / 453.9 MB, free: 48.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.165, allocations: 261.4 kB / 454.1 MB, free: 48.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.953e-05/0.1651, allocations: 31.84 kB / 454.2 MB, free: 48.49 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1651, allocations: 3.219 kB / 454.2 MB, free: 48.49 MB / 410.7 MB Notification: Performance of Templates: time 0.003964/0.169, allocations: 5.214 MB / 459.4 MB, free: 48.07 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.ReferenceInertial.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.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.993164040148258]