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.0008384/0.0008384, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001198/0.002036, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007857/0.0007857, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001005/0.001791, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.959/0.959, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08827/1.047, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1142/0.1142, allocations: 29.45 MB / 273.4 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1355/0.2497, allocations: 9.537 MB / 283 MB, free: 12.83 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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.943e-06/1.943e-06, allocations: 0 / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.113e-05/1.307e-05, allocations: 3.297 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.006762/0.006775, allocations: 5.658 MB / 289.9 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003257/0.01003, allocations: 1.934 MB / 291.8 MB, free: 5.992 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.01027, allocations: 34.81 kB / 291.8 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007612/0.01103, allocations: 0.6295 MB / 292.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007773/0.01181, allocations: 0.6224 MB / 293.1 MB, free: 4.996 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.01222, allocations: 247.7 kB / 293.3 MB, free: 4.812 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009171/0.01314, allocations: 1.207 MB / 294.5 MB, free: 4.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004813/0.01362, allocations: 485.3 kB / 295 MB, free: 3.906 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008434/0.01446, allocations: 0.8259 MB / 295.8 MB, free: 3.164 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005054/0.01497, allocations: 0.5531 MB / 296.4 MB, free: 2.609 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.668e-05/0.01503, allocations: 68 kB / 296.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003619/0.0154, allocations: 279.6 kB / 296.7 MB, free: 2.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002852/0.01568, allocations: 482.9 kB / 297.2 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00023/0.01591, allocations: 287.4 kB / 297.5 MB, free: 1.516 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000617/0.01653, allocations: 0.8291 MB / 298.3 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.01654, allocations: 0 / 298.3 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01654, allocations: 0 / 298.3 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.01656, allocations: 0 / 298.3 MB, free: 0.6836 MB / 282.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.001133/0.01769, allocations: 1.305 MB / 299.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.695e-05/0.01772, allocations: 12.03 kB / 299.6 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005425/0.01826, allocations: 281.8 kB / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004703/0.01873, allocations: 0.495 MB / 300.4 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.283e-05/0.01877, allocations: 66.36 kB / 300.5 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.0189, allocations: 92.84 kB / 300.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006221/0.01952, allocations: 0.7148 MB / 301.3 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.01954, allocations: 15.88 kB / 301.3 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/0.01959, allocations: 35.98 kB / 301.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.915e-05/0.01968, allocations: 85.89 kB / 301.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004239/0.0201, allocations: 376.3 kB / 301.8 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.02251, allocations: 3.141 MB / 304.9 MB, free: 9.797 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004511/0.02296, allocations: 383.4 kB / 305.3 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.02308, allocations: 118.1 kB / 305.4 MB, free: 9.281 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.02311, allocations: 8.5 kB / 305.4 MB, free: 9.273 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.02313, allocations: 47.05 kB / 305.5 MB, free: 9.219 MB / 298.7 MB Notification: Performance of pre-optimization done (n=63): time 2.294e-06/0.02313, allocations: 0 / 305.5 MB, free: 9.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=64): time 0.0009515/0.02409, allocations: 0.7739 MB / 306.2 MB, free: 8.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.02412, allocations: 85.77 kB / 306.3 MB, free: 8.309 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.02437, allocations: 494.8 kB / 306.8 MB, free: 7.812 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.0244, allocations: 37.7 kB / 306.8 MB, free: 7.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.02455, allocations: 408.9 kB / 307.2 MB, free: 7.363 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.02466, allocations: 226.1 kB / 307.5 MB, free: 7.141 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.0248, allocations: 182.4 kB / 307.6 MB, free: 6.957 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.675e-05/0.0249, allocations: 382.6 kB / 308 MB, free: 6.574 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.02501, allocations: 96.78 kB / 308.1 MB, free: 6.477 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.02525, allocations: 430.5 kB / 308.5 MB, free: 5.906 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005468/0.02579, allocations: 0.621 MB / 309.2 MB, free: 5.137 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.0258, allocations: 4 kB / 309.2 MB, free: 5.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0007946/0.02659, allocations: 0.6782 MB / 309.8 MB, free: 4.434 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.02661, allocations: 8 kB / 309.8 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003865/0.02699, allocations: 308.4 kB / 310.1 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004052/0.0274, allocations: 190.1 kB / 310.3 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005244/0.02792, allocations: 287.5 kB / 310.6 MB, free: 3.629 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/0.03017, allocations: 4.148 MB / 314.8 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.03039, allocations: 24 kB / 314.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-05/0.03043, allocations: 39.98 kB / 314.8 MB, free: 15.12 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.000166/0.0306, allocations: 204.3 kB / 315 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.405e-05/0.03066, allocations: 55.95 kB / 315.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003396/0.031, allocations: 343.9 kB / 315.4 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.031, allocations: 8 kB / 315.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.03101, allocations: 4 kB / 315.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.03101, allocations: 3.984 kB / 315.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008538/0.03187, allocations: 0.8367 MB / 316.3 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.03187, allocations: 4 kB / 316.3 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005523/0.03242, allocations: 256.8 kB / 316.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.03252, allocations: 87.5 kB / 316.6 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.03253, allocations: 4 kB / 316.6 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.03255, allocations: 12 kB / 316.6 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.03255, allocations: 11.92 kB / 316.6 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.03256, allocations: 4 kB / 316.6 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/0.033, allocations: 0.5685 MB / 317.2 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.744e-05/0.03305, allocations: 16 kB / 317.2 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.03317, allocations: 12 kB / 317.2 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.248e-05/0.03323, allocations: 52.34 kB / 317.3 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.03325, allocations: 12 kB / 317.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001293/0.03338, allocations: 192.4 kB / 317.5 MB, free: 12.37 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03338, allocations: 0 / 317.5 MB, free: 12.37 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000425/0.03381, allocations: 220 kB / 317.7 MB, free: 12.15 MB / 314.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 9.364e-05/0.0339, allocations: 117.3 kB / 317.8 MB, free: 12.03 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006281/0.03453, allocations: 0.7743 MB / 318.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.172e-05/0.03455, allocations: 20.44 kB / 318.6 MB, free: 11.19 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.0347, allocations: 157.7 kB / 318.8 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.03512, allocations: 245.4 kB / 319 MB, free: 10.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/0.04701, allocations: 1.544 MB / 320.5 MB, free: 9.203 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.04717, allocations: 243.5 kB / 320.8 MB, free: 8.945 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002232/0.04739, allocations: 101.8 kB / 320.9 MB, free: 8.844 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/0.04764, allocations: 185.3 kB / 321.1 MB, free: 8.664 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.04764, allocations: 0 / 321.1 MB, free: 8.664 MB / 314.7 MB Notification: Performance of Templates: time 0.01137/0.05901, allocations: 9.491 MB / 330.5 MB, free: 15.33 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 -ignoreHideResult -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: 2.9362132381647825]