Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.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_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 106.9 kB / 16.92 MB, free: 6.199 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.001574/0.001574, allocations: 191.4 kB / 17.85 MB, free: 5.301 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.489/1.489, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.204/1.204, allocations: 119.3 MB / 411 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 63.91 kB / 0.4909 GB, free: 13.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6488/0.6501, allocations: 80.68 MB / 0.5697 GB, free: 43.32 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250): time 0.002989/0.6532, allocations: 1.578 MB / 0.5713 GB, free: 42.08 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.6546, allocations: 0.8852 MB / 0.5721 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.865e-05/0.6546, allocations: 1.25 kB / 0.5721 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0006014/0.6553, allocations: 486.4 kB / 0.5726 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004826/0.6558, allocations: 312 kB / 0.5729 GB, free: 40.98 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.6561, allocations: 108.3 kB / 0.573 GB, free: 40.9 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005825/0.6566, allocations: 0.638 MB / 0.5736 GB, free: 40.58 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.564e-05/0.6567, allocations: 8.359 kB / 0.5736 GB, free: 40.58 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003488/0.6571, allocations: 325.7 kB / 0.574 GB, free: 40.42 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000562/0.6576, allocations: 0.5374 MB / 0.5745 GB, free: 40.21 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.784e-05/0.6577, allocations: 34.5 kB / 0.5745 GB, free: 40.21 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.6579, allocations: 67.56 kB / 0.5746 GB, free: 40.19 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.001294/0.6592, allocations: 1.264 MB / 0.5758 GB, free: 39.57 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.000472/0.6597, allocations: 0.7274 MB / 0.5765 GB, free: 38.95 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.6614, allocations: 1.593 MB / 0.5781 GB, free: 37.94 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.6614, allocations: 0.9062 kB / 0.5781 GB, free: 37.94 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.196e-06/0.6614, allocations: 0 / 0.5781 GB, free: 37.94 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.946e-05/0.6615, allocations: 3.938 kB / 0.5781 GB, free: 37.93 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.003479/0.665, allocations: 2.785 MB / 0.5808 GB, free: 35.76 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.665, allocations: 20.64 kB / 0.5808 GB, free: 35.75 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004009/0.6654, allocations: 289.9 kB / 0.5811 GB, free: 35.59 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005425/0.6709, allocations: 3.337 MB / 0.5844 GB, free: 33.55 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.6709, allocations: 1.562 kB / 0.5844 GB, free: 33.55 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.671, allocations: 9.281 kB / 0.5844 GB, free: 33.55 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.6712, allocations: 48.11 kB / 0.5844 GB, free: 33.5 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.6712, allocations: 0 / 0.5844 GB, free: 33.5 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.6712, allocations: 0 / 0.5844 GB, free: 33.5 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.6713, allocations: 1.094 kB / 0.5844 GB, free: 33.5 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.805e-05/0.6714, allocations: 16.02 kB / 0.5844 GB, free: 33.5 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001696/0.6731, allocations: 1.014 MB / 0.5854 GB, free: 32.82 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.6733, allocations: 59.2 kB / 0.5855 GB, free: 32.77 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.101e-05/0.6733, allocations: 19.95 kB / 0.5855 GB, free: 32.75 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.6734, allocations: 1 kB / 0.5855 GB, free: 32.75 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/0.6736, allocations: 68.67 kB / 0.5856 GB, free: 32.69 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 2.264e-06/0.6736, allocations: 3.938 kB / 0.5856 GB, free: 32.68 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0009056/0.6745, allocations: 387.8 kB / 0.5859 GB, free: 32.46 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.6746, allocations: 52.5 kB / 0.586 GB, free: 32.4 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0035/0.6781, allocations: 3.287 MB / 0.5892 GB, free: 29.54 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.6781, allocations: 29.7 kB / 0.5892 GB, free: 29.5 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009167/0.6791, allocations: 1.315 MB / 0.5905 GB, free: 28.18 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.852e-05/0.6791, allocations: 15.83 kB / 0.5905 GB, free: 28.17 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.6792, allocations: 29.62 kB / 0.5905 GB, free: 28.13 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.84e-05/0.6792, allocations: 310 kB / 0.5908 GB, free: 27.82 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.576e-05/0.6793, allocations: 12 kB / 0.5909 GB, free: 27.81 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.901e-05/0.6794, allocations: 29.95 kB / 0.5909 GB, free: 27.78 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.311e-05/0.6795, allocations: 49.64 kB / 0.5909 GB, free: 27.72 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.6795, allocations: 4 kB / 0.5909 GB, free: 27.72 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004125/0.6799, allocations: 369.8 kB / 0.5913 GB, free: 27.35 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.6799, allocations: 8 kB / 0.5913 GB, free: 27.34 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.6799, allocations: 0 / 0.5913 GB, free: 27.34 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.68, allocations: 3.938 kB / 0.5913 GB, free: 27.34 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.23e-05/0.68, allocations: 8 kB / 0.5913 GB, free: 27.33 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.6801, allocations: 0 / 0.5913 GB, free: 27.33 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/0.6803, allocations: 15.98 kB / 0.5913 GB, free: 27.31 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.6804, allocations: 4 kB / 0.5913 GB, free: 27.31 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.0006132/0.681, allocations: 0.7043 MB / 0.592 GB, free: 26.59 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/0.6812, allocations: 312.1 kB / 0.5923 GB, free: 26.29 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002846/0.6815, allocations: 333.8 kB / 0.5926 GB, free: 25.96 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.6815, allocations: 4 kB / 0.5926 GB, free: 25.96 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.6815, allocations: 0 / 0.5926 GB, free: 25.96 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.6816, allocations: 0 / 0.5926 GB, free: 25.96 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000938/0.6825, allocations: 1.094 MB / 0.5937 GB, free: 24.82 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.6825, allocations: 0 / 0.5937 GB, free: 24.82 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.24e-05/0.6825, allocations: 4 kB / 0.5937 GB, free: 24.82 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.6825, allocations: 0 / 0.5937 GB, free: 24.82 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.6826, allocations: 7.938 kB / 0.5937 GB, free: 24.81 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.6826, allocations: 4 kB / 0.5937 GB, free: 24.8 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.6826, allocations: 7.922 kB / 0.5937 GB, free: 24.8 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.6829, allocations: 419.6 kB / 0.5941 GB, free: 24.37 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002594/0.6832, allocations: 313.2 kB / 0.5944 GB, free: 24.04 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.6833, allocations: 12 kB / 0.5944 GB, free: 24.03 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.6835, allocations: 8 kB / 0.5944 GB, free: 24.02 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.6835, allocations: 7.984 kB / 0.5945 GB, free: 24.01 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.6836, allocations: 4 kB / 0.5945 GB, free: 24.01 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.002015/0.6856, allocations: 2.267 MB / 0.5967 GB, free: 21.76 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6856, allocations: 0 / 0.5967 GB, free: 21.76 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003636/0.686, allocations: 92 kB / 0.5968 GB, free: 21.67 MB / 462.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.0008961/0.6869, allocations: 411.3 kB / 0.5971 GB, free: 21.42 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.687, allocations: 47.92 kB / 0.5972 GB, free: 21.38 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6871, allocations: 4.062 kB / 0.5972 GB, free: 21.37 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.809e-05/0.6871, allocations: 19.98 kB / 0.5972 GB, free: 21.35 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008023/0.6879, allocations: 248.4 kB / 0.5975 GB, free: 21.11 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004243/0.6922, allocations: 4.265 MB / 0.6016 GB, free: 16.8 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009444/0.6932, allocations: 1.703 MB / 0.6033 GB, free: 15.06 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001593/0.6948, allocations: 0.7292 MB / 0.604 GB, free: 14.33 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004955/0.6953, allocations: 303.2 kB / 0.6043 GB, free: 14.03 MB / 462.3 MB Notification: Performance of SimCode: time 1.633e-06/0.6953, allocations: 4 kB / 0.6043 GB, free: 14.03 MB / 462.3 MB Notification: Performance of Templates: time 0.02085/0.7161, allocations: 8.359 MB / 0.6125 GB, free: 5.695 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches