Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.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.000764/0.000764, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001053/0.001817, 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.0006972/0.0006972, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001003/0.0017, 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 1.072/1.072, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08742/1.159, allocations: 53.65 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.1395/0.1395, allocations: 29.45 MB / 273.6 MB, free: 1.398 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1433/0.2828, allocations: 9.538 MB / 283.1 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.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.137e-06/1.074e-05, allocations: 3.578 kB / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.004872/0.004883, allocations: 4.806 MB / 289.3 MB, free: 8.074 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002371/0.007254, allocations: 1.79 MB / 291 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.007448, allocations: 22.47 kB / 291.1 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006413/0.008089, allocations: 416.9 kB / 291.5 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004566/0.008546, allocations: 316.1 kB / 291.8 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006459/0.009192, allocations: 391.5 kB / 292.2 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006156/0.009807, allocations: 0.7749 MB / 292.9 MB, free: 5.414 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003271/0.01013, allocations: 302 kB / 293.2 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000575/0.01071, allocations: 0.5404 MB / 293.8 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004022/0.01111, allocations: 400.9 kB / 294.2 MB, free: 4.73 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.659e-05/0.01117, allocations: 47.16 kB / 294.2 MB, free: 4.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002907/0.01146, allocations: 183.4 kB / 294.4 MB, free: 4.66 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.01165, allocations: 267.5 kB / 294.7 MB, free: 4.469 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.01181, allocations: 187.6 kB / 294.8 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004814/0.01229, allocations: 0.5839 MB / 295.4 MB, free: 3.699 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.01229, allocations: 0 / 295.4 MB, free: 3.699 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.0123, allocations: 0 / 295.4 MB, free: 3.699 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.01231, allocations: 0 / 295.4 MB, free: 3.699 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.0008792/0.01319, allocations: 0.9022 MB / 296.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.726e-05/0.01321, allocations: 8.031 kB / 296.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006474/0.01386, allocations: 273.8 kB / 296.6 MB, free: 2.48 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004087/0.01427, allocations: 410 kB / 297 MB, free: 2.051 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.01429, allocations: 33.38 kB / 297 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/0.01449, allocations: 124.3 kB / 297.2 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004606/0.01495, allocations: 0.549 MB / 297.7 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.01496, allocations: 7.938 kB / 297.7 MB, free: 1.273 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.01499, allocations: 20 kB / 297.7 MB, free: 1.254 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002181/0.01521, allocations: 88.91 kB / 297.8 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002496/0.01546, allocations: 206.6 kB / 298 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002101/0.01756, allocations: 2.896 MB / 300.9 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003795/0.01794, allocations: 253.8 kB / 301.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.01806, allocations: 99.23 kB / 301.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.01809, allocations: 8.5 kB / 301.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.01811, allocations: 43 kB / 301.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 1.954e-06/0.01811, allocations: 0 / 301.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=49): time 0.001005/0.01912, allocations: 0.7731 MB / 302.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.01915, allocations: 85.61 kB / 302.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.01934, allocations: 367 kB / 302.5 MB, free: 12.24 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.01937, allocations: 37.7 kB / 302.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.01949, allocations: 301.1 kB / 302.9 MB, free: 11.9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.01959, allocations: 202.3 kB / 303.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.01972, allocations: 150.4 kB / 303.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.812e-05/0.01981, allocations: 366.7 kB / 303.6 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.01992, allocations: 81.95 kB / 303.6 MB, free: 11.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.02013, allocations: 318 kB / 303.9 MB, free: 10.69 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/0.02052, allocations: 0.4909 MB / 304.4 MB, free: 10.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.02052, allocations: 0 / 304.4 MB, free: 10.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001088/0.02161, allocations: 0.7542 MB / 305.2 MB, free: 9.328 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.02162, allocations: 12.09 kB / 305.2 MB, free: 9.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.02163, allocations: 4 kB / 305.2 MB, free: 9.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.02282, allocations: 0.541 MB / 305.7 MB, free: 8.762 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.02309, allocations: 147.8 kB / 305.9 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003334/0.02643, allocations: 4.01 MB / 309.9 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.02662, allocations: 20 kB / 309.9 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.02665, allocations: 31.98 kB / 310 MB, free: 4.363 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,24,93.8%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001323/0.02679, allocations: 156.4 kB / 310.1 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.08e-05/0.02685, allocations: 51.89 kB / 310.2 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003629/0.02721, allocations: 337.5 kB / 310.5 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.02721, allocations: 8 kB / 310.5 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.02722, allocations: 0 / 310.5 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.02722, allocations: 3.984 kB / 310.5 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007931/0.02801, allocations: 0.6956 MB / 311.2 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.02802, allocations: 4 kB / 311.2 MB, free: 3.062 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007214/0.02874, allocations: 285 kB / 311.5 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.02878, allocations: 47.72 kB / 311.5 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.02878, allocations: 7.984 kB / 311.5 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/0.02882, allocations: 31.97 kB / 311.6 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.02882, allocations: 0 / 311.6 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.02883, allocations: 4 kB / 311.6 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000431/0.02926, allocations: 0.5073 MB / 312.1 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.665e-05/0.02931, allocations: 27.98 kB / 312.1 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.02945, allocations: 12 kB / 312.1 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.0295, allocations: 36.38 kB / 312.1 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.02952, allocations: 15.98 kB / 312.2 MB, free: 2.078 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.719e-05/0.0296, allocations: 144.7 kB / 312.3 MB, free: 1.938 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0296, allocations: 0 / 312.3 MB, free: 1.938 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000402/0.03001, allocations: 228 kB / 312.5 MB, free: 1.715 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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.0001031/0.03011, allocations: 116.2 kB / 312.6 MB, free: 1.594 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000963/0.03107, allocations: 0.7984 MB / 313.4 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/0.03109, allocations: 12.88 kB / 313.5 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.03126, allocations: 165.9 kB / 313.6 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005636/0.03182, allocations: 0.9499 MB / 314.6 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007443/0.03927, allocations: 1.346 MB / 315.9 MB, free: 14.08 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.03939, allocations: 190.4 kB / 316.1 MB, free: 13.87 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001736/0.03957, allocations: 76.95 kB / 316.2 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/0.03981, allocations: 151.3 kB / 316.3 MB, free: 13.65 MB / 314.7 MB Notification: Performance of SimCode: time 8.41e-07/0.03981, allocations: 4 kB / 316.3 MB, free: 13.64 MB / 314.7 MB Notification: Performance of Templates: time 0.01265/0.05246, allocations: 11.16 MB / 327.5 MB, free: 2.625 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Line.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.0391568383201957]