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.001182/0.001182, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001277/0.001277, allocations: 170 kB / 24.91 MB, free: 9.191 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.047/1.047, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2586/0.2586, allocations: 29.43 MB / 291.2 MB, free: 2.488 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 2.164e-06/2.164e-06, allocations: 0 / 316.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.718e-05, allocations: 2.312 kB / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.005231/0.005258, allocations: 5.253 MB / 322.1 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002703/0.007961, allocations: 1.78 MB / 323.9 MB, free: 8.922 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003517/0.008312, allocations: 31.75 kB / 323.9 MB, free: 8.891 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008548/0.009167, allocations: 0.5093 MB / 324.4 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006784/0.009846, allocations: 365.8 kB / 324.8 MB, free: 8.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008841/0.01073, allocations: 414.7 kB / 325.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009287/0.01166, allocations: 0.9276 MB / 326.1 MB, free: 6.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005093/0.01217, allocations: 438.2 kB / 326.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007935/0.01296, allocations: 0.6078 MB / 327.2 MB, free: 5.637 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000537/0.0135, allocations: 458.8 kB / 327.6 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.444e-05/0.01357, allocations: 59.98 kB / 327.7 MB, free: 5.129 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004601/0.01403, allocations: 263.4 kB / 327.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003101/0.01434, allocations: 443 kB / 328.4 MB, free: 4.438 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.01458, allocations: 291.3 kB / 328.6 MB, free: 4.152 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007943/0.01537, allocations: 0.767 MB / 329.4 MB, free: 3.383 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.01538, allocations: 0 / 329.4 MB, free: 3.383 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.01538, allocations: 0 / 329.4 MB, free: 3.383 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.01539, allocations: 0 / 329.4 MB, free: 3.383 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.0009729/0.01637, allocations: 0.9503 MB / 330.4 MB, free: 2.406 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.0164, allocations: 11.98 kB / 330.4 MB, free: 2.395 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006359/0.01704, allocations: 224.6 kB / 330.6 MB, free: 2.176 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004849/0.01752, allocations: 444.8 kB / 331 MB, free: 1.715 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/0.01756, allocations: 62.38 kB / 331.1 MB, free: 1.652 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.01769, allocations: 76.33 kB / 331.2 MB, free: 1.578 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009747/0.01867, allocations: 0.758 MB / 331.9 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.208e-05/0.0187, allocations: 7.938 kB / 331.9 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.779e-05/0.01877, allocations: 32 kB / 332 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.278e-05/0.01884, allocations: 57.92 kB / 332 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005884/0.01943, allocations: 317.4 kB / 332.3 MB, free: 312 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004156/0.02359, allocations: 4.182 MB / 336.5 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004253/0.02401, allocations: 209.4 kB / 336.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.02414, allocations: 77.75 kB / 336.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-05/0.02418, allocations: 8 kB / 336.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.02422, allocations: 43.25 kB / 336.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 2.775e-06/0.02422, allocations: 0 / 336.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.001068/0.02529, allocations: 453.5 kB / 337.3 MB, free: 11.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.02533, allocations: 85.11 kB / 337.4 MB, free: 11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.02569, allocations: 426.7 kB / 337.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.02572, allocations: 33.7 kB / 337.8 MB, free: 10.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.02595, allocations: 435.8 kB / 338.2 MB, free: 10.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.02607, allocations: 166.6 kB / 338.4 MB, free: 9.941 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/0.02625, allocations: 142.5 kB / 338.5 MB, free: 9.793 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.02638, allocations: 366.7 kB / 338.9 MB, free: 9.426 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.02653, allocations: 74.08 kB / 339 MB, free: 9.355 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003868/0.02691, allocations: 471.6 kB / 339.4 MB, free: 8.715 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000681/0.02759, allocations: 0.6358 MB / 340.1 MB, free: 7.895 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.0276, allocations: 4 kB / 340.1 MB, free: 7.891 MB / 314.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0008107/0.02841, allocations: 0.5097 MB / 340.6 MB, free: 7.375 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.02844, allocations: 11.94 kB / 340.6 MB, free: 7.363 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.02846, allocations: 16 kB / 340.6 MB, free: 7.348 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.208e-05/0.02849, allocations: 16 kB / 340.6 MB, free: 7.332 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007499/0.02924, allocations: 227.1 kB / 340.8 MB, free: 7.113 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.272e-05/0.02926, allocations: 23.94 kB / 340.9 MB, free: 7.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003978/0.02966, allocations: 31.95 kB / 340.9 MB, free: 7.059 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/0.02972, allocations: 35.98 kB / 340.9 MB, free: 7.023 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.0002274/0.02995, allocations: 176.3 kB / 341.1 MB, free: 6.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.069e-05/0.03004, allocations: 47.89 kB / 341.2 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005375/0.03058, allocations: 284.1 kB / 341.4 MB, free: 6.508 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.03059, allocations: 11.94 kB / 341.4 MB, free: 6.496 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.03059, allocations: 4 kB / 341.5 MB, free: 6.492 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.0306, allocations: 0 / 341.5 MB, free: 6.492 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.03195, allocations: 0.7966 MB / 342.2 MB, free: 5.637 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.03195, allocations: 4 kB / 342.3 MB, free: 5.633 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004534/0.03241, allocations: 126.4 kB / 342.4 MB, free: 5.512 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.03241, allocations: 4 kB / 342.4 MB, free: 5.508 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.03245, allocations: 12 kB / 342.4 MB, free: 5.496 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.03245, allocations: 7.984 kB / 342.4 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.03246, allocations: 7.938 kB / 342.4 MB, free: 5.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004454/0.0329, allocations: 396.8 kB / 342.8 MB, free: 5.051 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.296e-05/0.03298, allocations: 51.61 kB / 342.8 MB, free: 5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.873e-05/0.03304, allocations: 12 kB / 342.9 MB, free: 4.988 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.03325, allocations: 8 kB / 342.9 MB, free: 4.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.827e-05/0.03331, allocations: 43.81 kB / 342.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.03334, allocations: 12 kB / 342.9 MB, free: 4.926 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001773/0.03352, allocations: 160.7 kB / 343.1 MB, free: 4.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03352, allocations: 4 kB / 343.1 MB, free: 4.766 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006739/0.03419, allocations: 160 kB / 343.2 MB, free: 4.609 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.0001516/0.03434, allocations: 96.28 kB / 343.3 MB, free: 4.508 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005523/0.0349, allocations: 345.4 kB / 343.7 MB, free: 4.172 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.363e-05/0.03492, allocations: 8.5 kB / 343.7 MB, free: 4.164 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.03512, allocations: 149.3 kB / 343.8 MB, free: 4.012 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.03555, allocations: 132.6 kB / 343.9 MB, free: 3.887 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.03707, allocations: 1.192 MB / 345.1 MB, free: 2.629 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.03722, allocations: 218 kB / 345.4 MB, free: 2.395 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001919/0.03741, allocations: 81.12 kB / 345.4 MB, free: 2.316 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.03762, allocations: 155.3 kB / 345.6 MB, free: 2.164 MB / 314.7 MB Notification: Performance of SimCode: time 1.553e-06/0.03762, allocations: 0 / 345.6 MB, free: 2.164 MB / 314.7 MB Notification: Performance of Templates: time 0.008373/0.04599, allocations: 5.896 MB / 351.5 MB, free: 12.38 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 -s gbode -gbm=radauIIA3 -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.0330451517365873]