Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.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_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001397, allocations: 114.8 kB / 17.75 MB, free: 5.355 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.001316/0.001316, allocations: 184.5 kB / 18.67 MB, free: 4.441 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.342/1.342, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9349/0.9349, allocations: 119.3 MB / 411.8 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 65.84 kB / 0.5716 GB, free: 39.81 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.159, allocations: 80.7 MB / 0.6504 GB, free: 13.06 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000): time 0.002882/0.162, allocations: 1.585 MB / 0.6519 GB, free: 11.47 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.1633, allocations: 0.8924 MB / 0.6528 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.065e-05/0.1634, allocations: 4 kB / 0.6528 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.007768/0.1711, allocations: 13.71 MB / 0.6662 GB, free: 12.82 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.004192/0.1754, allocations: 6.923 MB / 0.6729 GB, free: 5.887 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004005/0.1759, allocations: 103.6 kB / 0.673 GB, free: 5.785 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.01245/0.1883, allocations: 17.08 MB / 0.6897 GB, free: 4.684 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 8.945e-05/0.1885, allocations: 7.984 kB / 0.6897 GB, free: 4.676 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01033/0.1988, allocations: 8.481 MB / 0.698 GB, free: 12.18 MB / 0.5452 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01928/0.2181, allocations: 16.15 MB / 0.7138 GB, free: 12 MB / 0.5608 GB Notification: Performance of NFPackage.collectConstants: time 0.004501/0.2227, allocations: 0.9805 MB / 0.7147 GB, free: 11.02 MB / 0.5608 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004384/0.2271, allocations: 1.008 MB / 0.7157 GB, free: 10.02 MB / 0.5608 GB Notification: Performance of NFScalarize.scalarize: time 0.04177/0.2689, allocations: 39.81 MB / 0.7546 GB, free: 2.094 MB / 0.592 GB Notification: Performance of NFVerifyModel.verify: time 0.6626/0.9316, allocations: 22.49 MB / 0.7766 GB, free: 62.82 MB / 0.6079 GB Notification: Performance of NFConvertDAE.convert: time 0.05867/0.9903, allocations: 49.41 MB / 0.8248 GB, free: 44.76 MB / 0.6079 GB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.9903, allocations: 1.688 kB / 0.8248 GB, free: 44.76 MB / 0.6079 GB Notification: Performance of FrontEnd: time 2.455e-06/0.9903, allocations: 3.625 kB / 0.8248 GB, free: 44.76 MB / 0.6079 GB Notification: Performance of Transformations before backend: time 0.003413/0.9938, allocations: 3.781 kB / 0.8248 GB, free: 44.76 MB / 0.6079 GB 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.1252/1.119, allocations: 77.14 MB / 0.9002 GB, free: 13.67 MB / 0.6392 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/1.119, allocations: 11.89 kB / 0.9002 GB, free: 13.66 MB / 0.6392 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01839/1.137, allocations: 8.798 MB / 0.9088 GB, free: 4.746 MB / 0.6392 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3158/1.453, allocations: 103.1 MB / 1.009 GB, free: 13.04 MB / 0.7485 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/1.453, allocations: 384 / 1.009 GB, free: 13.04 MB / 0.7485 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/1.453, allocations: 8.094 kB / 1.009 GB, free: 13.04 MB / 0.7485 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/1.454, allocations: 52.98 kB / 1.009 GB, free: 12.98 MB / 0.7485 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/1.454, allocations: 0 / 1.009 GB, free: 12.98 MB / 0.7485 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/1.454, allocations: 4 kB / 1.009 GB, free: 12.98 MB / 0.7485 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/1.454, allocations: 3.938 kB / 1.009 GB, free: 12.98 MB / 0.7485 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.339e-05/1.454, allocations: 15.98 kB / 1.01 GB, free: 12.96 MB / 0.7485 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06712/1.521, allocations: 27.31 MB / 1.036 GB, free: 1.582 MB / 0.7642 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/1.521, allocations: 54.34 kB / 1.036 GB, free: 1.523 MB / 0.7642 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.372e-05/1.521, allocations: 20.84 kB / 1.036 GB, free: 1.5 MB / 0.7642 GB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/1.521, allocations: 1.688 kB / 1.036 GB, free: 1.5 MB / 0.7642 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/1.522, allocations: 70.89 kB / 1.036 GB, free: 1.422 MB / 0.7642 GB Notification: Performance of pre-optimization done (n=5): time 3.416e-06/1.522, allocations: 0.5938 kB / 1.036 GB, free: 1.422 MB / 0.7642 GB Notification: Performance of matching and sorting (n=5): time 0.0191/1.541, allocations: 9.127 MB / 1.045 GB, free: 8.176 MB / 0.7798 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/1.541, allocations: 51.97 kB / 1.045 GB, free: 8.113 MB / 0.7798 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6337/2.174, allocations: 101 MB / 1.144 GB, free: 205.4 MB / 0.811 GB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/2.175, allocations: 28.77 kB / 1.144 GB, free: 205.4 MB / 0.811 GB Notification: Performance of collectInitialEqns (initialization): time 0.0622/2.237, allocations: 49.01 MB / 1.192 GB, free: 162.1 MB / 0.811 GB Notification: Performance of collectInitialBindings (initialization): time 8.104e-05/2.237, allocations: 19.5 kB / 1.192 GB, free: 162.1 MB / 0.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/2.237, allocations: 19.72 kB / 1.192 GB, free: 162.1 MB / 0.811 GB Notification: Performance of setup shared object (initialization): time 5.29e-05/2.237, allocations: 306 kB / 1.192 GB, free: 161.8 MB / 0.811 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/2.237, allocations: 15.98 kB / 1.192 GB, free: 161.8 MB / 0.811 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.83e-05/2.237, allocations: 31.25 kB / 1.192 GB, free: 161.8 MB / 0.811 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/2.237, allocations: 43.3 kB / 1.192 GB, free: 161.7 MB / 0.811 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/2.237, allocations: 0 / 1.192 GB, free: 161.7 MB / 0.811 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.01885/2.256, allocations: 9.12 MB / 1.201 GB, free: 161.5 MB / 0.811 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/2.256, allocations: 7.062 kB / 1.201 GB, free: 161.5 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/2.256, allocations: 6.109 kB / 1.201 GB, free: 161.5 MB / 0.811 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.035e-05/2.256, allocations: 0.625 kB / 1.201 GB, free: 161.5 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.738e-05/2.256, allocations: 15.38 kB / 1.201 GB, free: 161.5 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/2.256, allocations: 0 / 1.201 GB, free: 161.5 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01186/2.268, allocations: 252 kB / 1.201 GB, free: 161.2 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/2.268, allocations: 5.688 kB / 1.201 GB, free: 161.2 MB / 0.811 GB 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.03081/2.299, allocations: 18.67 MB / 1.22 GB, free: 142.5 MB / 0.811 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02084/2.32, allocations: 9.289 MB / 1.229 GB, free: 138.1 MB / 0.811 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03249/2.353, allocations: 10.23 MB / 1.239 GB, free: 127.9 MB / 0.811 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/2.353, allocations: 0.5938 kB / 1.239 GB, free: 127.9 MB / 0.811 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/2.353, allocations: 0 / 1.239 GB, free: 127.9 MB / 0.811 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/2.353, allocations: 0.5 kB / 1.239 GB, free: 127.9 MB / 0.811 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07779/2.43, allocations: 30 MB / 1.268 GB, free: 97.82 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/2.43, allocations: 0 / 1.268 GB, free: 97.82 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.585e-05/2.431, allocations: 9.875 kB / 1.268 GB, free: 97.82 MB / 0.811 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/2.431, allocations: 0 / 1.268 GB, free: 97.82 MB / 0.811 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/2.431, allocations: 10.23 kB / 1.268 GB, free: 97.81 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/2.431, allocations: 0 / 1.268 GB, free: 97.81 MB / 0.811 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/2.431, allocations: 0 / 1.268 GB, free: 97.81 MB / 0.811 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01941/2.45, allocations: 9.963 MB / 1.278 GB, free: 87.71 MB / 0.811 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01694/2.467, allocations: 6.923 MB / 1.285 GB, free: 80.66 MB / 0.811 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01114/2.478, allocations: 255.9 kB / 1.285 GB, free: 80.41 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01194/2.49, allocations: 257.7 kB / 1.285 GB, free: 80.16 MB / 0.811 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.483e-05/2.49, allocations: 0 / 1.285 GB, free: 80.16 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/2.49, allocations: 4 kB / 1.285 GB, free: 80.15 MB / 0.811 GB Notification: Performance of sorting global known variables: time 0.1286/2.619, allocations: 69.99 MB / 1.353 GB, free: 10.82 MB / 0.811 GB Notification: Performance of sort global known variables: time 2.264e-06/2.619, allocations: 0 / 1.353 GB, free: 10.82 MB / 0.811 GB Notification: Performance of remove unused functions: time 0.01141/2.63, allocations: 2.465 MB / 1.356 GB, free: 8.355 MB / 0.811 GB 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.001043/2.631, allocations: 403.9 kB / 1.356 GB, free: 8.168 MB / 0.811 GB Notification: Performance of simCode: created initialization part: time 0.0002257/2.632, allocations: 43.95 kB / 1.356 GB, free: 8.129 MB / 0.811 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/2.632, allocations: 0 / 1.356 GB, free: 8.129 MB / 0.811 GB Notification: Performance of simCode: created simulation system equations: time 5.893e-05/2.632, allocations: 19.94 kB / 1.356 GB, free: 8.109 MB / 0.811 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04074/2.673, allocations: 6.769 MB / 1.363 GB, free: 1.34 MB / 0.811 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6646/3.337, allocations: 147.4 MB / 1.507 GB, free: 234.4 MB / 0.8579 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.08134/3.419, allocations: 34.4 MB / 1.54 GB, free: 200.3 MB / 0.8579 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02063/3.439, allocations: 8.801 MB / 1.549 GB, free: 191.5 MB / 0.8579 GB Notification: Performance of SimCode: time 1.453e-06/3.439, allocations: 3 kB / 1.549 GB, free: 191.5 MB / 0.8579 GB Notification: Performance of Templates: time 74.81/78.25, allocations: 23.59 GB / 25.14 GB, free: 217.9 MB / 1.124 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches