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.001372/0.001372, allocations: 73.98 kB / 22.21 MB, free: 2.297 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.001691/0.001691, allocations: 165.1 kB / 25.61 MB, free: 8.902 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 0.9259/0.9259, allocations: 177.2 MB / 206.1 MB, free: 4.508 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.1838/0.1838, allocations: 29.44 MB / 292 MB, free: 2.617 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.563e-06/1.563e-06, allocations: 0 / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049e-05/1.205e-05, allocations: 2.312 kB / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.007061/0.007073, allocations: 5.187 MB / 376.1 MB, free: 27.12 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005058/0.01213, allocations: 1.745 MB / 377.8 MB, free: 25.38 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000217/0.01235, allocations: 31.75 kB / 377.8 MB, free: 25.34 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007705/0.01312, allocations: 0.5054 MB / 378.3 MB, free: 24.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005025/0.01362, allocations: 369.8 kB / 378.7 MB, free: 24.47 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002708/0.01633, allocations: 430.7 kB / 379.1 MB, free: 24.05 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006755/0.017, allocations: 0.9368 MB / 380.1 MB, free: 23.11 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003791/0.01738, allocations: 396.3 kB / 380.4 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005681/0.01795, allocations: 0.5961 MB / 381 MB, free: 22.12 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004319/0.01838, allocations: 494.7 kB / 381.5 MB, free: 21.64 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.177e-05/0.01845, allocations: 56 kB / 381.6 MB, free: 21.58 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.02078, allocations: 247.5 kB / 381.8 MB, free: 21.34 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002449/0.02102, allocations: 442.9 kB / 382.3 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002188/0.02124, allocations: 299.3 kB / 382.5 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005818/0.02182, allocations: 0.7709 MB / 383.3 MB, free: 19.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.02183, allocations: 0 / 383.3 MB, free: 19.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.02183, allocations: 0 / 383.3 MB, free: 19.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.02183, allocations: 4 kB / 383.3 MB, free: 19.84 MB / 314.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.003003/0.02484, allocations: 1.087 MB / 384.4 MB, free: 18.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.02487, allocations: 12.03 kB / 384.4 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007297/0.0256, allocations: 248.1 kB / 384.7 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.02708, allocations: 466.2 kB / 385.1 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.02712, allocations: 58.36 kB / 385.2 MB, free: 17.92 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.954e-05/0.0272, allocations: 72.38 kB / 385.2 MB, free: 17.85 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006526/0.02785, allocations: 0.8203 MB / 386.1 MB, free: 16.89 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.02788, allocations: 15.86 kB / 386.1 MB, free: 16.87 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.147e-05/0.02793, allocations: 32 kB / 386.1 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.735e-05/0.02797, allocations: 53.98 kB / 386.2 MB, free: 16.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000411/0.02838, allocations: 353.2 kB / 386.5 MB, free: 16.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007599/0.03598, allocations: 5.806 MB / 392.3 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.03629, allocations: 222.5 kB / 392.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.03639, allocations: 99.36 kB / 392.6 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.03641, allocations: 12.69 kB / 392.6 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.03643, allocations: 41.39 kB / 392.7 MB, free: 9.969 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 1.994e-06/0.03644, allocations: 0 / 392.7 MB, free: 9.969 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.0008001/0.03724, allocations: 0.5113 MB / 393.2 MB, free: 9.449 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.03726, allocations: 81.11 kB / 393.3 MB, free: 9.352 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.03754, allocations: 0.5096 MB / 393.8 MB, free: 8.824 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.03756, allocations: 37.83 kB / 393.8 MB, free: 8.781 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003196/0.04076, allocations: 0.5174 MB / 394.3 MB, free: 8.258 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.168e-05/0.04085, allocations: 170.6 kB / 394.5 MB, free: 8.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.04099, allocations: 160.2 kB / 394.7 MB, free: 7.922 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.07e-05/0.04108, allocations: 0.5429 MB / 395.2 MB, free: 7.367 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.04119, allocations: 81.92 kB / 395.3 MB, free: 7.289 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.04146, allocations: 0.638 MB / 395.9 MB, free: 6.402 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004834/0.04194, allocations: 0.8068 MB / 396.7 MB, free: 5.344 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.04194, allocations: 4 kB / 396.7 MB, free: 5.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0006626/0.04261, allocations: 0.6192 MB / 397.3 MB, free: 4.715 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.04263, allocations: 11.94 kB / 397.4 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.04264, allocations: 16 kB / 397.4 MB, free: 4.688 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.04266, allocations: 27.95 kB / 397.4 MB, free: 4.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004315/0.04309, allocations: 195.7 kB / 397.6 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.04311, allocations: 31.86 kB / 397.6 MB, free: 4.438 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.04339, allocations: 31.95 kB / 397.7 MB, free: 4.406 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.811e-05/0.04342, allocations: 36 kB / 397.7 MB, free: 4.371 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.003143/0.04657, allocations: 216.2 kB / 397.9 MB, free: 4.148 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.396e-05/0.04664, allocations: 67.61 kB / 398 MB, free: 4.082 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004157/0.04706, allocations: 347.1 kB / 398.3 MB, free: 3.734 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.04706, allocations: 4 kB / 398.3 MB, free: 3.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.04706, allocations: 4 kB / 398.3 MB, free: 3.727 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.04707, allocations: 3.984 kB / 398.3 MB, free: 3.723 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009596/0.04803, allocations: 0.9966 MB / 399.3 MB, free: 2.652 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.04803, allocations: 8.25 kB / 399.3 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.04828, allocations: 103.8 kB / 399.4 MB, free: 2.543 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.778e-06/0.04829, allocations: 4 kB / 399.4 MB, free: 2.539 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.0483, allocations: 8 kB / 399.4 MB, free: 2.531 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.04831, allocations: 4 kB / 399.4 MB, free: 2.527 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.04831, allocations: 8 kB / 399.4 MB, free: 2.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.04866, allocations: 0.5479 MB / 400 MB, free: 1.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.494e-05/0.0487, allocations: 43.67 kB / 400 MB, free: 1.867 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.674e-05/0.04875, allocations: 19.98 kB / 400.1 MB, free: 1.848 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.04891, allocations: 12 kB / 400.1 MB, free: 1.836 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.04896, allocations: 43.81 kB / 400.1 MB, free: 1.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.04897, allocations: 8 kB / 400.1 MB, free: 1.785 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001294/0.0491, allocations: 283 kB / 400.4 MB, free: 1.512 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0491, allocations: 0 / 400.4 MB, free: 1.512 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003543/0.05265, allocations: 160 kB / 400.6 MB, free: 1.355 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 8.731e-05/0.05273, allocations: 111.1 kB / 400.7 MB, free: 1.238 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003867/0.05312, allocations: 388.1 kB / 401 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.05312, allocations: 0 / 401 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.05326, allocations: 148.6 kB / 401.2 MB, free: 0.707 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005218/0.05378, allocations: 110.2 kB / 401.3 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00466/0.05844, allocations: 1.227 MB / 402.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.05862, allocations: 214 kB / 402.7 MB, free: 15.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002394/0.05886, allocations: 85.06 kB / 402.8 MB, free: 14.99 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/0.05911, allocations: 182.1 kB / 403 MB, free: 14.81 MB / 330.7 MB Notification: Performance of SimCode: time 8.61e-07/0.05911, allocations: 0 / 403 MB, free: 14.81 MB / 330.7 MB Notification: Performance of Templates: time 0.01185/0.07095, allocations: 5.942 MB / 408.9 MB, free: 8.992 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.3763251756317914]