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.002254/0.002254, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.001954/0.001954, allocations: 165.3 kB / 24.28 MB, free: 148 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.569/1.569, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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.3375/0.3375, allocations: 29.41 MB / 290.5 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.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: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 368.9 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.104e-05/3.341e-05, allocations: 5.688 kB / 368.9 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.01029/0.01032, allocations: 6.632 MB / 375.5 MB, free: 4.676 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004151/0.01448, allocations: 1.971 MB / 377.5 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004166/0.01489, allocations: 35.69 kB / 377.5 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002065/0.01696, allocations: 0.7352 MB / 378.2 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.01852, allocations: 0.5983 MB / 378.8 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000818/0.01934, allocations: 259.2 kB / 379.1 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001634/0.02097, allocations: 1.16 MB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008207/0.02179, allocations: 485.5 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/0.02294, allocations: 0.701 MB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.02398, allocations: 0.5844 MB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.02412, allocations: 68 kB / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006767/0.02479, allocations: 291.5 kB / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006034/0.0254, allocations: 0.5105 MB / 382.9 MB, free: 13.28 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000508/0.02591, allocations: 347.2 kB / 383.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001736/0.02764, allocations: 1.199 MB / 384.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.02765, allocations: 0 / 384.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.02765, allocations: 0 / 384.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.02767, allocations: 0 / 384.4 MB, free: 11.73 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.002501/0.03017, allocations: 1.32 MB / 385.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.03021, allocations: 15.98 kB / 385.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.0314, allocations: 252 kB / 386 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.03273, allocations: 0.557 MB / 386.5 MB, free: 9.527 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.874e-05/0.03281, allocations: 74.28 kB / 386.6 MB, free: 9.457 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002416/0.03305, allocations: 96.91 kB / 386.7 MB, free: 9.363 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.03464, allocations: 0.8456 MB / 387.6 MB, free: 8.441 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.877e-05/0.03467, allocations: 0 / 387.6 MB, free: 8.441 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.964e-05/0.03476, allocations: 35.98 kB / 387.6 MB, free: 8.406 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001857/0.03494, allocations: 85.95 kB / 387.7 MB, free: 8.324 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.03621, allocations: 0.511 MB / 388.2 MB, free: 7.809 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006387/0.04259, allocations: 4.31 MB / 392.5 MB, free: 3.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.04363, allocations: 424.1 kB / 392.9 MB, free: 2.887 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003582/0.04399, allocations: 168.9 kB / 393.1 MB, free: 2.707 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.04404, allocations: 12.5 kB / 393.1 MB, free: 2.695 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/0.04408, allocations: 45.88 kB / 393.1 MB, free: 2.641 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 2.645e-06/0.04408, allocations: 0 / 393.1 MB, free: 2.641 MB / 362.7 MB Notification: Performance of matching and sorting (n=64): time 0.002768/0.04685, allocations: 1.259 MB / 394.4 MB, free: 1.348 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.719e-05/0.04693, allocations: 85.77 kB / 394.5 MB, free: 1.246 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000858/0.04779, allocations: 0.6624 MB / 395.1 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.11e-05/0.04784, allocations: 37.7 kB / 395.2 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004439/0.04828, allocations: 0.5105 MB / 395.7 MB, free: 4 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002726/0.04856, allocations: 242.2 kB / 395.9 MB, free: 15.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003398/0.0489, allocations: 228.2 kB / 396.1 MB, free: 15.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003968/0.04929, allocations: 0.5937 MB / 396.7 MB, free: 14.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/0.04964, allocations: 142 kB / 396.9 MB, free: 14.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008383/0.05048, allocations: 0.63 MB / 397.5 MB, free: 13.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.05176, allocations: 0.8486 MB / 398.4 MB, free: 12.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.05177, allocations: 4 kB / 398.4 MB, free: 12.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002061/0.05383, allocations: 0.9095 MB / 399.3 MB, free: 11.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.05386, allocations: 8 kB / 399.3 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001149/0.05501, allocations: 468.4 kB / 399.7 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008956/0.0559, allocations: 195.2 kB / 399.9 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007981/0.0567, allocations: 227.6 kB / 400.2 MB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00586/0.06256, allocations: 5.93 MB / 406.1 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005414/0.0631, allocations: 39.92 kB / 406.1 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-05/0.06318, allocations: 48.06 kB / 406.2 MB, free: 4.668 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.0003997/0.06358, allocations: 264.2 kB / 406.4 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.06373, allocations: 95.52 kB / 406.5 MB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.06474, allocations: 471.9 kB / 407 MB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.06474, allocations: 12 kB / 407 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.06475, allocations: 0 / 407 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.06475, allocations: 3.984 kB / 407 MB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003467/0.06822, allocations: 1.266 MB / 408.3 MB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.06823, allocations: 4 kB / 408.3 MB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000898/0.06912, allocations: 175.9 kB / 408.4 MB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.06913, allocations: 4 kB / 408.4 MB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.505e-05/0.06919, allocations: 19.98 kB / 408.5 MB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.06919, allocations: 4 kB / 408.5 MB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.0692, allocations: 7.938 kB / 408.5 MB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.07053, allocations: 0.7996 MB / 409.3 MB, free: 1.438 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002787/0.07081, allocations: 95.47 kB / 409.4 MB, free: 1.344 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-05/0.07089, allocations: 27.95 kB / 409.4 MB, free: 1.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000286/0.07118, allocations: 15.98 kB / 409.4 MB, free: 1.301 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.07131, allocations: 60.28 kB / 409.5 MB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.093e-05/0.07135, allocations: 16 kB / 409.5 MB, free: 1.227 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004342/0.07179, allocations: 370.8 kB / 409.8 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07179, allocations: 0 / 409.8 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000841/0.07263, allocations: 220 kB / 410.1 MB, free: 0.6523 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.0001739/0.0728, allocations: 127 kB / 410.2 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001769/0.07457, allocations: 1.076 MB / 411.3 MB, free: 15.39 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.07458, allocations: 4 kB / 411.3 MB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004028/0.07498, allocations: 219.7 kB / 411.5 MB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008041/0.07578, allocations: 154.2 kB / 411.6 MB, free: 15.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.07855, allocations: 1.633 MB / 413.3 MB, free: 13.32 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000574/0.07912, allocations: 462.5 kB / 413.7 MB, free: 12.85 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005083/0.07963, allocations: 189.5 kB / 413.9 MB, free: 12.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.0798, allocations: 64.48 kB / 414 MB, free: 12.59 MB / 394.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0798, allocations: 4 kB / 414 MB, free: 12.59 MB / 394.7 MB Notification: Performance of Templates: time 0.01741/0.09722, allocations: 8.416 MB / 422.4 MB, free: 4.293 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","/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: 5.177534935064614]