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.001528/0.001528, allocations: 84.39 kB / 20.68 MB, free: 1.023 MB / 14.72 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.00167/0.00167, allocations: 164.1 kB / 23.95 MB, free: 4.156 MB / 14.72 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 1.416/1.416, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.173/0.173, allocations: 29.44 MB / 290.1 MB, free: 3.27 MB / 270.1 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 1.212e-06/1.212e-06, allocations: 0 / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.732e-05, allocations: 2.281 kB / 430.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.005463/0.00548, allocations: 4.315 MB / 435 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002327/0.007807, allocations: 1.382 MB / 436.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.007958, allocations: 15.88 kB / 436.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.009071, allocations: 366.4 kB / 436.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004693/0.00954, allocations: 238.6 kB / 437 MB, free: 11.6 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006188/0.01016, allocations: 255.2 kB / 437.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006048/0.01076, allocations: 0.5494 MB / 437.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003552/0.01112, allocations: 221.5 kB / 438 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004693/0.01159, allocations: 331 kB / 438.3 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000413/0.012, allocations: 275.3 kB / 438.6 MB, free: 9.988 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.629e-05/0.01207, allocations: 32 kB / 438.6 MB, free: 9.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003132/0.01238, allocations: 151.7 kB / 438.8 MB, free: 9.809 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002405/0.01262, allocations: 235.4 kB / 439 MB, free: 9.578 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.01283, allocations: 163.6 kB / 439.2 MB, free: 9.418 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006831/0.01351, allocations: 0.5803 MB / 439.8 MB, free: 8.836 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.01351, allocations: 0 / 439.8 MB, free: 8.836 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.01352, allocations: 0 / 439.8 MB, free: 8.836 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.01352, allocations: 0 / 439.8 MB, free: 8.836 MB / 366.1 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.001163/0.01469, allocations: 0.6706 MB / 440.4 MB, free: 8.137 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.01472, allocations: 11.98 kB / 440.4 MB, free: 8.125 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006959/0.01542, allocations: 128.5 kB / 440.6 MB, free: 8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006469/0.01606, allocations: 336 kB / 440.9 MB, free: 7.641 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.0161, allocations: 33.36 kB / 440.9 MB, free: 7.609 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.01622, allocations: 56.5 kB / 441 MB, free: 7.555 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008747/0.0171, allocations: 0.6329 MB / 441.6 MB, free: 6.855 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.01711, allocations: 0 / 441.6 MB, free: 6.855 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.983e-05/0.01717, allocations: 19.98 kB / 441.6 MB, free: 6.836 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001168/0.01729, allocations: 28.98 kB / 441.7 MB, free: 6.809 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007367/0.01803, allocations: 483.5 kB / 442.1 MB, free: 6.336 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003078/0.0211, allocations: 2.664 MB / 444.8 MB, free: 3.547 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003912/0.02149, allocations: 217 kB / 445 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.0217, allocations: 141.6 kB / 445.2 MB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.02173, allocations: 4 kB / 445.2 MB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.02176, allocations: 42.5 kB / 445.2 MB, free: 3.117 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.512e-06/0.02176, allocations: 0 / 445.2 MB, free: 3.117 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001527/0.02329, allocations: 0.8886 MB / 446.1 MB, free: 2.195 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.02335, allocations: 85.05 kB / 446.2 MB, free: 2.094 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003191/0.02367, allocations: 328.3 kB / 446.5 MB, free: 1.766 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.0237, allocations: 33.7 kB / 446.5 MB, free: 1.727 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.02389, allocations: 276 kB / 446.8 MB, free: 1.449 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.913e-05/0.02398, allocations: 103.2 kB / 446.9 MB, free: 1.348 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.02411, allocations: 94.22 kB / 447 MB, free: 1.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.02427, allocations: 354.8 kB / 447.3 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.02451, allocations: 140.9 kB / 447.5 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003825/0.02489, allocations: 346.6 kB / 447.8 MB, free: 336 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1586/0.1834, allocations: 0.516 MB / 448.3 MB, free: 29.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.1835, allocations: 2.062 kB / 448.3 MB, free: 29.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008557/0.1843, allocations: 0.5332 MB / 448.9 MB, free: 29.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.1843, allocations: 7.906 kB / 448.9 MB, free: 29.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.1843, allocations: 6.156 kB / 448.9 MB, free: 29.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.1844, allocations: 14.41 kB / 448.9 MB, free: 29.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004438/0.1848, allocations: 118.5 kB / 449 MB, free: 29.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.1848, allocations: 11.97 kB / 449 MB, free: 29.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/0.1851, allocations: 28.25 kB / 449 MB, free: 29.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-05/0.1851, allocations: 22.14 kB / 449.1 MB, free: 29.42 MB / 366.1 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.0002029/0.1853, allocations: 215.1 kB / 449.3 MB, free: 29.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-05/0.1854, allocations: 33.11 kB / 449.3 MB, free: 29.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000587/0.186, allocations: 358.9 kB / 449.7 MB, free: 29.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.186, allocations: 6.031 kB / 449.7 MB, free: 29.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.186, allocations: 1.984 kB / 449.7 MB, free: 29.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.186, allocations: 2.031 kB / 449.7 MB, free: 29.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.1872, allocations: 0.7652 MB / 450.4 MB, free: 28.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1872, allocations: 8.531 kB / 450.4 MB, free: 28.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003704/0.1876, allocations: 63.52 kB / 450.5 MB, free: 28.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.1876, allocations: 5.641 kB / 450.5 MB, free: 28.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.1876, allocations: 8.922 kB / 450.5 MB, free: 28.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.1876, allocations: 8.969 kB / 450.5 MB, free: 28.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1876, allocations: 1.5 kB / 450.5 MB, free: 28.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006709/0.1883, allocations: 0.5804 MB / 451.1 MB, free: 28.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.329e-05/0.1883, allocations: 30.45 kB / 451.1 MB, free: 28.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/0.1884, allocations: 16.06 kB / 451.2 MB, free: 28.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.1886, allocations: 13.98 kB / 451.2 MB, free: 28.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.1886, allocations: 19.69 kB / 451.2 MB, free: 28.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.1886, allocations: 10.34 kB / 451.2 MB, free: 28.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001842/0.1888, allocations: 215.5 kB / 451.4 MB, free: 28.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1888, allocations: 0 / 451.4 MB, free: 28.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004297/0.1893, allocations: 88.47 kB / 451.5 MB, free: 28.37 MB / 366.1 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 9.51e-05/0.1894, allocations: 109.3 kB / 451.6 MB, free: 28.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005202/0.1899, allocations: 359.1 kB / 451.9 MB, free: 28.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1899, allocations: 5.312 kB / 452 MB, free: 28.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.1901, allocations: 134.2 kB / 452.1 MB, free: 28.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/0.1906, allocations: 64.53 kB / 452.1 MB, free: 28.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.1918, allocations: 0.9088 MB / 453.1 MB, free: 27.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.192, allocations: 250.6 kB / 453.3 MB, free: 27.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003155/0.1923, allocations: 128.8 kB / 453.4 MB, free: 27.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.439e-05/0.1924, allocations: 32.55 kB / 453.5 MB, free: 27.5 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1924, allocations: 7.828 kB / 453.5 MB, free: 27.5 MB / 366.1 MB Notification: Performance of Templates: time 0.00809/0.2005, allocations: 3.242 MB / 456.7 MB, free: 27.16 MB / 366.1 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.492339756339788]