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: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001502/0.002601, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001013/0.001013, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001293/0.002306, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9547/0.9547, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08913/1.044, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1169/0.1169, allocations: 29.45 MB / 273.6 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1382/0.2552, allocations: 9.539 MB / 283.2 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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.463e-06/1.463e-06, allocations: 0 / 284.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.444e-05, allocations: 4.656 kB / 284.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.005359/0.005383, allocations: 5.66 MB / 290.1 MB, free: 7.445 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002876/0.008259, allocations: 1.943 MB / 292 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003542/0.008614, allocations: 30.88 kB / 292.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008446/0.009458, allocations: 0.6294 MB / 292.7 MB, free: 5.426 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.01047, allocations: 0.6185 MB / 293.3 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005547/0.01103, allocations: 250.6 kB / 293.6 MB, free: 4.746 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001162/0.01219, allocations: 1.208 MB / 294.8 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005725/0.01276, allocations: 481.4 kB / 295.2 MB, free: 3.844 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009251/0.01369, allocations: 0.8284 MB / 296.1 MB, free: 3.07 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006228/0.01431, allocations: 0.557 MB / 296.6 MB, free: 2.512 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.537e-05/0.01439, allocations: 64 kB / 296.7 MB, free: 2.449 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005674/0.01496, allocations: 295.5 kB / 297 MB, free: 2.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003196/0.01528, allocations: 479 kB / 297.4 MB, free: 1.691 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002635/0.01554, allocations: 283.4 kB / 297.7 MB, free: 1.414 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007893/0.01633, allocations: 0.8291 MB / 298.6 MB, free: 0.582 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.327e-05/0.01635, allocations: 0 / 298.6 MB, free: 0.582 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01635, allocations: 3.938 kB / 298.6 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.232e-05/0.01637, allocations: 0 / 298.6 MB, free: 0.5781 MB / 282.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.001305/0.01768, allocations: 1.312 MB / 299.9 MB, free: 15.24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.01771, allocations: 8.031 kB / 299.9 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006276/0.01833, allocations: 293.7 kB / 300.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005474/0.01888, allocations: 494.9 kB / 300.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.415e-05/0.01893, allocations: 62.36 kB / 300.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.01906, allocations: 101.6 kB / 300.8 MB, free: 14.26 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006767/0.01974, allocations: 0.7244 MB / 301.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.01976, allocations: 4 kB / 301.5 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.428e-05/0.01981, allocations: 35.94 kB / 301.6 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/0.01991, allocations: 81.89 kB / 301.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004486/0.02036, allocations: 372.3 kB / 302 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002646/0.023, allocations: 3.164 MB / 305.2 MB, free: 9.672 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004633/0.02347, allocations: 379.5 kB / 305.5 MB, free: 9.281 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.02359, allocations: 118.7 kB / 305.7 MB, free: 9.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.02362, allocations: 12.5 kB / 305.7 MB, free: 9.145 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.02364, allocations: 39.06 kB / 305.7 MB, free: 9.098 MB / 298.7 MB Notification: Performance of pre-optimization done (n=63): time 2.294e-06/0.02365, allocations: 3.938 kB / 305.7 MB, free: 9.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=64): time 0.001078/0.02472, allocations: 0.8012 MB / 306.5 MB, free: 8.258 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.02476, allocations: 85.77 kB / 306.6 MB, free: 8.156 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.02501, allocations: 486.7 kB / 307.1 MB, free: 7.668 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.02504, allocations: 41.7 kB / 307.1 MB, free: 7.621 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.02519, allocations: 409 kB / 307.5 MB, free: 7.215 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.0253, allocations: 234.1 kB / 307.7 MB, free: 6.984 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.02545, allocations: 178.5 kB / 307.9 MB, free: 6.805 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.02556, allocations: 382.6 kB / 308.3 MB, free: 6.422 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.02567, allocations: 96.78 kB / 308.4 MB, free: 6.324 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.02592, allocations: 427.2 kB / 308.8 MB, free: 5.758 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004807/0.02641, allocations: 0.6616 MB / 309.5 MB, free: 4.938 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.02641, allocations: 4 kB / 309.5 MB, free: 4.934 MB / 298.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0007098/0.02712, allocations: 0.6331 MB / 310.1 MB, free: 4.281 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.02714, allocations: 16 kB / 310.1 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.02715, allocations: 11.94 kB / 310.1 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004413/0.02759, allocations: 197.7 kB / 310.3 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005106/0.0281, allocations: 287.6 kB / 310.6 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002649/0.03075, allocations: 4.156 MB / 314.8 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/0.0311, allocations: 28 kB / 314.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.376e-05/0.03115, allocations: 39.98 kB / 314.8 MB, free: 15.24 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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,1,100.0%), (1,3,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002257/0.03138, allocations: 196.3 kB / 315 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.961e-05/0.03147, allocations: 67.83 kB / 315.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004455/0.03191, allocations: 343.9 kB / 315.4 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.03192, allocations: 4 kB / 315.4 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.03192, allocations: 4 kB / 315.4 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.03193, allocations: 3.984 kB / 315.4 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.03305, allocations: 0.8367 MB / 316.3 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.03306, allocations: 4 kB / 316.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007301/0.03379, allocations: 256.7 kB / 316.5 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.03391, allocations: 83.55 kB / 316.6 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.03392, allocations: 4 kB / 316.6 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.234e-05/0.03395, allocations: 20 kB / 316.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.03396, allocations: 11.98 kB / 316.6 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.03396, allocations: 3.938 kB / 316.6 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005708/0.03453, allocations: 0.5608 MB / 317.2 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.952e-05/0.03459, allocations: 20 kB / 317.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.03477, allocations: 12 kB / 317.2 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/0.03486, allocations: 52.34 kB / 317.3 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.03489, allocations: 12 kB / 317.3 MB, free: 12.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001681/0.03506, allocations: 192.4 kB / 317.5 MB, free: 12.49 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03506, allocations: 4 kB / 317.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006397/0.0357, allocations: 220 kB / 317.7 MB, free: 12.27 MB / 314.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.0001174/0.03582, allocations: 108.3 kB / 317.8 MB, free: 12.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008295/0.03665, allocations: 0.7955 MB / 318.6 MB, free: 11.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.75e-05/0.03667, allocations: 24.44 kB / 318.6 MB, free: 11.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000242/0.03691, allocations: 197.8 kB / 318.8 MB, free: 11.11 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009069/0.03782, allocations: 1.079 MB / 319.9 MB, free: 9.836 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/0.05367, allocations: 1.533 MB / 321.4 MB, free: 8.246 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.05386, allocations: 243.5 kB / 321.7 MB, free: 7.988 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002816/0.05415, allocations: 97.75 kB / 321.8 MB, free: 7.891 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000317/0.05446, allocations: 185.3 kB / 322 MB, free: 7.711 MB / 314.7 MB Notification: Performance of SimCode: time 9.91e-07/0.05446, allocations: 0 / 322 MB, free: 7.711 MB / 314.7 MB Notification: Performance of Templates: time 0.01691/0.07138, allocations: 9.189 MB / 331.1 MB, free: 14.68 MB / 330.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0860636131837964]