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.00175/0.00175, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002045/0.002045, allocations: 165.3 kB / 24.27 MB, free: 152 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.553/1.553, allocations: 177.1 MB / 204.6 MB, free: 5.582 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.3213/0.3213, allocations: 29.4 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.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.641e-05/3.811e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.008804/0.008842, allocations: 6.102 MB / 375 MB, free: 5.191 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003674/0.01252, allocations: 1.943 MB / 376.9 MB, free: 3.242 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002701/0.01279, allocations: 27.75 kB / 376.9 MB, free: 3.215 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00192/0.01471, allocations: 0.7118 MB / 377.6 MB, free: 2.5 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008334/0.01554, allocations: 389.7 kB / 378 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.0166, allocations: 414.7 kB / 378.4 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001092/0.0177, allocations: 0.9548 MB / 379.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006133/0.01831, allocations: 396.3 kB / 379.8 MB, free: 376 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008418/0.01915, allocations: 0.5724 MB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007762/0.01993, allocations: 0.5104 MB / 380.9 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.02003, allocations: 56 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005108/0.02055, allocations: 247.6 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005945/0.02114, allocations: 450.9 kB / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004013/0.02154, allocations: 307.3 kB / 381.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.02285, allocations: 1.044 MB / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.02285, allocations: 0 / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.02285, allocations: 0 / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.02287, allocations: 0 / 382.9 MB, free: 13.2 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002007/0.02487, allocations: 1.165 MB / 384.1 MB, free: 11.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.02491, allocations: 15.98 kB / 384.1 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.02608, allocations: 300 kB / 384.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.02712, allocations: 0.4885 MB / 384.9 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.058e-05/0.0272, allocations: 70.3 kB / 385 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.02732, allocations: 72.38 kB / 385 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.0288, allocations: 0.9337 MB / 386 MB, free: 9.953 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.749e-05/0.02884, allocations: 11.88 kB / 386 MB, free: 9.941 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.552e-05/0.02891, allocations: 35.94 kB / 386 MB, free: 9.906 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.387e-05/0.02898, allocations: 49.98 kB / 386.1 MB, free: 9.855 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009665/0.02995, allocations: 451.3 kB / 386.5 MB, free: 9.414 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006865/0.03682, allocations: 6.074 MB / 392.6 MB, free: 3.086 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/0.03743, allocations: 280.5 kB / 392.9 MB, free: 2.789 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.03768, allocations: 127.4 kB / 393 MB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.446e-05/0.03773, allocations: 12 kB / 393 MB, free: 2.645 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.03777, allocations: 41.39 kB / 393 MB, free: 2.594 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.234e-06/0.03777, allocations: 3.938 kB / 393 MB, free: 2.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001647/0.03942, allocations: 0.8081 MB / 393.8 MB, free: 1.773 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.03949, allocations: 81.11 kB / 393.9 MB, free: 1.676 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006631/0.04015, allocations: 0.5803 MB / 394.5 MB, free: 1.078 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.04019, allocations: 33.7 kB / 394.5 MB, free: 1.039 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000427/0.04061, allocations: 0.5253 MB / 395.1 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.04079, allocations: 170.6 kB / 395.2 MB, free: 348 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002522/0.04104, allocations: 176.4 kB / 395.4 MB, free: 160 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004909/0.04153, allocations: 0.5665 MB / 396 MB, free: 15.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.0418, allocations: 117.9 kB / 396.1 MB, free: 15.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007727/0.04257, allocations: 0.6888 MB / 396.8 MB, free: 14.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.04376, allocations: 0.8928 MB / 397.7 MB, free: 13.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.04377, allocations: 4 kB / 397.7 MB, free: 13.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00122/0.04499, allocations: 0.7045 MB / 398.4 MB, free: 12.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.04502, allocations: 15.94 kB / 398.4 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.207e-05/0.04504, allocations: 12 kB / 398.4 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.515e-05/0.04507, allocations: 16 kB / 398.4 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000757/0.04583, allocations: 224.3 kB / 398.6 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-05/0.04586, allocations: 23.94 kB / 398.7 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003924/0.04625, allocations: 51.95 kB / 398.7 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.754e-05/0.04632, allocations: 44 kB / 398.8 MB, free: 12.29 MB / 378.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.0002836/0.0466, allocations: 236.1 kB / 399 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.04672, allocations: 71.56 kB / 399.1 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008544/0.04758, allocations: 399.1 kB / 399.4 MB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.04759, allocations: 12 kB / 399.5 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.04759, allocations: 0 / 399.5 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.0476, allocations: 0 / 399.5 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/0.04975, allocations: 1.163 MB / 400.6 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.04976, allocations: 4 kB / 400.6 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004542/0.05021, allocations: 112.1 kB / 400.7 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.05022, allocations: 8 kB / 400.7 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.05025, allocations: 8 kB / 400.7 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.05025, allocations: 4 kB / 400.8 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/0.05026, allocations: 7.938 kB / 400.8 MB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000844/0.05111, allocations: 0.6144 MB / 401.4 MB, free: 9.508 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.05121, allocations: 59.48 kB / 401.4 MB, free: 9.449 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.947e-05/0.05128, allocations: 15.98 kB / 401.4 MB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/0.05154, allocations: 15.98 kB / 401.5 MB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.192e-05/0.05163, allocations: 39.88 kB / 401.5 MB, free: 9.379 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.05167, allocations: 20 kB / 401.5 MB, free: 9.359 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004131/0.05208, allocations: 327 kB / 401.8 MB, free: 9.043 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05208, allocations: 0 / 401.8 MB, free: 9.043 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007514/0.05283, allocations: 160 kB / 402 MB, free: 8.887 MB / 378.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.0001831/0.05302, allocations: 107.1 kB / 402.1 MB, free: 8.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.05404, allocations: 469.1 kB / 402.6 MB, free: 8.316 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.05404, allocations: 0 / 402.6 MB, free: 8.316 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002975/0.05434, allocations: 185.4 kB / 402.7 MB, free: 8.133 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006739/0.05501, allocations: 118.9 kB / 402.9 MB, free: 8.027 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.05712, allocations: 1.243 MB / 404.1 MB, free: 6.707 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.05761, allocations: 394.6 kB / 404.5 MB, free: 6.297 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004617/0.05807, allocations: 188.9 kB / 404.7 MB, free: 6.113 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.05821, allocations: 48.5 kB / 404.7 MB, free: 6.066 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.05821, allocations: 0 / 404.7 MB, free: 6.066 MB / 378.7 MB Notification: Performance of Templates: time 0.01257/0.07078, allocations: 5.422 MB / 410.1 MB, free: 0.7539 MB / 378.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Units.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: 4.94505930703599]