Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Units.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.001484/0.001484, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001481/0.001481, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.085/1.085, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.2506/0.2506, allocations: 29.42 MB / 291.2 MB, free: 2.41 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter_SI.i.[0-9,]+.|meter_SI.p.[0-9,]+.|meter_SI.v.[0-9,]+.|meter_pu.i.[0-9,]+.|meter_pu.p.[0-9,]+.|meter_pu.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter_SI.i.[0-9,]+.|meter_SI.p.[0-9,]+.|meter_SI.v.[0-9,]+.|meter_pu.i.[0-9,]+.|meter_pu.p.[0-9,]+.|meter_pu.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 316.8 MB, free: 48 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.677e-05/1.781e-05, allocations: 7.156 kB / 316.8 MB, free: 40 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.004696/0.004714, allocations: 5.192 MB / 322 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002797/0.00751, allocations: 1.784 MB / 323.8 MB, free: 9.031 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002868/0.007797, allocations: 31.75 kB / 323.8 MB, free: 9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006648/0.008462, allocations: 0.5132 MB / 324.3 MB, free: 8.484 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006238/0.009086, allocations: 373.8 kB / 324.7 MB, free: 8.117 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008431/0.009929, allocations: 418.7 kB / 325.1 MB, free: 7.707 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009621/0.01089, allocations: 0.9353 MB / 326.1 MB, free: 6.766 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000469/0.01136, allocations: 442.2 kB / 326.5 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008086/0.01217, allocations: 0.6 MB / 327.1 MB, free: 5.727 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005946/0.01276, allocations: 466.8 kB / 327.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.361e-05/0.01286, allocations: 56 kB / 327.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004358/0.01329, allocations: 251.4 kB / 327.8 MB, free: 4.969 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003055/0.0136, allocations: 447 kB / 328.3 MB, free: 4.531 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002512/0.01385, allocations: 295.3 kB / 328.6 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007161/0.01457, allocations: 0.767 MB / 329.3 MB, free: 3.473 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.452e-06/0.01457, allocations: 0 / 329.3 MB, free: 3.473 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01457, allocations: 0 / 329.3 MB, free: 3.473 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.01458, allocations: 0 / 329.3 MB, free: 3.473 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.0009616/0.01554, allocations: 0.9425 MB / 330.3 MB, free: 2.504 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.01557, allocations: 15.98 kB / 330.3 MB, free: 2.488 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006468/0.01622, allocations: 224.6 kB / 330.5 MB, free: 2.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005145/0.01674, allocations: 444.8 kB / 330.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.01677, allocations: 58.38 kB / 331 MB, free: 1.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.796e-05/0.01685, allocations: 80.31 kB / 331.1 MB, free: 1.672 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007131/0.01756, allocations: 0.758 MB / 331.8 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.01758, allocations: 7.938 kB / 331.8 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.796e-05/0.01763, allocations: 36 kB / 331.9 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.632e-05/0.01769, allocations: 53.91 kB / 331.9 MB, free: 0.707 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003918/0.01808, allocations: 317.4 kB / 332.2 MB, free: 408 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002734/0.02081, allocations: 4.186 MB / 336.4 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.02107, allocations: 206.6 kB / 336.6 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.15e-05/0.02115, allocations: 82.44 kB / 336.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.02118, allocations: 8 kB / 336.7 MB, free: 11.69 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.0212, allocations: 42.34 kB / 336.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 1.332e-06/0.0212, allocations: 0 / 336.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.0006429/0.02185, allocations: 453.7 kB / 337.2 MB, free: 11.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.02188, allocations: 81.11 kB / 337.3 MB, free: 11.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.02213, allocations: 426.7 kB / 337.7 MB, free: 10.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.02215, allocations: 33.7 kB / 337.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.02233, allocations: 439.8 kB / 338.2 MB, free: 10.19 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.658e-05/0.02241, allocations: 162.6 kB / 338.3 MB, free: 10.03 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.02253, allocations: 146.5 kB / 338.5 MB, free: 9.879 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.02268, allocations: 370.7 kB / 338.8 MB, free: 9.508 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.02287, allocations: 65.97 kB / 338.9 MB, free: 9.445 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.02318, allocations: 475.7 kB / 339.4 MB, free: 8.801 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005492/0.02373, allocations: 0.6319 MB / 340 MB, free: 7.984 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.02373, allocations: 4 kB / 340 MB, free: 7.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0006195/0.02435, allocations: 0.5099 MB / 340.5 MB, free: 7.465 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.02438, allocations: 19.88 kB / 340.5 MB, free: 7.445 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.02439, allocations: 12 kB / 340.5 MB, free: 7.434 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.02441, allocations: 16 kB / 340.5 MB, free: 7.418 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004878/0.0249, allocations: 195.7 kB / 340.7 MB, free: 7.227 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.236e-05/0.02492, allocations: 27.92 kB / 340.8 MB, free: 7.199 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.02515, allocations: 32.23 kB / 340.8 MB, free: 7.168 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.02518, allocations: 40 kB / 340.8 MB, free: 7.129 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (99): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002127/0.0254, allocations: 168.3 kB / 341 MB, free: 6.953 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.689e-05/0.02546, allocations: 43.95 kB / 341 MB, free: 6.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003688/0.02583, allocations: 288 kB / 341.3 MB, free: 6.621 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.02584, allocations: 8 kB / 341.3 MB, free: 6.613 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.02584, allocations: 0 / 341.3 MB, free: 6.613 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.02585, allocations: 3.984 kB / 341.3 MB, free: 6.609 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008986/0.02674, allocations: 0.8083 MB / 342.1 MB, free: 5.742 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.02675, allocations: 4 kB / 342.2 MB, free: 5.738 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.02695, allocations: 99.83 kB / 342.2 MB, free: 5.641 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.02696, allocations: 4 kB / 342.3 MB, free: 5.637 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.02698, allocations: 8 kB / 342.3 MB, free: 5.629 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.02698, allocations: 4 kB / 342.3 MB, free: 5.625 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.02699, allocations: 8.25 kB / 342.3 MB, free: 5.617 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003512/0.02734, allocations: 400.8 kB / 342.7 MB, free: 5.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.506e-05/0.0274, allocations: 55.61 kB / 342.7 MB, free: 5.125 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.02744, allocations: 12 kB / 342.7 MB, free: 5.113 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.02754, allocations: 12 kB / 342.7 MB, free: 5.102 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.02759, allocations: 39.81 kB / 342.8 MB, free: 5.062 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.0276, allocations: 12 kB / 342.8 MB, free: 5.051 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001165/0.02772, allocations: 160.7 kB / 342.9 MB, free: 4.895 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02772, allocations: 0 / 342.9 MB, free: 4.895 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004259/0.02814, allocations: 160 kB / 343.1 MB, free: 4.738 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (51): * Single equations (assignments): 50 * 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.0001403/0.02828, allocations: 96.94 kB / 343.2 MB, free: 4.637 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004279/0.02871, allocations: 352 kB / 343.5 MB, free: 4.293 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-05/0.02873, allocations: 8.5 kB / 343.6 MB, free: 4.285 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.02885, allocations: 138.9 kB / 343.7 MB, free: 4.145 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.02926, allocations: 135.3 kB / 343.8 MB, free: 4.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.03097, allocations: 1.199 MB / 345 MB, free: 2.754 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.03111, allocations: 210 kB / 345.2 MB, free: 2.527 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002757/0.03138, allocations: 89 kB / 345.3 MB, free: 2.441 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.03159, allocations: 151.3 kB / 345.5 MB, free: 2.293 MB / 314.7 MB Notification: Performance of SimCode: time 1.162e-06/0.03159, allocations: 4 kB / 345.5 MB, free: 2.289 MB / 314.7 MB Notification: Performance of Templates: time 0.009264/0.04086, allocations: 5.811 MB / 351.3 MB, free: 12.58 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Units_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Units.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.2439564848318696]