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.001283/0.001283, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.001343/0.001343, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.363/1.363, allocations: 230.6 MB / 258.3 MB, free: 7.984 MB / 206.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.174/0.174, allocations: 38.53 MB / 353.2 MB, free: 12.54 MB / 286.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.Display,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="Time|phasor_cap.i_dq.1.|phasor_cap.i_dq.2.|phasor_cap.p.1.|phasor_cap.p.2.|phasor_cap.v_dq.1.|phasor_cap.v_dq.2.|phasor_ind.i_dq.1.|phasor_ind.i_dq.2.|phasor_ind.p.1.|phasor_ind.p.2.|phasor_ind.v_dq.1.|phasor_ind.v_dq.2.",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.1.|phasor_cap.i_dq.2.|phasor_cap.p.1.|phasor_cap.p.2.|phasor_cap.v_dq.1.|phasor_cap.v_dq.2.|phasor_ind.i_dq.1.|phasor_ind.i_dq.2.|phasor_ind.p.1.|phasor_ind.p.2.|phasor_ind.v_dq.1.|phasor_ind.v_dq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Display") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 75.89 kB / 493.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2975, allocations: 62.47 MB / 0.5432 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.008281/0.3058, allocations: 6.821 MB / 0.5499 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003688/0.3094, allocations: 2.062 MB / 0.5519 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004396/0.3099, allocations: 31.41 kB / 0.5519 GB, free: 9.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001973/0.3119, allocations: 0.7411 MB / 0.5527 GB, free: 8.984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.3134, allocations: 0.579 MB / 0.5532 GB, free: 8.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007285/0.3141, allocations: 260.9 kB / 0.5535 GB, free: 8.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001443/0.3155, allocations: 1.148 MB / 0.5546 GB, free: 7.688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007141/0.3162, allocations: 477.7 kB / 0.555 GB, free: 7.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008821/0.3171, allocations: 0.5384 MB / 0.5556 GB, free: 7.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009642/0.3181, allocations: 0.6511 MB / 0.5562 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.3182, allocations: 67.88 kB / 0.5563 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005993/0.3188, allocations: 285 kB / 0.5565 GB, free: 6.566 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000477/0.3193, allocations: 498.8 kB / 0.557 GB, free: 6.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005304/0.3198, allocations: 497.4 kB / 0.5575 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.3212, allocations: 1.183 MB / 0.5586 GB, free: 4.609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3212, allocations: 4 kB / 0.5586 GB, free: 4.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3212, allocations: 4 kB / 0.5587 GB, free: 4.602 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.3212, allocations: 0 / 0.5587 GB, free: 4.602 MB / 398.1 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.002071/0.3233, allocations: 1.162 MB / 0.5598 GB, free: 3.402 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.3233, allocations: 11.98 kB / 0.5598 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008886/0.3242, allocations: 172.2 kB / 0.56 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.3254, allocations: 0.551 MB / 0.5605 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.546e-05/0.3255, allocations: 66.36 kB / 0.5606 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002242/0.3257, allocations: 100.1 kB / 0.5607 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/0.3275, allocations: 1.161 MB / 0.5618 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.3275, allocations: 7.953 kB / 0.5618 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.376e-05/0.3276, allocations: 32 kB / 0.5618 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000177/0.3278, allocations: 93.83 kB / 0.5619 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/0.3294, allocations: 0.9991 MB / 0.5629 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005954/0.3354, allocations: 4.268 MB / 0.5671 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.3366, allocations: 0.5917 MB / 0.5676 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004639/0.337, allocations: 283.1 kB / 0.5679 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.097e-05/0.3371, allocations: 8.5 kB / 0.5679 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.3371, allocations: 43.05 kB / 0.568 GB, free: 10.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 2.875e-06/0.3371, allocations: 0 / 0.568 GB, free: 10.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.002968/0.3401, allocations: 1.689 MB / 0.5696 GB, free: 8.965 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.3401, allocations: 89.89 kB / 0.5697 GB, free: 8.859 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006442/0.3408, allocations: 0.5456 MB / 0.5702 GB, free: 8.305 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.154e-05/0.3408, allocations: 37.7 kB / 0.5703 GB, free: 8.262 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003273/0.3412, allocations: 452 kB / 0.5707 GB, free: 7.812 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.3414, allocations: 234 kB / 0.5709 GB, free: 7.582 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002457/0.3416, allocations: 190.5 kB / 0.5711 GB, free: 7.391 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.3418, allocations: 374.8 kB / 0.5715 GB, free: 7.016 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000478/0.3423, allocations: 285.8 kB / 0.5717 GB, free: 6.734 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007399/0.343, allocations: 0.6193 MB / 0.5723 GB, free: 5.965 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.3443, allocations: 0.9632 MB / 0.5733 GB, free: 4.852 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/0.3443, allocations: 4 kB / 0.5733 GB, free: 4.848 MB / 414.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002194/0.3465, allocations: 1.171 MB / 0.5744 GB, free: 3.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.3465, allocations: 12 kB / 0.5744 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001337/0.3478, allocations: 0.7106 MB / 0.5751 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007049/0.3485, allocations: 222.3 kB / 0.5753 GB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007648/0.3493, allocations: 219.7 kB / 0.5756 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005022/0.3543, allocations: 5.059 MB / 0.5805 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005353/0.3549, allocations: 43.98 kB / 0.5805 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.965e-05/0.3549, allocations: 44 kB / 0.5806 GB, free: 13 MB / 430.1 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.0004784/0.3554, allocations: 345.5 kB / 0.5809 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.3555, allocations: 75.52 kB / 0.581 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.3567, allocations: 0.6599 MB / 0.5816 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.3567, allocations: 8 kB / 0.5816 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.3567, allocations: 0 / 0.5816 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.3567, allocations: 3.984 kB / 0.5816 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002563/0.3592, allocations: 1.506 MB / 0.5831 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3592, allocations: 0 / 0.5831 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007682/0.36, allocations: 175.7 kB / 0.5833 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.36, allocations: 8 kB / 0.5833 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.109e-05/0.3601, allocations: 20.14 kB / 0.5833 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.3601, allocations: 4 kB / 0.5833 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3601, allocations: 4 kB / 0.5833 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.3616, allocations: 1.028 MB / 0.5843 GB, free: 9.055 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002677/0.3618, allocations: 103.6 kB / 0.5844 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.882e-05/0.3619, allocations: 16 kB / 0.5844 GB, free: 8.938 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.3622, allocations: 15.98 kB / 0.5844 GB, free: 8.922 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.3623, allocations: 52.34 kB / 0.5845 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-05/0.3623, allocations: 23.94 kB / 0.5845 GB, free: 8.848 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004135/0.3628, allocations: 362.8 kB / 0.5849 GB, free: 8.496 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3628, allocations: 4 kB / 0.5849 GB, free: 8.492 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007906/0.3635, allocations: 216 kB / 0.5851 GB, free: 8.281 MB / 430.1 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.0001413/0.3637, allocations: 115.2 kB / 0.5852 GB, free: 8.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001755/0.3654, allocations: 1.088 MB / 0.5862 GB, free: 7.035 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3654, allocations: 4.25 kB / 0.5862 GB, free: 7.031 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000465/0.3659, allocations: 290.6 kB / 0.5865 GB, free: 6.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007638/0.3667, allocations: 165.1 kB / 0.5867 GB, free: 6.594 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/0.3698, allocations: 2.045 MB / 0.5887 GB, free: 4.492 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007683/0.3706, allocations: 1.075 MB / 0.5897 GB, free: 3.391 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/0.3708, allocations: 55.44 kB / 0.5898 GB, free: 3.336 MB / 430.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3708, allocations: 0 / 0.5898 GB, free: 3.336 MB / 430.1 MB Notification: Performance of Templates: time 0.01981/0.3906, allocations: 14.15 MB / 0.6036 GB, free: 5.18 MB / 446.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Display_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Display.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Display.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: 8.532029259949923]