Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.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.001589/0.001589, allocations: 82.5 kB / 20.68 MB, free: 1.035 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.001659/0.001659, allocations: 167.5 kB / 23.95 MB, free: 4.172 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.402/1.402, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 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.1697/0.1697, allocations: 29.44 MB / 290.1 MB, free: 3.277 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.ReferenceSynchron,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.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,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.ReferenceSynchron") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 3.938 kB / 430.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.498e-05, allocations: 2.281 kB / 430.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.005762/0.005787, allocations: 4.315 MB / 435 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00245/0.008236, allocations: 1.386 MB / 436.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.008393, allocations: 15.88 kB / 436.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.00948, allocations: 366.4 kB / 436.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005787/0.01006, allocations: 270.4 kB / 437 MB, free: 11.58 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006757/0.01073, allocations: 255.2 kB / 437.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006693/0.0114, allocations: 0.5728 MB / 437.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003812/0.01178, allocations: 217.5 kB / 438.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005171/0.0123, allocations: 354.9 kB / 438.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005006/0.0128, allocations: 335.2 kB / 438.7 MB, free: 9.867 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.744e-05/0.01288, allocations: 40 kB / 438.8 MB, free: 9.828 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004578/0.01334, allocations: 231.5 kB / 439 MB, free: 9.602 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002686/0.01361, allocations: 255.4 kB / 439.3 MB, free: 9.352 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002491/0.01386, allocations: 183.6 kB / 439.4 MB, free: 9.172 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008583/0.01471, allocations: 0.6971 MB / 440.1 MB, free: 8.473 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.01472, allocations: 7.984 kB / 440.1 MB, free: 8.465 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01472, allocations: 0 / 440.1 MB, free: 8.465 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.01473, allocations: 3.938 kB / 440.1 MB, free: 8.461 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001346/0.01608, allocations: 0.7056 MB / 440.9 MB, free: 7.727 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.01611, allocations: 19.98 kB / 440.9 MB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007374/0.01685, allocations: 124.5 kB / 441 MB, free: 7.586 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006892/0.01754, allocations: 359.9 kB / 441.3 MB, free: 7.203 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/0.01757, allocations: 33.36 kB / 441.4 MB, free: 7.172 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.01771, allocations: 44.55 kB / 441.4 MB, free: 7.129 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.01876, allocations: 0.6807 MB / 442.1 MB, free: 6.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.01878, allocations: 7.891 kB / 442.1 MB, free: 6.402 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.184e-05/0.01883, allocations: 16 kB / 442.1 MB, free: 6.387 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000192/0.01903, allocations: 52.95 kB / 442.2 MB, free: 6.336 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.0201, allocations: 0.6674 MB / 442.8 MB, free: 5.668 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003608/0.02371, allocations: 2.294 MB / 445.1 MB, free: 3.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005798/0.02429, allocations: 313.3 kB / 445.4 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000323/0.02461, allocations: 205.9 kB / 445.6 MB, free: 2.738 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.02464, allocations: 7.984 kB / 445.7 MB, free: 2.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.02468, allocations: 46.48 kB / 445.7 MB, free: 2.676 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 1.984e-06/0.02468, allocations: 0 / 445.7 MB, free: 2.676 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.002357/0.02704, allocations: 1.29 MB / 447 MB, free: 1.348 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.14e-05/0.02711, allocations: 81.11 kB / 447.1 MB, free: 1.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003398/0.02745, allocations: 292.1 kB / 447.4 MB, free: 0.957 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.02749, allocations: 29.7 kB / 447.4 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.0277, allocations: 260.2 kB / 447.6 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.02785, allocations: 162.8 kB / 447.8 MB, free: 0.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.028, allocations: 98.08 kB / 447.9 MB, free: 408 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.02821, allocations: 346.8 kB / 448.2 MB, free: 52 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1544/0.1826, allocations: 198.1 kB / 448.4 MB, free: 30 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/0.1829, allocations: 365.8 kB / 448.8 MB, free: 29.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006552/0.1836, allocations: 0.608 MB / 449.4 MB, free: 29.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1836, allocations: 1.062 kB / 449.4 MB, free: 29.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008977/0.1845, allocations: 0.6211 MB / 450 MB, free: 29.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1845, allocations: 6.531 kB / 450 MB, free: 29.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.1845, allocations: 5.469 kB / 450 MB, free: 29.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/0.1845, allocations: 10 kB / 450 MB, free: 29.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/0.185, allocations: 112.8 kB / 450.1 MB, free: 29.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.185, allocations: 9.969 kB / 450.2 MB, free: 29.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/0.1852, allocations: 26.84 kB / 450.2 MB, free: 29.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/0.1853, allocations: 22.38 kB / 450.2 MB, free: 29.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * 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.0002215/0.1855, allocations: 220.3 kB / 450.4 MB, free: 29.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-05/0.1856, allocations: 36.56 kB / 450.5 MB, free: 29.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007527/0.1863, allocations: 497.9 kB / 450.9 MB, free: 29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.708e-05/0.1864, allocations: 12.12 kB / 451 MB, free: 29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1864, allocations: 0.6094 kB / 451 MB, free: 29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1864, allocations: 3.484 kB / 451 MB, free: 29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.1879, allocations: 0.9795 MB / 451.9 MB, free: 28.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1879, allocations: 1.125 kB / 451.9 MB, free: 28.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003569/0.1883, allocations: 71.59 kB / 452 MB, free: 28.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.1883, allocations: 2.469 kB / 452 MB, free: 28.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.777e-05/0.1883, allocations: 8.875 kB / 452 MB, free: 28.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.1883, allocations: 4.031 kB / 452 MB, free: 28.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1883, allocations: 9.062 kB / 452 MB, free: 28.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009595/0.1893, allocations: 0.8259 MB / 452.9 MB, free: 28.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.1893, allocations: 31.23 kB / 452.9 MB, free: 28.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.434e-05/0.1894, allocations: 12.59 kB / 452.9 MB, free: 28.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.1896, allocations: 20.53 kB / 452.9 MB, free: 28.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/0.1896, allocations: 35.08 kB / 453 MB, free: 28.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.1897, allocations: 8.359 kB / 453 MB, free: 28.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001718/0.1898, allocations: 204.6 kB / 453.2 MB, free: 27.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1898, allocations: 0 / 453.2 MB, free: 27.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004669/0.1903, allocations: 108.5 kB / 453.3 MB, free: 27.97 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 (33): * Single equations (assignments): 30 * Array equations: 2 * 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.0002125/0.1905, allocations: 144.4 kB / 453.4 MB, free: 27.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006521/0.1912, allocations: 465.5 kB / 453.9 MB, free: 27.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1912, allocations: 5.891 kB / 453.9 MB, free: 27.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002671/0.1914, allocations: 198.2 kB / 454.1 MB, free: 27.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.1919, allocations: 69.55 kB / 454.1 MB, free: 27.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.1932, allocations: 1.047 MB / 455.2 MB, free: 27.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.1935, allocations: 270.7 kB / 455.4 MB, free: 27.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002899/0.1938, allocations: 124.8 kB / 455.6 MB, free: 27.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.1939, allocations: 36.77 kB / 455.6 MB, free: 27.01 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1939, allocations: 0 / 455.6 MB, free: 27.01 MB / 366.1 MB Notification: Performance of Templates: time 0.008718/0.2026, allocations: 3.774 MB / 459.4 MB, free: 26.62 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.ReferenceSynchron.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.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.502100311219692]