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.001371/0.001371, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001578/0.001578, allocations: 213.9 kB / 23.73 MB, free: 4.16 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.626/1.626, allocations: 230.6 MB / 257.5 MB, free: 7.82 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.2322/0.2322, allocations: 38.55 MB / 352.5 MB, free: 12.34 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.003391/0.003391, allocations: 71.89 kB / 493 MB, free: 4.234 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.4255, allocations: 62.46 MB / 0.5424 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.00868/0.4342, allocations: 6.333 MB / 0.5486 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004022/0.4382, allocations: 1.925 MB / 0.5505 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004656/0.4386, allocations: 31.44 kB / 0.5505 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001948/0.4406, allocations: 0.7027 MB / 0.5512 GB, free: 9.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.4421, allocations: 0.5802 MB / 0.5518 GB, free: 9.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007392/0.4429, allocations: 253.5 kB / 0.552 GB, free: 8.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001335/0.4442, allocations: 1.14 MB / 0.5531 GB, free: 8.277 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007584/0.445, allocations: 484.4 kB / 0.5536 GB, free: 7.965 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000909/0.4459, allocations: 0.5276 MB / 0.5541 GB, free: 7.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/0.4469, allocations: 0.6338 MB / 0.5547 GB, free: 7.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.447, allocations: 69.09 kB / 0.5548 GB, free: 7.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006686/0.4477, allocations: 292.6 kB / 0.5551 GB, free: 7.168 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005043/0.4482, allocations: 483.6 kB / 0.5555 GB, free: 6.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004973/0.4487, allocations: 418 kB / 0.5559 GB, free: 6.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.4501, allocations: 1.191 MB / 0.5571 GB, free: 5.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4501, allocations: 0 / 0.5571 GB, free: 5.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4501, allocations: 0 / 0.5571 GB, free: 5.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.4501, allocations: 0 / 0.5571 GB, free: 5.191 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.002145/0.4523, allocations: 1.166 MB / 0.5582 GB, free: 3.988 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.4523, allocations: 15.98 kB / 0.5582 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009236/0.4533, allocations: 164.2 kB / 0.5584 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.4546, allocations: 0.5549 MB / 0.5589 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.449e-05/0.4547, allocations: 70.34 kB / 0.559 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002294/0.4549, allocations: 108 kB / 0.5591 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.4567, allocations: 1.149 MB / 0.5602 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.432e-05/0.4567, allocations: 11.94 kB / 0.5602 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.9e-05/0.4568, allocations: 32 kB / 0.5603 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001822/0.4569, allocations: 85.94 kB / 0.5603 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.4586, allocations: 0.9912 MB / 0.5613 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005533/0.4642, allocations: 3.76 MB / 0.565 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.4654, allocations: 0.5872 MB / 0.5656 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004915/0.4659, allocations: 285 kB / 0.5658 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/0.4659, allocations: 4.5 kB / 0.5658 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.466, allocations: 43 kB / 0.5659 GB, free: 11.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 3.076e-06/0.466, allocations: 0 / 0.5659 GB, free: 11.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.003107/0.4691, allocations: 1.681 MB / 0.5675 GB, free: 10.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.936e-05/0.4692, allocations: 85.77 kB / 0.5676 GB, free: 10.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006659/0.4698, allocations: 0.561 MB / 0.5681 GB, free: 9.477 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.946e-05/0.4699, allocations: 37.7 kB / 0.5682 GB, free: 9.434 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/0.4702, allocations: 456 kB / 0.5686 GB, free: 8.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.4705, allocations: 226.1 kB / 0.5688 GB, free: 8.758 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000245/0.4707, allocations: 186.5 kB / 0.569 GB, free: 8.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002266/0.4709, allocations: 374.8 kB / 0.5694 GB, free: 8.195 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004914/0.4714, allocations: 293.7 kB / 0.5697 GB, free: 7.906 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007859/0.4722, allocations: 0.6076 MB / 0.5702 GB, free: 7.152 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.4736, allocations: 0.9749 MB / 0.5712 GB, free: 6.027 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.4736, allocations: 4 kB / 0.5712 GB, free: 6.023 MB / 414.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002238/0.4758, allocations: 1.167 MB / 0.5723 GB, free: 4.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.4758, allocations: 8.156 kB / 0.5723 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001411/0.4772, allocations: 0.7222 MB / 0.5731 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007239/0.478, allocations: 218.4 kB / 0.5733 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007599/0.4787, allocations: 219.6 kB / 0.5735 GB, free: 3.664 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005389/0.4841, allocations: 4.967 MB / 0.5783 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006151/0.4847, allocations: 35.98 kB / 0.5784 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.711e-05/0.4848, allocations: 47.94 kB / 0.5784 GB, free: 14.31 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.0005731/0.4854, allocations: 349.5 kB / 0.5787 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.4855, allocations: 63.58 kB / 0.5788 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.4867, allocations: 0.6559 MB / 0.5794 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.4867, allocations: 11.98 kB / 0.5794 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.4867, allocations: 0 / 0.5794 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.4867, allocations: 0 / 0.5794 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002496/0.4892, allocations: 1.335 MB / 0.5808 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.427e-06/0.4892, allocations: 7.938 kB / 0.5808 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007748/0.49, allocations: 171.9 kB / 0.5809 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.49, allocations: 8 kB / 0.5809 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.512e-05/0.4901, allocations: 19.92 kB / 0.5809 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.4901, allocations: 4 kB / 0.581 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/0.4901, allocations: 11.94 kB / 0.581 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.4916, allocations: 1.013 MB / 0.582 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/0.4919, allocations: 111.5 kB / 0.5821 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.677e-05/0.492, allocations: 15.94 kB / 0.5821 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/0.4923, allocations: 19.98 kB / 0.5821 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.4925, allocations: 52.39 kB / 0.5821 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.152e-05/0.4925, allocations: 27.98 kB / 0.5822 GB, free: 10.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005235/0.4931, allocations: 350.8 kB / 0.5825 GB, free: 9.996 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4931, allocations: 0 / 0.5825 GB, free: 9.996 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001126/0.4942, allocations: 216 kB / 0.5827 GB, free: 9.785 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.0002392/0.4944, allocations: 119.1 kB / 0.5828 GB, free: 9.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002117/0.4965, allocations: 1.074 MB / 0.5839 GB, free: 8.551 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4966, allocations: 4.062 kB / 0.5839 GB, free: 8.547 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005016/0.4971, allocations: 294.6 kB / 0.5842 GB, free: 8.262 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008319/0.4979, allocations: 163.5 kB / 0.5843 GB, free: 8.105 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/0.5012, allocations: 1.969 MB / 0.5862 GB, free: 6.086 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005918/0.5018, allocations: 470.6 kB / 0.5867 GB, free: 5.602 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006417/0.5024, allocations: 225.5 kB / 0.5869 GB, free: 5.379 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.5026, allocations: 59.42 kB / 0.587 GB, free: 5.32 MB / 430.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5026, allocations: 4 kB / 0.587 GB, free: 5.316 MB / 430.1 MB Notification: Performance of Templates: time 0.01911/0.5217, allocations: 9.426 MB / 0.5962 GB, free: 12 MB / 446.1 MB " [Timeout remaining time 659] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Display.mat","/var/lib/jenkins/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: 6.016046371310949]