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.001017/0.001017, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001157/0.001157, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.065/1.065, allocations: 177.1 MB / 205 MB, free: 5.598 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.289/0.289, allocations: 29.42 MB / 290.9 MB, free: 2.426 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 4.138e-06/4.138e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.505e-05/3.918e-05, allocations: 2.312 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.007355/0.007394, allocations: 5.536 MB / 375.2 MB, free: 5.422 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003392/0.01079, allocations: 1.986 MB / 377.1 MB, free: 3.43 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004796/0.01127, allocations: 31.75 kB / 377.2 MB, free: 3.398 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007167/0.01198, allocations: 182.7 kB / 377.4 MB, free: 3.219 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001515/0.0135, allocations: 0.579 MB / 377.9 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007445/0.01424, allocations: 263.2 kB / 378.2 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001329/0.01557, allocations: 1.164 MB / 379.4 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007362/0.01631, allocations: 477.5 kB / 379.8 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.01731, allocations: 0.6778 MB / 380.5 MB, free: 64 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009306/0.01824, allocations: 0.5961 MB / 381.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.01838, allocations: 68 kB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006402/0.01902, allocations: 287.5 kB / 381.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005079/0.01953, allocations: 0.5144 MB / 382 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004299/0.01996, allocations: 343.2 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.02113, allocations: 0.8837 MB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.02113, allocations: 0 / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.02114, allocations: 3.938 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.069e-05/0.02116, allocations: 0 / 383.2 MB, free: 13.38 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.001702/0.02286, allocations: 1.262 MB / 384.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.0229, allocations: 12.03 kB / 384.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007949/0.0237, allocations: 248.1 kB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.02491, allocations: 0.5686 MB / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.544e-05/0.02497, allocations: 66.36 kB / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/0.02516, allocations: 96.84 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.02639, allocations: 0.7994 MB / 386.2 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/0.02642, allocations: 7.938 kB / 386.2 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.29e-05/0.02649, allocations: 32 kB / 386.3 MB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001532/0.02664, allocations: 81.95 kB / 386.3 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009066/0.02755, allocations: 479.3 kB / 386.8 MB, free: 9.598 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00333/0.03088, allocations: 4.086 MB / 390.9 MB, free: 5.332 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/0.03149, allocations: 386.6 kB / 391.3 MB, free: 4.934 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.03168, allocations: 148.9 kB / 391.4 MB, free: 4.781 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.03172, allocations: 12.5 kB / 391.4 MB, free: 4.766 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.03175, allocations: 49.83 kB / 391.5 MB, free: 4.707 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 3.657e-06/0.03175, allocations: 0 / 391.5 MB, free: 4.707 MB / 362.7 MB Notification: Performance of matching and sorting (n=64): time 0.001817/0.03357, allocations: 1.174 MB / 392.7 MB, free: 3.496 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.03361, allocations: 89.89 kB / 392.7 MB, free: 3.391 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003913/0.03401, allocations: 0.5647 MB / 393.3 MB, free: 2.809 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.03403, allocations: 33.7 kB / 393.3 MB, free: 2.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.03426, allocations: 0.4987 MB / 393.8 MB, free: 2.262 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.03437, allocations: 234.1 kB / 394.1 MB, free: 2.031 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.03454, allocations: 200.2 kB / 394.3 MB, free: 1.824 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.0347, allocations: 0.5586 MB / 394.8 MB, free: 1.254 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.03489, allocations: 121.9 kB / 394.9 MB, free: 1.137 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/0.03527, allocations: 0.591 MB / 395.5 MB, free: 348 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006315/0.0359, allocations: 0.794 MB / 396.3 MB, free: 15.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.03591, allocations: 0 / 396.3 MB, free: 15.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00109/0.03699, allocations: 0.8664 MB / 397.2 MB, free: 14.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.03702, allocations: 12 kB / 397.2 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005759/0.03759, allocations: 424.9 kB / 397.6 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004897/0.03808, allocations: 190.9 kB / 397.8 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004052/0.03849, allocations: 223.5 kB / 398 MB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003848/0.04234, allocations: 5.832 MB / 403.9 MB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004402/0.04278, allocations: 35.98 kB / 403.9 MB, free: 7.355 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.193e-05/0.04283, allocations: 44 kB / 403.9 MB, free: 7.312 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.000296/0.04312, allocations: 244.5 kB / 404.2 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.04323, allocations: 95.59 kB / 404.3 MB, free: 6.973 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000541/0.04377, allocations: 439.9 kB / 404.7 MB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.04378, allocations: 8 kB / 404.7 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.04378, allocations: 0 / 404.7 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.04378, allocations: 3.984 kB / 404.7 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.0452, allocations: 1.133 MB / 405.8 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.04521, allocations: 4 kB / 405.8 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/0.04563, allocations: 175.8 kB / 406 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.04563, allocations: 4 kB / 406 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.04566, allocations: 12 kB / 406 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003556/0.04602, allocations: 4.156 kB / 406 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.04602, allocations: 19.91 kB / 406.1 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000715/0.04674, allocations: 0.7215 MB / 406.8 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.0469, allocations: 101.4 kB / 406.9 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.72e-05/0.04695, allocations: 23.92 kB / 406.9 MB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.04709, allocations: 12 kB / 406.9 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.994e-05/0.04719, allocations: 56.34 kB / 407 MB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.04722, allocations: 19.98 kB / 407 MB, free: 4.137 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002264/0.04745, allocations: 334.8 kB / 407.3 MB, free: 3.812 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.04745, allocations: 0 / 407.3 MB, free: 3.812 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006335/0.04808, allocations: 220 kB / 407.5 MB, free: 3.598 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.0001356/0.04822, allocations: 127.1 kB / 407.7 MB, free: 3.465 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.04927, allocations: 1.014 MB / 408.7 MB, free: 2.395 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.04927, allocations: 0 / 408.7 MB, free: 2.395 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.04949, allocations: 195.7 kB / 408.9 MB, free: 2.199 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005221/0.05001, allocations: 150.9 kB / 409 MB, free: 2.051 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.0523, allocations: 1.647 MB / 410.6 MB, free: 348 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/0.05247, allocations: 239.5 kB / 410.9 MB, free: 88 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000355/0.05282, allocations: 193.5 kB / 411.1 MB, free: 15.89 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.05295, allocations: 60.48 kB / 411.1 MB, free: 15.84 MB / 394.7 MB Notification: Performance of SimCode: time 1.493e-06/0.05295, allocations: 0 / 411.1 MB, free: 15.84 MB / 394.7 MB Notification: Performance of Templates: time 0.01181/0.06477, allocations: 8.438 MB / 419.6 MB, free: 7.527 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.4247949859127402]