Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.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_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008494/0.0008495, allocations: 87.11 kB / 16.31 MB, free: 6.449 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.001003/0.001003, allocations: 179.7 kB / 17.21 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.163/1.163, allocations: 223.3 MB / 241.2 MB, free: 14.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7255/0.7255, allocations: 120.5 MB / 412.8 MB, free: 9.258 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002678/0.0002678, allocations: 8 kB / 0.4943 GB, free: 11.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3962, allocations: 82.83 MB / 0.5752 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.001015/0.3973, allocations: 1.117 MB / 0.5763 GB, free: 40.43 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006208/0.3979, allocations: 0.5308 MB / 0.5768 GB, free: 40.02 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.375e-05/0.398, allocations: 0 / 0.5768 GB, free: 40.02 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0005723/0.3986, allocations: 0.9576 MB / 0.5777 GB, free: 39.61 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0005925/0.3992, allocations: 0.9919 MB / 0.5787 GB, free: 39.18 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.3994, allocations: 56.34 kB / 0.5787 GB, free: 39.15 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001092/0.4005, allocations: 1.851 MB / 0.5805 GB, free: 38.1 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.742e-05/0.4005, allocations: 5.812 kB / 0.5805 GB, free: 38.1 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007068/0.4012, allocations: 1.133 MB / 0.5817 GB, free: 37.59 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001451/0.4027, allocations: 2.057 MB / 0.5837 GB, free: 36.76 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0002396/0.4029, allocations: 126.7 kB / 0.5838 GB, free: 36.76 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003107/0.4032, allocations: 190.9 kB / 0.584 GB, free: 36.73 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.003255/0.4065, allocations: 4.987 MB / 0.5888 GB, free: 32.4 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.000432/0.4069, allocations: 1.008 MB / 0.5898 GB, free: 31.38 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001947/0.4089, allocations: 4.543 MB / 0.5943 GB, free: 26.83 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4089, allocations: 0 / 0.5943 GB, free: 26.83 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4089, allocations: 0 / 0.5943 GB, free: 26.83 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.173e-05/0.4089, allocations: 4 kB / 0.5943 GB, free: 26.82 MB / 462.3 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.005615/0.4146, allocations: 8.915 MB / 0.603 GB, free: 17.79 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.784e-05/0.4146, allocations: 12.03 kB / 0.603 GB, free: 17.77 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005844/0.4152, allocations: 1.106 MB / 0.6041 GB, free: 16.65 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01243/0.4276, allocations: 12.34 MB / 0.6161 GB, free: 4.199 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.4276, allocations: 4 kB / 0.6161 GB, free: 4.195 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-05/0.4277, allocations: 32 kB / 0.6161 GB, free: 4.164 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003704/0.4281, allocations: 425.3 kB / 0.6165 GB, free: 3.742 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.4281, allocations: 0 / 0.6165 GB, free: 3.742 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.317e-05/0.4282, allocations: 36 kB / 0.6166 GB, free: 3.707 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.4282, allocations: 3.953 kB / 0.6166 GB, free: 3.703 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002549/0.4284, allocations: 236 kB / 0.6168 GB, free: 3.473 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/0.4305, allocations: 3.572 MB / 0.6203 GB, free: 15.85 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.4308, allocations: 170.5 kB / 0.6205 GB, free: 15.68 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.431, allocations: 148.9 kB / 0.6206 GB, free: 15.53 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.431, allocations: 0 / 0.6206 GB, free: 15.53 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000419/0.4314, allocations: 424.7 kB / 0.621 GB, free: 15.09 MB / 478.3 MB Notification: Performance of pre-optimization done (n=8): time 1.163e-06/0.4315, allocations: 3.938 kB / 0.621 GB, free: 15.09 MB / 478.3 MB Notification: Performance of matching and sorting (n=8): time 0.002027/0.4335, allocations: 2.192 MB / 0.6232 GB, free: 12.88 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.992e-05/0.4335, allocations: 81.06 kB / 0.6232 GB, free: 12.78 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01119/0.4447, allocations: 12.43 MB / 0.6354 GB, free: 456 kB / 478.3 MB Notification: Performance of collectPreVariables (initialization): time 6.086e-05/0.4448, allocations: 57.7 kB / 0.6354 GB, free: 392 kB / 478.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.004094/0.4489, allocations: 5.208 MB / 0.6405 GB, free: 11.16 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 8.268e-05/0.449, allocations: 55.64 kB / 0.6406 GB, free: 11.11 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.4491, allocations: 32 kB / 0.6406 GB, free: 11.08 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 7.854e-05/0.4491, allocations: 314 kB / 0.6409 GB, free: 10.77 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.4494, allocations: 143.9 kB / 0.641 GB, free: 10.62 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.4496, allocations: 144 kB / 0.6412 GB, free: 10.48 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.4498, allocations: 169.7 kB / 0.6413 GB, free: 10.31 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4498, allocations: 0 / 0.6413 GB, free: 10.31 MB / 494.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001766/0.4516, allocations: 2.051 MB / 0.6433 GB, free: 8.234 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.4516, allocations: 40.36 kB / 0.6434 GB, free: 8.191 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.4516, allocations: 0 / 0.6434 GB, free: 8.191 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.4517, allocations: 4 kB / 0.6434 GB, free: 8.188 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.693e-05/0.4517, allocations: 7.984 kB / 0.6434 GB, free: 8.18 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.4517, allocations: 0 / 0.6434 GB, free: 8.18 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005843/0.4523, allocations: 39.95 kB / 0.6434 GB, free: 8.141 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000307/0.4526, allocations: 440 kB / 0.6438 GB, free: 7.711 MB / 494.3 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002511/0.4552, allocations: 2.525 MB / 0.6463 GB, free: 5.168 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007781/0.4559, allocations: 1.134 MB / 0.6474 GB, free: 4.02 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.457, allocations: 1.284 MB / 0.6487 GB, free: 2.727 MB / 494.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.457, allocations: 7.938 kB / 0.6487 GB, free: 2.719 MB / 494.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.457, allocations: 0 / 0.6487 GB, free: 2.719 MB / 494.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.457, allocations: 0 / 0.6487 GB, free: 2.719 MB / 494.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002926/0.46, allocations: 3.896 MB / 0.6525 GB, free: 14.78 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.46, allocations: 0 / 0.6525 GB, free: 14.78 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.17e-05/0.46, allocations: 0 / 0.6525 GB, free: 14.78 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.46, allocations: 3.938 kB / 0.6525 GB, free: 14.77 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.17e-05/0.4601, allocations: 100 kB / 0.6526 GB, free: 14.68 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4601, allocations: 0 / 0.6526 GB, free: 14.68 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4601, allocations: 0 / 0.6526 GB, free: 14.68 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.4619, allocations: 2.17 MB / 0.6547 GB, free: 12.47 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009891/0.4629, allocations: 1.033 MB / 0.6557 GB, free: 11.4 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004099/0.4633, allocations: 40 kB / 0.6557 GB, free: 11.36 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005636/0.4639, allocations: 36.08 kB / 0.6558 GB, free: 11.33 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.4639, allocations: 7.938 kB / 0.6558 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003066/0.4642, allocations: 440 kB / 0.6562 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.008441/0.4727, allocations: 8.539 MB / 0.6645 GB, free: 2.43 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4727, allocations: 3.938 kB / 0.6646 GB, free: 2.426 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0006952/0.4734, allocations: 344 kB / 0.6649 GB, free: 2.09 MB / 0.4983 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001874/0.4736, allocations: 155.2 kB / 0.665 GB, free: 1.93 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0005825/0.4742, allocations: 411.4 kB / 0.6654 GB, free: 1.516 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4742, allocations: 0 / 0.6654 GB, free: 1.516 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0003314/0.4745, allocations: 267.4 kB / 0.6657 GB, free: 1.242 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.476, allocations: 0.8497 MB / 0.6665 GB, free: 400 kB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01716/0.4931, allocations: 18.11 MB / 0.6842 GB, free: 14.24 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003861/0.497, allocations: 4.789 MB / 0.6889 GB, free: 9.426 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.005085/0.5021, allocations: 2.328 MB / 0.6911 GB, free: 7.086 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004609/0.5026, allocations: 0.5034 MB / 0.6916 GB, free: 6.582 MB / 0.5295 GB Notification: Performance of SimCode: time 5.51e-07/0.5026, allocations: 0 / 0.6916 GB, free: 6.582 MB / 0.5295 GB Notification: Performance of Templates: time 0.07717/0.5798, allocations: 40.47 MB / 0.7311 GB, free: 14 MB / 0.5764 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches