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.001099/0.001099, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001209/0.001209, allocations: 169.9 kB / 24.99 MB, free: 8.289 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.052/1.052, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2429/0.2429, allocations: 29.41 MB / 291.2 MB, free: 2.508 MB / 266.7 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.[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.603e-06/1.603e-06, allocations: 0 / 369.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.441e-05/1.601e-05, allocations: 2.312 kB / 369.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.03017/0.03019, allocations: 6.702 MB / 376.3 MB, free: 4.613 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0147/0.04488, allocations: 1.978 MB / 378.3 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002445/0.04513, allocations: 31.75 kB / 378.3 MB, free: 2.598 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.04627, allocations: 0.7274 MB / 379 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003933/0.0502, allocations: 0.6021 MB / 379.6 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004437/0.05065, allocations: 259.3 kB / 379.9 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009163/0.05156, allocations: 1.16 MB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005583/0.05212, allocations: 477.5 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003776/0.0559, allocations: 0.7049 MB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006818/0.05658, allocations: 0.5844 MB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.771e-05/0.05667, allocations: 68 kB / 382.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003976/0.05706, allocations: 295.5 kB / 383.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003993/0.05746, allocations: 0.5104 MB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005629/0.05803, allocations: 339.2 kB / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003963/0.06199, allocations: 0.8915 MB / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.06199, allocations: 0 / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.06199, allocations: 0 / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.062, allocations: 0 / 384.9 MB, free: 11.99 MB / 362.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.001562/0.06356, allocations: 1.274 MB / 386.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.0636, allocations: 8.031 kB / 386.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003385/0.06699, allocations: 248.1 kB / 386.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008229/0.06781, allocations: 0.5569 MB / 387 MB, free: 9.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.118e-05/0.06787, allocations: 74.34 kB / 387.1 MB, free: 9.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/0.06805, allocations: 100.8 kB / 387.2 MB, free: 9.672 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.06913, allocations: 0.8029 MB / 388 MB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.06915, allocations: 3.938 kB / 388 MB, free: 8.789 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.894e-05/0.06922, allocations: 32 kB / 388 MB, free: 8.758 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/0.06935, allocations: 85.95 kB / 388.1 MB, free: 8.676 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007395/0.07009, allocations: 467.3 kB / 388.5 MB, free: 8.215 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003133/0.07323, allocations: 4.086 MB / 392.6 MB, free: 3.949 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005435/0.07377, allocations: 390.6 kB / 393 MB, free: 3.547 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.07396, allocations: 160 kB / 393.2 MB, free: 3.387 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.07398, allocations: 8.5 kB / 393.2 MB, free: 3.375 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.074, allocations: 45.83 kB / 393.2 MB, free: 3.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 2.224e-06/0.07401, allocations: 0 / 393.2 MB, free: 3.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=64): time 0.001402/0.07541, allocations: 1.17 MB / 394.4 MB, free: 2.113 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.07545, allocations: 93.7 kB / 394.5 MB, free: 2.004 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003661/0.07581, allocations: 0.5686 MB / 395 MB, free: 1.418 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.07584, allocations: 33.7 kB / 395.1 MB, free: 1.379 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.07605, allocations: 0.4987 MB / 395.6 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.07617, allocations: 230.3 kB / 395.8 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.07633, allocations: 200.2 kB / 396 MB, free: 448 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.07649, allocations: 0.5586 MB / 396.5 MB, free: 15.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.07666, allocations: 121.9 kB / 396.7 MB, free: 15.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/0.07703, allocations: 0.5948 MB / 397.3 MB, free: 14.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008682/0.0779, allocations: 0.794 MB / 398.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.0779, allocations: 4 kB / 398.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001032/0.07893, allocations: 0.8552 MB / 398.9 MB, free: 13.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.07895, allocations: 18.67 kB / 398.9 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005677/0.07952, allocations: 428.4 kB / 399.4 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004487/0.07997, allocations: 178.9 kB / 399.5 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/0.08037, allocations: 231.6 kB / 399.8 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002878/0.08325, allocations: 5.835 MB / 405.6 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.08347, allocations: 35.98 kB / 405.6 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-05/0.08352, allocations: 44 kB / 405.7 MB, free: 5.926 MB / 378.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.0001767/0.08369, allocations: 248.2 kB / 405.9 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.02e-05/0.08377, allocations: 95.5 kB / 406 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004981/0.08427, allocations: 443.8 kB / 406.4 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.08428, allocations: 8 kB / 406.4 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.08428, allocations: 4 kB / 406.4 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.08428, allocations: 3.984 kB / 406.5 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.08597, allocations: 1.121 MB / 407.6 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.08597, allocations: 8 kB / 407.6 MB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004669/0.08644, allocations: 175.9 kB / 407.8 MB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/0.08645, allocations: 4 kB / 407.8 MB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/0.08648, allocations: 15.98 kB / 407.8 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.08649, allocations: 4 kB / 407.8 MB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.08649, allocations: 7.938 kB / 407.8 MB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007639/0.08726, allocations: 0.7371 MB / 408.5 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.08746, allocations: 99.53 kB / 408.6 MB, free: 2.848 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/0.08751, allocations: 12 kB / 408.6 MB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.08766, allocations: 15.98 kB / 408.6 MB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.386e-05/0.08775, allocations: 56.34 kB / 408.7 MB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.08778, allocations: 16 kB / 408.7 MB, free: 2.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002337/0.08801, allocations: 334.7 kB / 409 MB, free: 2.426 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.08801, allocations: 0 / 409 MB, free: 2.426 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005729/0.08859, allocations: 220 kB / 409.3 MB, free: 2.211 MB / 378.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.0001433/0.08873, allocations: 123.1 kB / 409.4 MB, free: 2.082 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.08995, allocations: 1.017 MB / 410.4 MB, free: 1.008 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.08996, allocations: 0 / 410.4 MB, free: 1.008 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002477/0.09021, allocations: 204.8 kB / 410.6 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005916/0.0908, allocations: 152.6 kB / 410.7 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.09338, allocations: 1.636 MB / 412.4 MB, free: 14.96 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.09355, allocations: 235.5 kB / 412.6 MB, free: 14.71 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000354/0.0939, allocations: 197.5 kB / 412.8 MB, free: 14.51 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.09401, allocations: 56.5 kB / 412.9 MB, free: 14.46 MB / 394.7 MB Notification: Performance of SimCode: time 1.352e-06/0.09401, allocations: 3.938 kB / 412.9 MB, free: 14.45 MB / 394.7 MB Notification: Performance of Templates: time 0.01136/0.1054, allocations: 8.426 MB / 421.3 MB, free: 6.148 MB / 394.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.4543824130669236]