Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.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_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 114.8 kB / 17.07 MB, free: 6.016 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.001266/0.001266, allocations: 190.1 kB / 18 MB, free: 5.098 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.507/1.507, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.119/1.119, allocations: 119.3 MB / 411.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 66.5 kB / 0.5709 GB, free: 39.82 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1716, allocations: 80.7 MB / 0.6497 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000): time 0.002966/0.1746, allocations: 1.573 MB / 0.6513 GB, free: 11.47 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.1763, allocations: 0.8963 MB / 0.6521 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.515e-05/0.1764, allocations: 0 / 0.6521 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.02443/0.2008, allocations: 27.39 MB / 0.6789 GB, free: 15.12 MB / 0.5295 GB Notification: Performance of NFTyping.typeBindings: time 0.01306/0.214, allocations: 13.76 MB / 0.6923 GB, free: 1.332 MB / 0.5295 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.2144, allocations: 107.5 kB / 0.6924 GB, free: 1.23 MB / 0.5295 GB Notification: Performance of NFFlatten.flatten: time 0.03278/0.2472, allocations: 34.04 MB / 0.7257 GB, free: 15.14 MB / 0.5764 GB Notification: Performance of NFFlatten.resolveConnections: time 8.25e-05/0.2474, allocations: 15.98 kB / 0.7257 GB, free: 15.13 MB / 0.5764 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02797/0.2753, allocations: 16.9 MB / 0.7422 GB, free: 14.2 MB / 0.592 GB Notification: Performance of NFSimplifyModel.simplify: time 0.737/1.012, allocations: 32.26 MB / 0.7737 GB, free: 45.62 MB / 0.6079 GB Notification: Performance of NFPackage.collectConstants: time 0.01409/1.027, allocations: 1.956 MB / 0.7756 GB, free: 45.62 MB / 0.6079 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01309/1.04, allocations: 1.982 MB / 0.7775 GB, free: 45.62 MB / 0.6079 GB Notification: Performance of NFScalarize.scalarize: time 0.08295/1.123, allocations: 79.62 MB / 0.8553 GB, free: 15.93 MB / 0.6079 GB Notification: Performance of NFVerifyModel.verify: time 0.07772/1.2, allocations: 44.95 MB / 0.8992 GB, free: 2.539 MB / 0.6392 GB Notification: Performance of NFConvertDAE.convert: time 0.1447/1.345, allocations: 99.7 MB / 0.9965 GB, free: 14.17 MB / 0.7485 GB Notification: Performance of FrontEnd - DAE generated: time 1.186e-05/1.345, allocations: 4 kB / 0.9965 GB, free: 14.16 MB / 0.7485 GB Notification: Performance of FrontEnd: time 2.465e-06/1.345, allocations: 0 / 0.9965 GB, free: 14.16 MB / 0.7485 GB Notification: Performance of Transformations before backend: time 0.004329/1.35, allocations: 4 kB / 0.9965 GB, free: 14.16 MB / 0.7485 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 1.086/2.435, allocations: 160.7 MB / 1.154 GB, free: 152.4 MB / 0.8272 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/2.435, allocations: 11.89 kB / 1.154 GB, free: 152.4 MB / 0.8272 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04173/2.477, allocations: 18.56 MB / 1.172 GB, free: 133.7 MB / 0.8272 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8476/3.325, allocations: 209 MB / 1.376 GB, free: 13.72 MB / 0.9053 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/3.325, allocations: 2.531 kB / 1.376 GB, free: 13.72 MB / 0.9053 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/3.325, allocations: 9.5 kB / 1.376 GB, free: 13.71 MB / 0.9053 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/3.325, allocations: 48.3 kB / 1.376 GB, free: 13.66 MB / 0.9053 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/3.325, allocations: 6.062 kB / 1.376 GB, free: 13.66 MB / 0.9053 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/3.325, allocations: 0 / 1.376 GB, free: 13.66 MB / 0.9053 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/3.325, allocations: 7.562 kB / 1.376 GB, free: 13.66 MB / 0.9053 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.698e-05/3.325, allocations: 13.03 kB / 1.376 GB, free: 13.65 MB / 0.9053 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.143/3.468, allocations: 54.46 MB / 1.429 GB, free: 7.078 MB / 0.9522 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/3.469, allocations: 57.45 kB / 1.429 GB, free: 7.02 MB / 0.9522 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.43e-05/3.469, allocations: 16.86 kB / 1.429 GB, free: 7 MB / 0.9522 GB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/3.469, allocations: 5.969 kB / 1.429 GB, free: 6.996 MB / 0.9522 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002321/3.469, allocations: 66.39 kB / 1.429 GB, free: 6.922 MB / 0.9522 GB Notification: Performance of pre-optimization done (n=5): time 3.307e-06/3.469, allocations: 0 / 1.429 GB, free: 6.922 MB / 0.9522 GB Notification: Performance of matching and sorting (n=5): time 0.04543/3.514, allocations: 19.14 MB / 1.448 GB, free: 3.652 MB / 0.9678 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/3.515, allocations: 51.41 kB / 1.448 GB, free: 3.59 MB / 0.9678 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8676/4.382, allocations: 201.9 MB / 1.645 GB, free: 212.6 MB / 0.9834 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/4.382, allocations: 25.7 kB / 1.645 GB, free: 212.6 MB / 0.9834 GB Notification: Performance of collectInitialEqns (initialization): time 0.09747/4.48, allocations: 101.8 MB / 1.744 GB, free: 110.7 MB / 0.9834 GB Notification: Performance of collectInitialBindings (initialization): time 7.179e-05/4.48, allocations: 17.59 kB / 1.745 GB, free: 110.7 MB / 0.9834 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/4.48, allocations: 17.72 kB / 1.745 GB, free: 110.7 MB / 0.9834 GB Notification: Performance of setup shared object (initialization): time 5.003e-05/4.48, allocations: 310 kB / 1.745 GB, free: 110.4 MB / 0.9834 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-05/4.48, allocations: 15.98 kB / 1.745 GB, free: 110.4 MB / 0.9834 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.348e-05/4.48, allocations: 30.53 kB / 1.745 GB, free: 110.3 MB / 0.9834 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.764e-05/4.48, allocations: 44.52 kB / 1.745 GB, free: 110.3 MB / 0.9834 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/4.48, allocations: 0 / 1.745 GB, free: 110.3 MB / 0.9834 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.03368/4.514, allocations: 19.12 MB / 1.764 GB, free: 101.9 MB / 0.9834 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/4.514, allocations: 9.578 kB / 1.764 GB, free: 101.9 MB / 0.9834 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/4.514, allocations: 3.75 kB / 1.764 GB, free: 101.9 MB / 0.9834 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/4.514, allocations: 0 / 1.764 GB, free: 101.9 MB / 0.9834 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.532e-05/4.514, allocations: 15 kB / 1.764 GB, free: 101.9 MB / 0.9834 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/4.514, allocations: 1.312 kB / 1.764 GB, free: 101.9 MB / 0.9834 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03004/4.544, allocations: 0.497 MB / 1.764 GB, free: 101.4 MB / 0.9834 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/4.544, allocations: 4 kB / 1.764 GB, free: 101.4 MB / 0.9834 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.04922/4.594, allocations: 37.23 MB / 1.8 GB, free: 64.11 MB / 0.9834 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.04273/4.636, allocations: 19.55 MB / 1.82 GB, free: 55.31 MB / 0.9834 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05363/4.69, allocations: 20.44 MB / 1.84 GB, free: 34.86 MB / 0.9834 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/4.69, allocations: 0.6562 kB / 1.84 GB, free: 34.86 MB / 0.9834 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/4.69, allocations: 10.47 kB / 1.84 GB, free: 34.85 MB / 0.9834 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/4.69, allocations: 0 / 1.84 GB, free: 34.85 MB / 0.9834 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6208/5.311, allocations: 59.83 MB / 1.898 GB, free: 283.6 MB / 0.9834 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/5.311, allocations: 3.375 kB / 1.898 GB, free: 283.6 MB / 0.9834 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.645e-05/5.311, allocations: 8.625 kB / 1.898 GB, free: 283.6 MB / 0.9834 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/5.311, allocations: 5.922 kB / 1.898 GB, free: 283.6 MB / 0.9834 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/5.311, allocations: 2.016 kB / 1.898 GB, free: 283.6 MB / 0.9834 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.696e-06/5.311, allocations: 0 / 1.898 GB, free: 283.6 MB / 0.9834 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/5.311, allocations: 2.594 kB / 1.898 GB, free: 283.6 MB / 0.9834 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04619/5.357, allocations: 20.81 MB / 1.918 GB, free: 282.3 MB / 0.9834 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04505/5.402, allocations: 14.73 MB / 1.933 GB, free: 282.2 MB / 0.9834 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02701/5.429, allocations: 499.2 kB / 1.933 GB, free: 282.2 MB / 0.9834 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03047/5.46, allocations: 0.4953 MB / 1.934 GB, free: 282.2 MB / 0.9834 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.455e-05/5.46, allocations: 11.22 kB / 1.934 GB, free: 282.2 MB / 0.9834 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.019e-05/5.46, allocations: 1.969 kB / 1.934 GB, free: 282.2 MB / 0.9834 GB Notification: Performance of sorting global known variables: time 0.4162/5.876, allocations: 139.9 MB / 2.07 GB, free: 209.6 MB / 0.9834 GB Notification: Performance of sort global known variables: time 6.91e-07/5.876, allocations: 0 / 2.07 GB, free: 209.6 MB / 0.9834 GB Notification: Performance of remove unused functions: time 0.03259/5.909, allocations: 4.904 MB / 2.075 GB, free: 204.7 MB / 0.9834 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.001541/5.911, allocations: 405.9 kB / 2.075 GB, free: 204.5 MB / 0.9834 GB Notification: Performance of simCode: created initialization part: time 0.0002445/5.911, allocations: 43.8 kB / 2.075 GB, free: 204.5 MB / 0.9834 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/5.911, allocations: 0 / 2.075 GB, free: 204.5 MB / 0.9834 GB Notification: Performance of simCode: created simulation system equations: time 6.719e-05/5.911, allocations: 16 kB / 2.076 GB, free: 204.4 MB / 0.9834 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1383/6.049, allocations: 13.51 MB / 2.089 GB, free: 190.9 MB / 0.9834 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.238/7.287, allocations: 298.6 MB / 2.38 GB, free: 197.2 MB / 0.9834 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1874/7.474, allocations: 68.48 MB / 2.447 GB, free: 166 MB / 0.9834 GB Notification: Performance of simCode: alias equations: time 0.1477/7.622, allocations: 45.18 MB / 2.491 GB, free: 142.4 MB / 0.9834 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.06063/7.683, allocations: 17.59 MB / 2.508 GB, free: 136.6 MB / 0.9834 GB Notification: Performance of SimCode: time 2.355e-06/7.683, allocations: 2.906 kB / 2.508 GB, free: 136.6 MB / 0.9834 GB Notification: Performance of Templates: time 2.4/10.08, allocations: 0.5002 GB / 3.009 GB, free: 0.75 MB / 1.015 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches