Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.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_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 108.6 kB / 17.06 MB, free: 6.098 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.001162/0.001162, allocations: 200.1 kB / 18 MB, free: 5.172 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.379/1.379, 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.02/1.02, allocations: 119.3 MB / 411.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 66.14 kB / 0.5709 GB, free: 39.8 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1472, allocations: 80.69 MB / 0.6497 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000): time 0.002706/0.1499, allocations: 1.585 MB / 0.6512 GB, free: 11.49 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.1513, allocations: 0.8885 MB / 0.6521 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.749e-05/0.1514, allocations: 0 / 0.6521 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.004368/0.1558, allocations: 6.872 MB / 0.6588 GB, free: 3.707 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.002463/0.1582, allocations: 3.52 MB / 0.6623 GB, free: 184 kB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.1586, allocations: 99.62 kB / 0.6624 GB, free: 84 kB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.006682/0.1653, allocations: 8.59 MB / 0.6707 GB, free: 7.477 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.634e-05/0.1654, allocations: 7.984 kB / 0.6708 GB, free: 7.469 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005477/0.1709, allocations: 4.27 MB / 0.6749 GB, free: 3.195 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007853/0.1788, allocations: 8.096 MB / 0.6828 GB, free: 11.09 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.001728/0.1805, allocations: 0.4922 MB / 0.6833 GB, free: 10.59 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.1819, allocations: 0.5195 MB / 0.6838 GB, free: 10.07 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.0207/0.2026, allocations: 19.92 MB / 0.7033 GB, free: 6.102 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.01692/0.2195, allocations: 11.26 MB / 0.7143 GB, free: 10.73 MB / 0.5608 GB Notification: Performance of NFConvertDAE.convert: time 0.02762/0.2472, allocations: 24.75 MB / 0.7384 GB, free: 1.848 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 1.351e-05/0.2473, allocations: 3.938 kB / 0.7384 GB, free: 1.844 MB / 0.5764 GB Notification: Performance of FrontEnd: time 3.707e-06/0.2473, allocations: 0 / 0.7384 GB, free: 1.844 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.00139/0.2487, allocations: 0 / 0.7384 GB, free: 1.844 MB / 0.5764 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.6482/0.8969, allocations: 38.76 MB / 0.7763 GB, free: 86.32 MB / 0.6079 GB Notification: Performance of prepare preOptimizeDAE: time 6.216e-05/0.897, allocations: 13.3 kB / 0.7763 GB, free: 86.31 MB / 0.6079 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00759/0.9046, allocations: 4.406 MB / 0.7806 GB, free: 83.81 MB / 0.6079 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1179/1.023, allocations: 51.59 MB / 0.831 GB, free: 43.97 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/1.023, allocations: 1.25 kB / 0.831 GB, free: 43.97 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/1.023, allocations: 5.125 kB / 0.831 GB, free: 43.96 MB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/1.023, allocations: 49.67 kB / 0.831 GB, free: 43.91 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/1.023, allocations: 0.9375 kB / 0.8311 GB, free: 43.91 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/1.023, allocations: 5.016 kB / 0.8311 GB, free: 43.91 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/1.023, allocations: 0 / 0.8311 GB, free: 43.91 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.112e-05/1.023, allocations: 23.08 kB / 0.8311 GB, free: 43.89 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02923/1.052, allocations: 13.73 MB / 0.8445 GB, free: 30.09 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003229/1.053, allocations: 50.62 kB / 0.8445 GB, free: 30.04 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.739e-05/1.053, allocations: 20.84 kB / 0.8446 GB, free: 30.01 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 4.447e-05/1.053, allocations: 4.562 kB / 0.8446 GB, free: 30.01 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/1.053, allocations: 65.23 kB / 0.8446 GB, free: 29.94 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=5): time 4.709e-06/1.053, allocations: 3.75 kB / 0.8446 GB, free: 29.94 MB / 0.6079 GB Notification: Performance of matching and sorting (n=5): time 0.01051/1.064, allocations: 4.613 MB / 0.8491 GB, free: 25.27 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/1.064, allocations: 66.45 kB / 0.8492 GB, free: 25.19 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08554/1.149, allocations: 50.57 MB / 0.8986 GB, free: 7.039 MB / 0.6392 GB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/1.149, allocations: 29.7 kB / 0.8986 GB, free: 7.004 MB / 0.6392 GB Notification: Performance of collectInitialEqns (initialization): time 0.03236/1.182, allocations: 23.58 MB / 0.9216 GB, free: 15.41 MB / 0.6704 GB Notification: Performance of collectInitialBindings (initialization): time 9.88e-05/1.182, allocations: 11.81 kB / 0.9216 GB, free: 15.4 MB / 0.6704 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/1.182, allocations: 25.7 kB / 0.9217 GB, free: 15.37 MB / 0.6704 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.182, allocations: 309.3 kB / 0.922 GB, free: 15.07 MB / 0.6704 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/1.182, allocations: 15.98 kB / 0.922 GB, free: 15.05 MB / 0.6704 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.635e-05/1.182, allocations: 26.94 kB / 0.922 GB, free: 15.02 MB / 0.6704 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/1.182, allocations: 46.55 kB / 0.922 GB, free: 14.97 MB / 0.6704 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/1.182, allocations: 3.375 kB / 0.9221 GB, free: 14.97 MB / 0.6704 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0121/1.195, allocations: 4.591 MB / 0.9265 GB, free: 10.31 MB / 0.6704 GB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/1.195, allocations: 11.94 kB / 0.9265 GB, free: 10.3 MB / 0.6704 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/1.195, allocations: 0 / 0.9265 GB, free: 10.3 MB / 0.6704 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/1.195, allocations: 0 / 0.9265 GB, free: 10.3 MB / 0.6704 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/1.195, allocations: 11.98 kB / 0.9266 GB, free: 10.29 MB / 0.6704 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/1.195, allocations: 7.938 kB / 0.9266 GB, free: 10.28 MB / 0.6704 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01021/1.205, allocations: 124 kB / 0.9267 GB, free: 10.16 MB / 0.6704 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/1.205, allocations: 6.562 kB / 0.9267 GB, free: 10.16 MB / 0.6704 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.01779/1.223, allocations: 9.396 MB / 0.9359 GB, free: 0.7383 MB / 0.6704 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01036/1.233, allocations: 4.65 MB / 0.9404 GB, free: 12.03 MB / 0.686 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01578/1.249, allocations: 5.124 MB / 0.9454 GB, free: 6.902 MB / 0.686 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/1.249, allocations: 0 / 0.9454 GB, free: 6.902 MB / 0.686 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/1.249, allocations: 7 kB / 0.9454 GB, free: 6.898 MB / 0.686 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/1.249, allocations: 0 / 0.9454 GB, free: 6.898 MB / 0.686 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04073/1.29, allocations: 15.08 MB / 0.9601 GB, free: 7.762 MB / 0.7017 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/1.29, allocations: 4.875 kB / 0.9601 GB, free: 7.758 MB / 0.7017 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.377e-05/1.29, allocations: 1.094 kB / 0.9601 GB, free: 7.758 MB / 0.7017 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/1.29, allocations: 11.92 kB / 0.9602 GB, free: 7.746 MB / 0.7017 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/1.29, allocations: 0 / 0.9602 GB, free: 7.746 MB / 0.7017 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/1.29, allocations: 0 / 0.9602 GB, free: 7.746 MB / 0.7017 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.29, allocations: 3 kB / 0.9602 GB, free: 7.746 MB / 0.7017 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/1.3, allocations: 5.03 MB / 0.9651 GB, free: 2.641 MB / 0.7017 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009221/1.31, allocations: 3.509 MB / 0.9685 GB, free: 15.05 MB / 0.7173 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005246/1.315, allocations: 131.9 kB / 0.9686 GB, free: 14.92 MB / 0.7173 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005453/1.32, allocations: 131.9 kB / 0.9688 GB, free: 14.8 MB / 0.7173 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/1.321, allocations: 3 kB / 0.9688 GB, free: 14.8 MB / 0.7173 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/1.321, allocations: 6.844 kB / 0.9688 GB, free: 14.79 MB / 0.7173 GB Notification: Performance of sorting global known variables: time 0.0729/1.393, allocations: 35.01 MB / 1.003 GB, free: 12.09 MB / 0.7485 GB Notification: Performance of sort global known variables: time 5.91e-07/1.394, allocations: 3.844 kB / 1.003 GB, free: 12.09 MB / 0.7485 GB Notification: Performance of remove unused functions: time 0.006448/1.4, allocations: 1.238 MB / 1.004 GB, free: 10.85 MB / 0.7485 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.0009819/1.401, allocations: 406 kB / 1.005 GB, free: 10.65 MB / 0.7485 GB Notification: Performance of simCode: created initialization part: time 0.0002369/1.401, allocations: 43.92 kB / 1.005 GB, free: 10.61 MB / 0.7485 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.401, allocations: 0 / 1.005 GB, free: 10.61 MB / 0.7485 GB Notification: Performance of simCode: created simulation system equations: time 6.355e-05/1.401, allocations: 16 kB / 1.005 GB, free: 10.59 MB / 0.7485 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01163/1.413, allocations: 3.399 MB / 1.008 GB, free: 7.191 MB / 0.7485 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1133/1.526, allocations: 70.61 MB / 1.077 GB, free: 1.004 MB / 0.811 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3701/1.896, allocations: 17.34 MB / 1.094 GB, free: 260.6 MB / 0.811 GB Notification: Performance of simCode: alias equations: time 0.02902/1.925, allocations: 11.31 MB / 1.105 GB, free: 255 MB / 0.811 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00891/1.934, allocations: 4.405 MB / 1.109 GB, free: 253.5 MB / 0.811 GB Notification: Performance of SimCode: time 9.72e-07/1.934, allocations: 0 / 1.109 GB, free: 253.5 MB / 0.811 GB Notification: Performance of Templates: time 0.3387/2.273, allocations: 123.3 MB / 1.23 GB, free: 153.5 MB / 0.811 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches