Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 105.2 kB / 17.01 MB, free: 5.789 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 196.5 kB / 17.95 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.3874/0.3874, allocations: 225.7 MB / 244.4 MB, free: 5.133 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5468/0.5468, allocations: 119.5 MB / 414 MB, free: 10.43 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009922/0.0009922, allocations: 59.91 kB / 0.4946 GB, free: 13.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4191, allocations: 80.69 MB / 0.5734 GB, free: 56.27 MB / 478.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.001947/0.4211, allocations: 1.404 MB / 0.5747 GB, free: 55.3 MB / 478.2 MB Notification: Performance of NFInst.instExpressions: time 0.0007456/0.4219, allocations: 0.5707 MB / 0.5753 GB, free: 54.91 MB / 478.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.114e-05/0.4219, allocations: 5.188 kB / 0.5753 GB, free: 54.91 MB / 478.2 MB Notification: Performance of NFTyping.typeComponents: time 0.0003625/0.4223, allocations: 444 kB / 0.5757 GB, free: 54.83 MB / 478.2 MB Notification: Performance of NFTyping.typeBindings: time 0.0004535/0.4228, allocations: 489.5 kB / 0.5762 GB, free: 54.73 MB / 478.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.423, allocations: 83.67 kB / 0.5763 GB, free: 54.7 MB / 478.2 MB Notification: Performance of NFFlatten.flatten: time 0.0009541/0.424, allocations: 1.134 MB / 0.5774 GB, free: 54.48 MB / 478.2 MB Notification: Performance of NFFlatten.resolveConnections: time 3.305e-05/0.424, allocations: 4.094 kB / 0.5774 GB, free: 54.48 MB / 478.2 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009131/0.425, allocations: 0.56 MB / 0.5779 GB, free: 54.39 MB / 478.2 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001387/0.4263, allocations: 1.032 MB / 0.5789 GB, free: 54.23 MB / 478.2 MB Notification: Performance of NFPackage.collectConstants: time 0.0002357/0.4266, allocations: 66 kB / 0.579 GB, free: 54.23 MB / 478.2 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002391/0.4268, allocations: 146 kB / 0.5791 GB, free: 54.2 MB / 478.2 MB Notification: Performance of NFScalarize.scalarize: time 0.002234/0.4291, allocations: 2.496 MB / 0.5816 GB, free: 53.55 MB / 478.2 MB Notification: Performance of NFVerifyModel.verify: time 0.001288/0.4304, allocations: 1.421 MB / 0.583 GB, free: 52.43 MB / 478.2 MB Notification: Performance of NFConvertDAE.convert: time 0.002166/0.4325, allocations: 3.165 MB / 0.586 GB, free: 50.94 MB / 478.2 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.4326, allocations: 3.375 kB / 0.586 GB, free: 50.94 MB / 478.2 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4326, allocations: 0 / 0.586 GB, free: 50.94 MB / 478.2 MB Notification: Performance of Transformations before backend: time 4.063e-05/0.4326, allocations: 7.938 kB / 0.5861 GB, free: 50.93 MB / 478.2 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.003706/0.4363, allocations: 5.172 MB / 0.5911 GB, free: 47.05 MB / 478.2 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.4364, allocations: 8.844 kB / 0.5911 GB, free: 47.05 MB / 478.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003752/0.4367, allocations: 0.5532 MB / 0.5917 GB, free: 46.73 MB / 478.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00642/0.4432, allocations: 6.525 MB / 0.598 GB, free: 42.82 MB / 478.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.4432, allocations: 2.562 kB / 0.598 GB, free: 42.82 MB / 478.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.614e-05/0.4432, allocations: 18.34 kB / 0.598 GB, free: 42.82 MB / 478.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.4435, allocations: 252.2 kB / 0.5983 GB, free: 42.71 MB / 478.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.4435, allocations: 5.188 kB / 0.5983 GB, free: 42.71 MB / 478.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/0.4436, allocations: 15.81 kB / 0.5983 GB, free: 42.71 MB / 478.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.4436, allocations: 4.891 kB / 0.5983 GB, free: 42.71 MB / 478.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.4437, allocations: 130.8 kB / 0.5984 GB, free: 42.62 MB / 478.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.4448, allocations: 1.862 MB / 0.6003 GB, free: 40.71 MB / 478.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.445, allocations: 98.58 kB / 0.6003 GB, free: 40.61 MB / 478.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.4451, allocations: 92.89 kB / 0.6004 GB, free: 40.51 MB / 478.2 MB Notification: Performance of preOpt evalFunc (simulation): time 8.726e-06/0.4451, allocations: 4 kB / 0.6004 GB, free: 40.51 MB / 478.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.4453, allocations: 256.8 kB / 0.6007 GB, free: 40.24 MB / 478.2 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.4453, allocations: 0 / 0.6007 GB, free: 40.24 MB / 478.2 MB Notification: Performance of matching and sorting (n=8): time 0.000872/0.4462, allocations: 1.168 MB / 0.6018 GB, free: 39.05 MB / 478.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.4462, allocations: 81.09 kB / 0.6019 GB, free: 38.95 MB / 478.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004192/0.4504, allocations: 6.275 MB / 0.608 GB, free: 32.72 MB / 478.2 MB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.4504, allocations: 45.7 kB / 0.6081 GB, free: 32.67 MB / 478.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.001264/0.4517, allocations: 2.52 MB / 0.6105 GB, free: 30.15 MB / 478.2 MB Notification: Performance of collectInitialBindings (initialization): time 5.151e-05/0.4518, allocations: 35.75 kB / 0.6106 GB, free: 30.11 MB / 478.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.4519, allocations: 133.7 kB / 0.6107 GB, free: 29.98 MB / 478.2 MB Notification: Performance of setup shared object (initialization): time 2.967e-05/0.4519, allocations: 306 kB / 0.611 GB, free: 29.67 MB / 478.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.621e-05/0.452, allocations: 83.98 kB / 0.6111 GB, free: 29.59 MB / 478.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.694e-05/0.4521, allocations: 79.94 kB / 0.6111 GB, free: 29.51 MB / 478.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.4523, allocations: 232.2 kB / 0.6114 GB, free: 29.27 MB / 478.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4523, allocations: 0 / 0.6114 GB, free: 29.27 MB / 478.2 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007002/0.453, allocations: 1.086 MB / 0.6124 GB, free: 28.16 MB / 478.2 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.4531, allocations: 41.78 kB / 0.6125 GB, free: 28.12 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.4531, allocations: 3.938 kB / 0.6125 GB, free: 28.11 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.4531, allocations: 0 / 0.6125 GB, free: 28.11 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.161e-05/0.4531, allocations: 11.94 kB / 0.6125 GB, free: 28.1 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.4531, allocations: 0 / 0.6125 GB, free: 28.1 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.4535, allocations: 20 kB / 0.6125 GB, free: 28.08 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.4536, allocations: 220 kB / 0.6127 GB, free: 27.87 MB / 478.2 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0009284/0.4545, allocations: 1.339 MB / 0.614 GB, free: 26.51 MB / 478.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000283/0.4548, allocations: 0.5746 MB / 0.6146 GB, free: 25.93 MB / 478.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004204/0.4553, allocations: 0.648 MB / 0.6152 GB, free: 25.27 MB / 478.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4553, allocations: 0 / 0.6152 GB, free: 25.27 MB / 478.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.4553, allocations: 0 / 0.6152 GB, free: 25.27 MB / 478.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.4553, allocations: 4 kB / 0.6152 GB, free: 25.27 MB / 478.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.4564, allocations: 2.022 MB / 0.6172 GB, free: 23.2 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4564, allocations: 0 / 0.6172 GB, free: 23.2 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.699e-05/0.4564, allocations: 3.938 kB / 0.6172 GB, free: 23.2 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.4564, allocations: 4 kB / 0.6172 GB, free: 23.19 MB / 478.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.531e-05/0.4565, allocations: 51.98 kB / 0.6172 GB, free: 23.14 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4565, allocations: 0 / 0.6172 GB, free: 23.14 MB / 478.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4565, allocations: 4 kB / 0.6173 GB, free: 23.14 MB / 478.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007571/0.4572, allocations: 1.172 MB / 0.6184 GB, free: 21.93 MB / 478.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004475/0.4577, allocations: 0.564 MB / 0.6189 GB, free: 21.34 MB / 478.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/0.4579, allocations: 20 kB / 0.619 GB, free: 21.32 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003148/0.4582, allocations: 20 kB / 0.619 GB, free: 21.3 MB / 478.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.289e-05/0.4583, allocations: 0 / 0.619 GB, free: 21.3 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/0.4584, allocations: 224 kB / 0.6192 GB, free: 21.09 MB / 478.2 MB Notification: Performance of sorting global known variables: time 0.003515/0.4619, allocations: 4.336 MB / 0.6234 GB, free: 16.79 MB / 478.2 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4619, allocations: 4 kB / 0.6234 GB, free: 16.79 MB / 478.2 MB Notification: Performance of remove unused functions: time 0.0004158/0.4623, allocations: 188 kB / 0.6236 GB, free: 16.6 MB / 478.2 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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.0001398/0.4625, allocations: 143.3 kB / 0.6238 GB, free: 16.46 MB / 478.2 MB Notification: Performance of simCode: created initialization part: time 0.0003241/0.4628, allocations: 275.4 kB / 0.624 GB, free: 16.18 MB / 478.2 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.4628, allocations: 0 / 0.624 GB, free: 16.18 MB / 478.2 MB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.463, allocations: 191.6 kB / 0.6242 GB, free: 15.98 MB / 478.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009452/0.4639, allocations: 441.2 kB / 0.6246 GB, free: 15.54 MB / 478.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005906/0.4699, allocations: 8.38 MB / 0.6328 GB, free: 7.133 MB / 478.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001428/0.4713, allocations: 2.728 MB / 0.6355 GB, free: 4.379 MB / 478.2 MB Notification: Performance of simCode: alias equations: time 0.001525/0.4728, allocations: 1.141 MB / 0.6366 GB, free: 3.23 MB / 478.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.473, allocations: 259.4 kB / 0.6368 GB, free: 2.977 MB / 478.2 MB Notification: Performance of SimCode: time 2.41e-07/0.473, allocations: 0 / 0.6368 GB, free: 2.977 MB / 478.2 MB Notification: Performance of Templates: time 0.02242/0.4954, allocations: 20.81 MB / 0.6571 GB, free: 14.12 MB / 0.4983 GB make -j1 -f ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","../files/ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches