Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Display.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.001525/0.001525, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001871/0.001871, allocations: 168.3 kB / 24.91 MB, free: 8.77 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 1.054/1.054, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2219/0.2219, allocations: 29.44 MB / 291.2 MB, free: 2.465 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.Display,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="Time|phasor_cap.i_dq.[0-9,]+.|phasor_cap.p.[0-9,]+.|phasor_cap.v_dq.[0-9,]+.|phasor_ind.i_dq.[0-9,]+.|phasor_ind.p.[0-9,]+.|phasor_ind.v_dq.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Display") translateModel(PowerSystems.Examples.Introductory.Display,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="Time|phasor_cap.i_dq.[0-9,]+.|phasor_cap.p.[0-9,]+.|phasor_cap.v_dq.[0-9,]+.|phasor_ind.i_dq.[0-9,]+.|phasor_ind.p.[0-9,]+.|phasor_ind.v_dq.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Display") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 316.8 MB, free: 36 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.174e-05, allocations: 2.312 kB / 316.8 MB, free: 32 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.005023/0.005045, allocations: 5.542 MB / 322.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002867/0.007912, allocations: 1.916 MB / 324.3 MB, free: 8.539 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003958/0.008308, allocations: 31.75 kB / 324.3 MB, free: 8.508 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008402/0.009148, allocations: 497.6 kB / 324.8 MB, free: 8.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.01018, allocations: 0.575 MB / 325.4 MB, free: 7.441 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005528/0.01073, allocations: 263.3 kB / 325.6 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.01175, allocations: 1.149 MB / 326.8 MB, free: 6.031 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006107/0.01236, allocations: 0.5112 MB / 327.3 MB, free: 5.516 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009688/0.01333, allocations: 0.7598 MB / 328.1 MB, free: 4.754 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006394/0.01397, allocations: 0.5103 MB / 328.6 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.01407, allocations: 68 kB / 328.6 MB, free: 4.176 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004651/0.01454, allocations: 295.4 kB / 328.9 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003479/0.01489, allocations: 0.5027 MB / 329.4 MB, free: 3.383 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002982/0.01519, allocations: 339.2 kB / 329.8 MB, free: 3.051 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000857/0.01604, allocations: 0.8876 MB / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.01605, allocations: 0 / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01605, allocations: 0 / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.561e-05/0.01607, allocations: 8 kB / 330.6 MB, free: 2.152 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.001208/0.01728, allocations: 1.086 MB / 331.7 MB, free: 1.031 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.01731, allocations: 8.031 kB / 331.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005824/0.0179, allocations: 204.7 kB / 331.9 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005258/0.01842, allocations: 494.9 kB / 332.4 MB, free: 320 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.529e-05/0.01847, allocations: 74.34 kB / 332.5 MB, free: 248 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.01861, allocations: 92.91 kB / 332.6 MB, free: 156 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006747/0.01928, allocations: 0.7187 MB / 333.3 MB, free: 15.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.0193, allocations: 3.953 kB / 333.3 MB, free: 15.37 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.966e-05/0.01935, allocations: 35.98 kB / 333.3 MB, free: 15.33 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/0.01946, allocations: 89.89 kB / 333.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004441/0.0199, allocations: 368.3 kB / 333.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002491/0.02239, allocations: 3.144 MB / 336.9 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.02284, allocations: 371.5 kB / 337.3 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.02297, allocations: 122 kB / 337.4 MB, free: 11.08 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.023, allocations: 24.42 kB / 337.4 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.02303, allocations: 39.06 kB / 337.5 MB, free: 11.01 MB / 314.7 MB Notification: Performance of pre-optimization done (n=63): time 3.106e-06/0.02303, allocations: 4 kB / 337.5 MB, free: 11.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=64): time 0.001068/0.0241, allocations: 0.7778 MB / 338.3 MB, free: 10.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.02414, allocations: 85.77 kB / 338.3 MB, free: 10.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.02441, allocations: 490.8 kB / 338.8 MB, free: 9.598 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.02444, allocations: 37.7 kB / 338.9 MB, free: 9.555 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.02459, allocations: 412.9 kB / 339.3 MB, free: 9.141 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.0247, allocations: 226.1 kB / 339.5 MB, free: 8.918 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.02484, allocations: 182.4 kB / 339.7 MB, free: 8.734 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.02495, allocations: 382.6 kB / 340 MB, free: 8.352 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.02506, allocations: 100.8 kB / 340.1 MB, free: 8.254 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.02531, allocations: 418.5 kB / 340.5 MB, free: 7.695 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000445/0.02575, allocations: 0.6288 MB / 341.2 MB, free: 6.914 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.02575, allocations: 4 kB / 341.2 MB, free: 6.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0007696/0.02652, allocations: 0.6706 MB / 341.8 MB, free: 6.219 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.02654, allocations: 8 kB / 341.9 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003875/0.02693, allocations: 300.4 kB / 342.2 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004181/0.02735, allocations: 202 kB / 342.3 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/0.02775, allocations: 231.7 kB / 342.6 MB, free: 5.465 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00404/0.03179, allocations: 4.14 MB / 346.7 MB, free: 1.027 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004421/0.03223, allocations: 28 kB / 346.7 MB, free: 1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.893e-05/0.03229, allocations: 36 kB / 346.8 MB, free: 0.9648 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 33 (system.initime,phasor_cap.color_n[3],phasor_cap.color_n[1],phasor_cap.color_p[3],phasor_cap.color_p[1],phasor_ind.color_n[3],phasor_ind.color_n[1],phasor_ind.color_p[3],phasor_ind.color_p[1],phasor_cap.color2[3],phasor_cap.color2[2],phasor_cap.color2[1],phasor_cap.color1[3],phasor_cap.color1[2],phasor_cap.color1[1],phasor_cap.colorR[3],phasor_cap.colorR[2],phasor_cap.colorR[1],phasor_cap.colorL[3],phasor_cap.colorL[2],phasor_cap.colorL[1],phasor_ind.color2[3],phasor_ind.color2[2],phasor_ind.color2[1],phasor_ind.color1[3],phasor_ind.color1[2],phasor_ind.color1[1],phasor_ind.colorR[3],phasor_ind.colorR[2],phasor_ind.colorR[1],phasor_ind.colorL[3],phasor_ind.colorL[2],phasor_ind.colorL[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003063/0.0326, allocations: 204.3 kB / 347 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.03271, allocations: 63.97 kB / 347 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005221/0.03323, allocations: 335.9 kB / 347.4 MB, free: 368 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.03324, allocations: 11.94 kB / 347.4 MB, free: 356 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.03324, allocations: 0 / 347.4 MB, free: 356 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.03325, allocations: 7.984 kB / 347.4 MB, free: 348 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.03461, allocations: 0.8328 MB / 348.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.03462, allocations: 7.938 kB / 348.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006152/0.03523, allocations: 179.8 kB / 348.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.03524, allocations: 8.156 kB / 348.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/0.03528, allocations: 16 kB / 348.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.03528, allocations: 4 kB / 348.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.03528, allocations: 0 / 348.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006712/0.03596, allocations: 0.5686 MB / 349 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.03611, allocations: 87.47 kB / 349.1 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7e-05/0.03618, allocations: 12 kB / 349.1 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.0364, allocations: 20.06 kB / 349.1 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.376e-05/0.03649, allocations: 56.34 kB / 349.2 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/0.03652, allocations: 12 kB / 349.2 MB, free: 14.46 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002003/0.03672, allocations: 192.4 kB / 349.4 MB, free: 14.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03672, allocations: 0 / 349.4 MB, free: 14.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007741/0.0375, allocations: 220 kB / 349.6 MB, free: 14.06 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (ind.i[1],ind.i[2],ind.i[3],cap.v[1],cap.v[2],cap.v[3]) * Number of discrete variables: 9 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * 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.0001464/0.03764, allocations: 96.34 kB / 349.7 MB, free: 13.95 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009699/0.03861, allocations: 0.7859 MB / 350.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.985e-05/0.03863, allocations: 12.5 kB / 350.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002336/0.03887, allocations: 164.8 kB / 350.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000633/0.0395, allocations: 170 kB / 350.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/0.04208, allocations: 1.513 MB / 352.3 MB, free: 11.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.04231, allocations: 235.4 kB / 352.5 MB, free: 10.97 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003106/0.04262, allocations: 97.69 kB / 352.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003587/0.04298, allocations: 181.3 kB / 352.8 MB, free: 10.7 MB / 330.7 MB Notification: Performance of SimCode: time 1.342e-06/0.04298, allocations: 4 kB / 352.8 MB, free: 10.69 MB / 330.7 MB Notification: Performance of Templates: time 0.01583/0.05881, allocations: 9.013 MB / 361.8 MB, free: 1.828 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Display.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Display.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Display -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Display_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Display.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3325701113790274]