Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 113.6 kB / 17.69 MB, free: 5.309 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.001743/0.001743, allocations: 192 kB / 18.63 MB, free: 4.375 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.722/1.722, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.474/1.474, allocations: 119.3 MB / 411.8 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001722, allocations: 67.91 kB / 0.4924 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8853/0.887, allocations: 80.69 MB / 0.5712 GB, free: 43.48 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.003498/0.8906, allocations: 1.571 MB / 0.5727 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.8924, allocations: 0.8906 MB / 0.5736 GB, free: 41.57 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.8925, allocations: 1.344 kB / 0.5736 GB, free: 41.57 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.8937, allocations: 0.8982 MB / 0.5744 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0008201/0.8945, allocations: 0.52 MB / 0.575 GB, free: 40.83 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004021/0.895, allocations: 106.7 kB / 0.5751 GB, free: 40.75 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.8964, allocations: 1.167 MB / 0.5762 GB, free: 40.18 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.901e-05/0.8964, allocations: 12.39 kB / 0.5762 GB, free: 40.17 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.8976, allocations: 0.5802 MB / 0.5768 GB, free: 39.88 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/0.8993, allocations: 1.042 MB / 0.5778 GB, free: 39.48 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0002373/0.8996, allocations: 66.41 kB / 0.5779 GB, free: 39.48 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003548/0.9, allocations: 94.02 kB / 0.5779 GB, free: 39.46 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.003422/0.9034, allocations: 2.507 MB / 0.5804 GB, free: 38.23 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.002067/0.9055, allocations: 1.429 MB / 0.5818 GB, free: 37.01 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.004125/0.9096, allocations: 3.179 MB / 0.5849 GB, free: 35.04 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.9097, allocations: 0 / 0.5849 GB, free: 35.04 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.676e-06/0.9097, allocations: 1.375 kB / 0.5849 GB, free: 35.04 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0002314/0.9099, allocations: 0 / 0.5849 GB, free: 35.04 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01135/0.9213, allocations: 5.178 MB / 0.59 GB, free: 30.17 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 8.107e-05/0.9214, allocations: 11.89 kB / 0.59 GB, free: 30.16 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.9227, allocations: 0.556 MB / 0.5905 GB, free: 29.59 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01887/0.9416, allocations: 6.551 MB / 0.5969 GB, free: 22.96 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.156e-05/0.9418, allocations: 4.375 kB / 0.5969 GB, free: 22.96 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.9418, allocations: 4.125 kB / 0.5969 GB, free: 22.95 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.9421, allocations: 53.67 kB / 0.597 GB, free: 22.89 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.9422, allocations: 0 / 0.597 GB, free: 22.89 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.9422, allocations: 0 / 0.597 GB, free: 22.89 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.9422, allocations: 0 / 0.597 GB, free: 22.89 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.9423, allocations: 15.98 kB / 0.597 GB, free: 22.88 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00661/0.9489, allocations: 1.87 MB / 0.5988 GB, free: 20.96 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/0.9494, allocations: 58.56 kB / 0.5989 GB, free: 20.89 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.604e-05/0.9494, allocations: 24.78 kB / 0.5989 GB, free: 20.87 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/0.9495, allocations: 0 / 0.5989 GB, free: 20.87 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002518/0.9497, allocations: 59.39 kB / 0.5989 GB, free: 20.8 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 3.437e-06/0.9498, allocations: 0 / 0.5989 GB, free: 20.8 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.002012/0.9518, allocations: 0.6621 MB / 0.5996 GB, free: 20.12 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.9519, allocations: 51.41 kB / 0.5996 GB, free: 20.06 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01311/0.965, allocations: 6.446 MB / 0.6059 GB, free: 13.66 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.965, allocations: 25.7 kB / 0.606 GB, free: 13.62 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.002528/0.9676, allocations: 2.661 MB / 0.6086 GB, free: 10.96 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.671e-05/0.9677, allocations: 7.906 kB / 0.6086 GB, free: 10.95 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/0.9678, allocations: 25.61 kB / 0.6086 GB, free: 10.92 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.406e-05/0.9678, allocations: 310 kB / 0.6089 GB, free: 10.61 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.9679, allocations: 23.98 kB / 0.6089 GB, free: 10.59 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.901e-05/0.968, allocations: 25.7 kB / 0.6089 GB, free: 10.56 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.9681, allocations: 45.64 kB / 0.609 GB, free: 10.51 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.9681, allocations: 3.938 kB / 0.609 GB, free: 10.5 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001206/0.9694, allocations: 0.6426 MB / 0.6096 GB, free: 9.848 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.9694, allocations: 4 kB / 0.6096 GB, free: 9.844 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.9694, allocations: 12.02 kB / 0.6096 GB, free: 9.832 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.9694, allocations: 0 / 0.6096 GB, free: 9.832 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.289e-05/0.9695, allocations: 11.94 kB / 0.6096 GB, free: 9.82 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.9696, allocations: 0 / 0.6096 GB, free: 9.82 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007921/0.9704, allocations: 20 kB / 0.6097 GB, free: 9.801 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.9704, allocations: 3.938 kB / 0.6097 GB, free: 9.797 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.002425/0.9728, allocations: 1.282 MB / 0.6109 GB, free: 8.504 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008278/0.9736, allocations: 0.5866 MB / 0.6115 GB, free: 7.91 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001723/0.9754, allocations: 0.652 MB / 0.6121 GB, free: 7.258 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.9754, allocations: 4 kB / 0.6121 GB, free: 7.254 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-06/0.9754, allocations: 4 kB / 0.6121 GB, free: 7.25 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.9754, allocations: 3.984 kB / 0.6121 GB, free: 7.246 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002804/0.9782, allocations: 2.031 MB / 0.6141 GB, free: 5.168 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.9783, allocations: 0 / 0.6141 GB, free: 5.168 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.044e-05/0.9783, allocations: 4 kB / 0.6141 GB, free: 5.164 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.9784, allocations: 0 / 0.6141 GB, free: 5.164 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.9784, allocations: 0 / 0.6141 GB, free: 5.164 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.9784, allocations: 0 / 0.6141 GB, free: 5.164 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.9784, allocations: 4 kB / 0.6141 GB, free: 5.16 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.9795, allocations: 0.7251 MB / 0.6148 GB, free: 4.41 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008837/0.9804, allocations: 0.5209 MB / 0.6153 GB, free: 3.863 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003082/0.9807, allocations: 16 kB / 0.6154 GB, free: 3.848 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.9811, allocations: 16 kB / 0.6154 GB, free: 3.832 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.9811, allocations: 4 kB / 0.6154 GB, free: 3.828 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.9811, allocations: 7.984 kB / 0.6154 GB, free: 3.82 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.008418/0.9896, allocations: 4.416 MB / 0.6197 GB, free: 15.45 MB / 478.3 MB Notification: Performance of sort global known variables: time 7.92e-07/0.9896, allocations: 4 kB / 0.6197 GB, free: 15.44 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.001416/0.9911, allocations: 172 kB / 0.6199 GB, free: 15.27 MB / 478.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001348/0.9924, allocations: 418.7 kB / 0.6203 GB, free: 15.02 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0003117/0.9928, allocations: 39.92 kB / 0.6203 GB, free: 14.98 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.9928, allocations: 0 / 0.6203 GB, free: 14.98 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 6.941e-05/0.9928, allocations: 16 kB / 0.6203 GB, free: 14.96 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/0.995, allocations: 469.7 kB / 0.6208 GB, free: 14.5 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02072/1.016, allocations: 8.42 MB / 0.629 GB, free: 6.051 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006049/1.022, allocations: 2.737 MB / 0.6317 GB, free: 3.289 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.0052/1.027, allocations: 1.399 MB / 0.633 GB, free: 1.883 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001246/1.028, allocations: 0.5655 MB / 0.6336 GB, free: 1.316 MB / 478.3 MB Notification: Performance of SimCode: time 6.633e-06/1.028, allocations: 0 / 0.6336 GB, free: 1.316 MB / 478.3 MB Notification: Performance of Templates: time 0.0614/1.09, allocations: 15.61 MB / 0.6488 GB, free: 1.715 MB / 494.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500 -abortSlowSimulation -alarm=300 -s cvode -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches