Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001428/0.001428, allocations: 112.4 kB / 17.06 MB, free: 6 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.001693/0.001693, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.568/1.568, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.203/1.203, allocations: 119.3 MB / 411.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 67.3 kB / 0.5709 GB, free: 39.9 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1865, allocations: 80.7 MB / 0.6497 GB, free: 13.16 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000): time 0.004195/0.1907, allocations: 1.577 MB / 0.6513 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.00166/0.1924, allocations: 0.8924 MB / 0.6521 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.1925, allocations: 0 / 0.6521 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.00975/0.2023, allocations: 13.71 MB / 0.6655 GB, free: 12.94 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.004856/0.2072, allocations: 6.934 MB / 0.6723 GB, free: 5.988 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004264/0.2077, allocations: 107.4 kB / 0.6724 GB, free: 5.887 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.01663/0.2243, allocations: 17.07 MB / 0.6891 GB, free: 4.793 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.2246, allocations: 15.97 kB / 0.6891 GB, free: 4.777 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01704/0.2416, allocations: 8.478 MB / 0.6974 GB, free: 12.29 MB / 0.5452 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0232/0.2649, allocations: 16.15 MB / 0.7131 GB, free: 12.11 MB / 0.5608 GB Notification: Performance of NFPackage.collectConstants: time 0.005982/0.2709, allocations: 0.9805 MB / 0.7141 GB, free: 11.13 MB / 0.5608 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005539/0.2765, allocations: 1.012 MB / 0.7151 GB, free: 10.12 MB / 0.5608 GB Notification: Performance of NFScalarize.scalarize: time 0.04999/0.3265, allocations: 39.81 MB / 0.754 GB, free: 2.203 MB / 0.592 GB Notification: Performance of NFVerifyModel.verify: time 0.8929/1.219, allocations: 22.49 MB / 0.7759 GB, free: 37.6 MB / 0.5923 GB Notification: Performance of NFConvertDAE.convert: time 0.06481/1.284, allocations: 49.41 MB / 0.8242 GB, free: 14.55 MB / 0.5923 GB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/1.284, allocations: 4 kB / 0.8242 GB, free: 14.55 MB / 0.5923 GB Notification: Performance of FrontEnd: time 2.304e-06/1.284, allocations: 3.562 kB / 0.8242 GB, free: 14.55 MB / 0.5923 GB Notification: Performance of Transformations before backend: time 0.003102/1.287, allocations: 0 / 0.8242 GB, free: 14.55 MB / 0.5923 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.158/1.446, allocations: 77.13 MB / 0.8995 GB, free: 12.91 MB / 0.6548 GB Notification: Performance of prepare preOptimizeDAE: time 7.528e-05/1.446, allocations: 11.89 kB / 0.8995 GB, free: 12.9 MB / 0.6548 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01822/1.464, allocations: 8.798 MB / 0.9081 GB, free: 3.984 MB / 0.6548 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3771/1.841, allocations: 103.1 MB / 1.009 GB, free: 12.29 MB / 0.7642 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/1.841, allocations: 11.84 kB / 1.009 GB, free: 12.29 MB / 0.7642 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/1.841, allocations: 0.5625 kB / 1.009 GB, free: 12.29 MB / 0.7642 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/1.841, allocations: 57.23 kB / 1.009 GB, free: 12.23 MB / 0.7642 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/1.841, allocations: 2.672 kB / 1.009 GB, free: 12.23 MB / 0.7642 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/1.841, allocations: 4 kB / 1.009 GB, free: 12.22 MB / 0.7642 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/1.841, allocations: 0 / 1.009 GB, free: 12.22 MB / 0.7642 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/1.842, allocations: 18.23 kB / 1.009 GB, free: 12.21 MB / 0.7642 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08743/1.929, allocations: 27.3 MB / 1.036 GB, free: 0.8359 MB / 0.7798 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/1.929, allocations: 62.23 kB / 1.036 GB, free: 0.7695 MB / 0.7798 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.721e-05/1.929, allocations: 16.86 kB / 1.036 GB, free: 0.75 MB / 0.7798 GB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-05/1.929, allocations: 0 / 1.036 GB, free: 0.75 MB / 0.7798 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/1.93, allocations: 72.91 kB / 1.036 GB, free: 0.668 MB / 0.7798 GB Notification: Performance of pre-optimization done (n=5): time 2.685e-06/1.93, allocations: 2.531 kB / 1.036 GB, free: 0.668 MB / 0.7798 GB Notification: Performance of matching and sorting (n=5): time 0.02366/1.953, allocations: 9.126 MB / 1.045 GB, free: 7.422 MB / 0.7954 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/1.954, allocations: 51.41 kB / 1.045 GB, free: 7.359 MB / 0.7954 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8822/2.836, allocations: 101 MB / 1.143 GB, free: 201.5 MB / 0.811 GB Notification: Performance of collectPreVariables (initialization): time 5.757e-05/2.836, allocations: 31.7 kB / 1.143 GB, free: 201.4 MB / 0.811 GB Notification: Performance of collectInitialEqns (initialization): time 0.06415/2.9, allocations: 49.01 MB / 1.191 GB, free: 157.3 MB / 0.811 GB Notification: Performance of collectInitialBindings (initialization): time 9.245e-05/2.9, allocations: 15.25 kB / 1.191 GB, free: 157.3 MB / 0.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/2.9, allocations: 17.72 kB / 1.191 GB, free: 157.3 MB / 0.811 GB Notification: Performance of setup shared object (initialization): time 8.161e-05/2.9, allocations: 310 kB / 1.191 GB, free: 157 MB / 0.811 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/2.901, allocations: 15.98 kB / 1.192 GB, free: 157 MB / 0.811 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.677e-05/2.901, allocations: 29.23 kB / 1.192 GB, free: 157 MB / 0.811 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/2.901, allocations: 39.97 kB / 1.192 GB, free: 156.9 MB / 0.811 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/2.901, allocations: 4 kB / 1.192 GB, free: 156.9 MB / 0.811 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.02383/2.925, allocations: 9.113 MB / 1.2 GB, free: 152.7 MB / 0.811 GB Notification: Performance of prepare postOptimizeDAE: time 3.6e-05/2.925, allocations: 8 kB / 1.2 GB, free: 152.7 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/2.925, allocations: 3.281 kB / 1.2 GB, free: 152.7 MB / 0.811 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/2.925, allocations: 0 / 1.2 GB, free: 152.7 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/2.925, allocations: 11.34 kB / 1.2 GB, free: 152.7 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/2.925, allocations: 4 kB / 1.201 GB, free: 152.7 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01789/2.943, allocations: 263 kB / 1.201 GB, free: 152.4 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/2.943, allocations: 0 / 1.201 GB, free: 152.4 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.03366/2.977, allocations: 18.68 MB / 1.219 GB, free: 133.7 MB / 0.811 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02023/2.997, allocations: 9.286 MB / 1.228 GB, free: 129.3 MB / 0.811 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.033/3.03, allocations: 10.23 MB / 1.238 GB, free: 119.1 MB / 0.811 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/3.03, allocations: 11.64 kB / 1.238 GB, free: 119.1 MB / 0.811 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/3.03, allocations: 2.375 kB / 1.238 GB, free: 119.1 MB / 0.811 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/3.03, allocations: 0 / 1.238 GB, free: 119.1 MB / 0.811 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08926/3.119, allocations: 29.99 MB / 1.267 GB, free: 89 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/3.119, allocations: 0 / 1.267 GB, free: 89 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.278e-05/3.119, allocations: 4.875 kB / 1.267 GB, free: 89 MB / 0.811 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/3.119, allocations: 1.406 kB / 1.267 GB, free: 89 MB / 0.811 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/3.119, allocations: 7.938 kB / 1.267 GB, free: 88.99 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/3.119, allocations: 3.562 kB / 1.267 GB, free: 88.99 MB / 0.811 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/3.119, allocations: 0 / 1.267 GB, free: 88.99 MB / 0.811 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02263/3.142, allocations: 9.963 MB / 1.277 GB, free: 78.91 MB / 0.811 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02199/3.164, allocations: 6.927 MB / 1.284 GB, free: 71.84 MB / 0.811 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01453/3.179, allocations: 255.9 kB / 1.284 GB, free: 71.59 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01406/3.193, allocations: 248.9 kB / 1.284 GB, free: 71.35 MB / 0.811 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.96e-05/3.193, allocations: 11.12 kB / 1.284 GB, free: 71.35 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/3.193, allocations: 7.984 kB / 1.284 GB, free: 71.34 MB / 0.811 GB Notification: Performance of sorting global known variables: time 0.1552/3.348, allocations: 69.98 MB / 1.353 GB, free: 2.004 MB / 0.811 GB Notification: Performance of sort global known variables: time 5.61e-07/3.348, allocations: 0 / 1.353 GB, free: 2.004 MB / 0.811 GB Notification: Performance of remove unused functions: time 0.01423/3.362, allocations: 2.456 MB / 1.355 GB, free: 15.55 MB / 0.8267 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.001312/3.364, allocations: 405.7 kB / 1.355 GB, free: 15.36 MB / 0.8267 GB Notification: Performance of simCode: created initialization part: time 0.0003833/3.364, allocations: 35.98 kB / 1.356 GB, free: 15.32 MB / 0.8267 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/3.364, allocations: 0 / 1.356 GB, free: 15.32 MB / 0.8267 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/3.364, allocations: 29.27 kB / 1.356 GB, free: 15.3 MB / 0.8267 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07086/3.435, allocations: 6.765 MB / 1.362 GB, free: 8.535 MB / 0.8267 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7886/4.224, allocations: 144 MB / 1.503 GB, free: 207.2 MB / 0.8423 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.07695/4.301, allocations: 34.4 MB / 1.536 GB, free: 172.7 MB / 0.8423 GB Notification: Performance of simCode: alias equations: time 0.0739/4.375, allocations: 22.68 MB / 1.559 GB, free: 150 MB / 0.8423 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02834/4.403, allocations: 8.806 MB / 1.567 GB, free: 141.2 MB / 0.8423 GB Notification: Performance of SimCode: time 1.864e-06/4.403, allocations: 0 / 1.567 GB, free: 141.2 MB / 0.8423 GB Notification: Performance of Templates: time 1.258/5.661, allocations: 251 MB / 1.812 GB, free: 176.7 MB / 0.8423 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches