Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.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.00143/0.00143, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001582/0.001582, allocations: 161.7 kB / 24.26 MB, free: 180 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.645/1.645, allocations: 177.2 MB / 204.6 MB, free: 5.586 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.2896/0.2896, allocations: 29.41 MB / 290.5 MB, free: 2.441 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.Tables,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|table.u|table.y.1.|table.y.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Tables") translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|table.u|table.y.1.|table.y.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Tables") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.19e-05/3.414e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003363/0.003397, allocations: 1.511 MB / 370.4 MB, free: 9.812 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.004469, allocations: 482.6 kB / 370.8 MB, free: 9.336 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.518e-05/0.004524, allocations: 0 / 370.8 MB, free: 9.336 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002337/0.004758, allocations: 27.78 kB / 370.9 MB, free: 9.309 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.005071, allocations: 75.62 kB / 370.9 MB, free: 9.234 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.005341, allocations: 87.7 kB / 371 MB, free: 9.148 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.005509, allocations: 67.75 kB / 371.1 MB, free: 9.082 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.581e-05/0.005554, allocations: 12.19 kB / 371.1 MB, free: 9.07 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.00573, allocations: 39.89 kB / 371.1 MB, free: 9.031 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.441e-05/0.005805, allocations: 19.92 kB / 371.2 MB, free: 9.012 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.005824, allocations: 7.938 kB / 371.2 MB, free: 9.004 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002189/0.006043, allocations: 83.88 kB / 371.3 MB, free: 8.922 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.885e-05/0.006112, allocations: 23.92 kB / 371.3 MB, free: 8.898 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.392e-05/0.006156, allocations: 15.92 kB / 371.3 MB, free: 8.883 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.006518, allocations: 143.5 kB / 371.4 MB, free: 8.742 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.006523, allocations: 3.938 kB / 371.4 MB, free: 8.738 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.006524, allocations: 4 kB / 371.4 MB, free: 8.734 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.006529, allocations: 0 / 371.4 MB, free: 8.734 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005836/0.007113, allocations: 325.6 kB / 371.8 MB, free: 8.387 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.007157, allocations: 11.98 kB / 371.8 MB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.852e-05/0.007226, allocations: 12.89 kB / 371.8 MB, free: 8.363 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005312/0.007757, allocations: 141.6 kB / 371.9 MB, free: 8.199 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.007769, allocations: 384 / 371.9 MB, free: 8.199 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.007786, allocations: 8.375 kB / 371.9 MB, free: 8.191 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.007964, allocations: 85.61 kB / 372 MB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.007972, allocations: 192 / 372 MB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.007988, allocations: 11.94 kB / 372 MB, free: 8.078 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.007992, allocations: 0 / 372 MB, free: 8.078 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.651e-05/0.008059, allocations: 19.98 kB / 372 MB, free: 8.059 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.008462, allocations: 224.6 kB / 372.3 MB, free: 7.809 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.008571, allocations: 46.5 kB / 372.3 MB, free: 7.754 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.906e-05/0.0086, allocations: 8.859 kB / 372.3 MB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.008624, allocations: 0 / 372.3 MB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.00866, allocations: 30.56 kB / 372.4 MB, free: 7.703 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.008661, allocations: 0 / 372.4 MB, free: 7.703 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002185/0.008879, allocations: 61.83 kB / 372.4 MB, free: 7.637 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/0.008946, allocations: 85.05 kB / 372.5 MB, free: 7.535 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.009159, allocations: 164.6 kB / 372.7 MB, free: 7.367 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.00918, allocations: 25.7 kB / 372.7 MB, free: 7.336 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.8e-05/0.009258, allocations: 96.12 kB / 372.8 MB, free: 7.238 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.009282, allocations: 11.84 kB / 372.8 MB, free: 7.227 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/0.009321, allocations: 13.72 kB / 372.8 MB, free: 7.207 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.009515, allocations: 322.8 kB / 373.1 MB, free: 6.883 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.957e-05/0.009534, allocations: 4 kB / 373.1 MB, free: 6.879 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.661e-05/0.009591, allocations: 51.39 kB / 373.2 MB, free: 6.816 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.165e-05/0.009632, allocations: 16.86 kB / 373.2 MB, free: 6.797 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.009636, allocations: 3.938 kB / 373.2 MB, free: 6.793 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001043/0.009741, allocations: 57.66 kB / 373.2 MB, free: 6.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.009756, allocations: 4 kB / 373.2 MB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.009761, allocations: 0 / 373.2 MB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.007e-05/0.009791, allocations: 4 kB / 373.3 MB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.334e-05/0.009844, allocations: 4 kB / 373.3 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.00985, allocations: 0 / 373.3 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.464e-05/0.009884, allocations: 7.953 kB / 373.3 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.009892, allocations: 4 kB / 373.3 MB, free: 6.707 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001094/0.01, allocations: 121.8 kB / 373.4 MB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.01004, allocations: 7.953 kB / 373.4 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/0.01018, allocations: 62.02 kB / 373.5 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.01018, allocations: 4 kB / 373.5 MB, free: 6.496 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.01018, allocations: 0 / 373.5 MB, free: 6.496 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.01019, allocations: 0 / 373.5 MB, free: 6.496 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.01036, allocations: 117.3 kB / 373.6 MB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.01036, allocations: 7.875 kB / 373.6 MB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.205e-05/0.0104, allocations: 7.984 kB / 373.6 MB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.0104, allocations: 0 / 373.6 MB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.0104, allocations: 0 / 373.6 MB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.0104, allocations: 0 / 373.6 MB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01041, allocations: 0 / 373.6 MB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.01057, allocations: 155.5 kB / 373.7 MB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.018e-05/0.01059, allocations: 7.891 kB / 373.7 MB, free: 6.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.01061, allocations: 4 kB / 373.8 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.33e-05/0.01067, allocations: 0 / 373.8 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.01069, allocations: 7.922 kB / 373.8 MB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.01069, allocations: 0 / 373.8 MB, free: 6.148 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001287/0.01082, allocations: 123.2 kB / 373.9 MB, free: 6.027 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01082, allocations: 0 / 373.9 MB, free: 6.027 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000293/0.01112, allocations: 35.88 kB / 373.9 MB, free: 5.992 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.002001/0.01312, allocations: 486.5 kB / 374.4 MB, free: 5.707 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.01322, allocations: 15.98 kB / 374.4 MB, free: 5.691 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.01322, allocations: 0 / 374.4 MB, free: 5.691 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.075e-05/0.01324, allocations: 11.94 kB / 374.4 MB, free: 5.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.01364, allocations: 23.3 kB / 374.4 MB, free: 5.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004206/0.01406, allocations: 160.4 kB / 374.6 MB, free: 5.477 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.584e-05/0.01416, allocations: 75.27 kB / 374.7 MB, free: 5.383 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.826e-05/0.01422, allocations: 15.97 kB / 374.7 MB, free: 5.367 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.725e-05/0.01428, allocations: 24.48 kB / 374.7 MB, free: 5.344 MB / 346.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01428, allocations: 0 / 374.7 MB, free: 5.344 MB / 346.7 MB Notification: Performance of Templates: time 0.00508/0.01936, allocations: 1.655 MB / 376.4 MB, free: 3.699 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Tables -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Tables.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.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.829940752009861]