Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.000858/0.0008581, allocations: 93.22 kB / 16.65 MB, free: 6.602 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.0009537/0.0009538, allocations: 183.3 kB / 17.56 MB, free: 6.199 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.38/1.38, allocations: 223.3 MB / 241.6 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.132/1.132, allocations: 120.5 MB / 413.2 MB, free: 9.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003913/0.0003911, allocations: 12 kB / 0.4949 GB, free: 11.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.681/0.6814, allocations: 82.84 MB / 0.5758 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000): time 0.001915/0.6833, allocations: 1.297 MB / 0.5771 GB, free: 40.89 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.6848, allocations: 0.8569 MB / 0.5779 GB, free: 40.23 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.056e-05/0.6848, allocations: 3.938 kB / 0.5779 GB, free: 40.22 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.01594/0.7008, allocations: 27.39 MB / 0.6046 GB, free: 16.71 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.006182/0.707, allocations: 13.75 MB / 0.6181 GB, free: 2.926 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004265/0.7075, allocations: 87.83 kB / 0.6182 GB, free: 2.84 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.02786/0.7354, allocations: 34.03 MB / 0.6514 GB, free: 0.7539 MB / 494.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.7356, allocations: 15.88 kB / 0.6514 GB, free: 0.7383 MB / 494.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02498/0.7606, allocations: 16.89 MB / 0.6679 GB, free: 15.82 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04596/0.8066, allocations: 30.31 MB / 0.6975 GB, free: 1.457 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.008216/0.8148, allocations: 1.953 MB / 0.6994 GB, free: 15.5 MB / 0.5452 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007563/0.8224, allocations: 1.988 MB / 0.7014 GB, free: 13.52 MB / 0.5452 GB Notification: Performance of NFScalarize.scalarize: time 0.7678/1.59, allocations: 79.6 MB / 0.7791 GB, free: 84.57 MB / 0.5923 GB Notification: Performance of NFVerifyModel.verify: time 0.07058/1.661, allocations: 44.98 MB / 0.823 GB, free: 48.91 MB / 0.5923 GB Notification: Performance of NFConvertDAE.convert: time 0.1004/1.761, allocations: 94.32 MB / 0.9151 GB, free: 7.77 MB / 0.6079 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/1.761, allocations: 0 / 0.9151 GB, free: 7.77 MB / 0.6079 GB Notification: Performance of FrontEnd: time 3.546e-06/1.761, allocations: 0 / 0.9151 GB, free: 7.77 MB / 0.6079 GB Notification: Performance of Transformations before backend: time 0.00753/1.769, allocations: 0.75 kB / 0.9151 GB, free: 7.77 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 1.022/2.791, allocations: 135.3 MB / 1.047 GB, free: 140.1 MB / 0.7178 GB Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/2.791, allocations: 9.344 kB / 1.047 GB, free: 140.1 MB / 0.7178 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04248/2.834, allocations: 17.59 MB / 1.064 GB, free: 130.1 MB / 0.7178 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8976/3.731, allocations: 206 MB / 1.266 GB, free: 8.664 MB / 0.7803 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.56e-05/3.731, allocations: 4.969 kB / 1.266 GB, free: 8.66 MB / 0.7803 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/3.731, allocations: 1.875 kB / 1.266 GB, free: 8.66 MB / 0.7803 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/3.732, allocations: 49.69 kB / 1.266 GB, free: 8.605 MB / 0.7803 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/3.732, allocations: 0.7812 kB / 1.266 GB, free: 8.605 MB / 0.7803 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/3.732, allocations: 7.922 kB / 1.266 GB, free: 8.598 MB / 0.7803 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/3.732, allocations: 4.781 kB / 1.266 GB, free: 8.598 MB / 0.7803 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.507e-05/3.732, allocations: 14.39 kB / 1.266 GB, free: 8.586 MB / 0.7803 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1312/3.863, allocations: 54.46 MB / 1.319 GB, free: 2.016 MB / 0.8272 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/3.863, allocations: 53.91 kB / 1.319 GB, free: 1.957 MB / 0.8272 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.911e-05/3.863, allocations: 22.84 kB / 1.319 GB, free: 1.934 MB / 0.8272 GB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/3.863, allocations: 0 / 1.319 GB, free: 1.934 MB / 0.8272 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/3.864, allocations: 61.39 kB / 1.319 GB, free: 1.863 MB / 0.8272 GB Notification: Performance of pre-optimization done (n=5): time 1.954e-06/3.864, allocations: 0 / 1.319 GB, free: 1.863 MB / 0.8272 GB Notification: Performance of matching and sorting (n=5): time 0.03859/3.902, allocations: 18.17 MB / 1.337 GB, free: 15.45 MB / 0.8584 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/3.902, allocations: 59.34 kB / 1.337 GB, free: 15.38 MB / 0.8584 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8857/4.788, allocations: 201.9 MB / 1.534 GB, free: 168 MB / 0.874 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/4.788, allocations: 29.7 kB / 1.534 GB, free: 167.9 MB / 0.874 GB Notification: Performance of collectInitialEqns (initialization): time 0.1111/4.899, allocations: 101.8 MB / 1.633 GB, free: 66.09 MB / 0.874 GB Notification: Performance of collectInitialBindings (initialization): time 8.613e-05/4.899, allocations: 13.77 kB / 1.633 GB, free: 66.08 MB / 0.874 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/4.899, allocations: 19.8 kB / 1.634 GB, free: 66.06 MB / 0.874 GB Notification: Performance of setup shared object (initialization): time 4.599e-05/4.899, allocations: 310 kB / 1.634 GB, free: 65.75 MB / 0.874 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.472e-05/4.899, allocations: 15.98 kB / 1.634 GB, free: 65.73 MB / 0.874 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.091e-05/4.9, allocations: 29.94 kB / 1.634 GB, free: 65.7 MB / 0.874 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/4.9, allocations: 45.45 kB / 1.634 GB, free: 65.66 MB / 0.874 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/4.9, allocations: 0 / 1.634 GB, free: 65.66 MB / 0.874 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.04292/4.943, allocations: 18.14 MB / 1.652 GB, free: 57.28 MB / 0.874 GB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/4.943, allocations: 15.73 kB / 1.652 GB, free: 57.27 MB / 0.874 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/4.943, allocations: 0.9375 kB / 1.652 GB, free: 57.27 MB / 0.874 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/4.943, allocations: 1.656 kB / 1.652 GB, free: 57.27 MB / 0.874 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/4.943, allocations: 11.66 kB / 1.652 GB, free: 57.26 MB / 0.874 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/4.943, allocations: 0 / 1.652 GB, free: 57.26 MB / 0.874 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04383/4.987, allocations: 0.4922 MB / 1.652 GB, free: 56.77 MB / 0.874 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/4.987, allocations: 5.406 kB / 1.652 GB, free: 56.77 MB / 0.874 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.07491/5.062, allocations: 37.24 MB / 1.688 GB, free: 19.48 MB / 0.874 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.05413/5.116, allocations: 18.57 MB / 1.707 GB, free: 10.69 MB / 0.874 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5329/5.649, allocations: 20.44 MB / 1.727 GB, free: 252.6 MB / 0.874 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/5.649, allocations: 2.953 kB / 1.727 GB, free: 252.6 MB / 0.874 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/5.649, allocations: 0 / 1.727 GB, free: 252.6 MB / 0.874 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/5.649, allocations: 0 / 1.727 GB, free: 252.6 MB / 0.874 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1781/5.827, allocations: 59.83 MB / 1.785 GB, free: 229.4 MB / 0.874 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/5.827, allocations: 3.5 kB / 1.785 GB, free: 229.4 MB / 0.874 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.505e-05/5.827, allocations: 4.125 kB / 1.785 GB, free: 229.4 MB / 0.874 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/5.827, allocations: 1.312 kB / 1.785 GB, free: 229.4 MB / 0.874 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/5.827, allocations: 7.141 kB / 1.785 GB, free: 229.4 MB / 0.874 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/5.827, allocations: 0 / 1.785 GB, free: 229.4 MB / 0.874 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/5.827, allocations: 1.125 kB / 1.785 GB, free: 229.4 MB / 0.874 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04592/5.873, allocations: 19.83 MB / 1.804 GB, free: 228.2 MB / 0.874 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04618/5.919, allocations: 15.23 MB / 1.819 GB, free: 228.1 MB / 0.874 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02844/5.948, allocations: 0.4931 MB / 1.82 GB, free: 228.1 MB / 0.874 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02881/5.977, allocations: 0.4924 MB / 1.82 GB, free: 228.1 MB / 0.874 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.611e-05/5.977, allocations: 0 / 1.82 GB, free: 228.1 MB / 0.874 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/5.977, allocations: 4.125 kB / 1.82 GB, free: 228.1 MB / 0.874 GB Notification: Performance of sorting global known variables: time 0.4107/6.388, allocations: 139.9 MB / 1.957 GB, free: 117.8 MB / 0.874 GB Notification: Performance of sort global known variables: time 2.274e-06/6.388, allocations: 0 / 1.957 GB, free: 117.8 MB / 0.874 GB Notification: Performance of remove unused functions: time 0.03651/6.424, allocations: 4.904 MB / 1.962 GB, free: 112.9 MB / 0.874 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.001058/6.425, allocations: 401.3 kB / 1.962 GB, free: 112.6 MB / 0.874 GB Notification: Performance of simCode: created initialization part: time 0.0002305/6.425, allocations: 46.52 kB / 1.962 GB, free: 112.6 MB / 0.874 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/6.425, allocations: 0 / 1.962 GB, free: 112.6 MB / 0.874 GB Notification: Performance of simCode: created simulation system equations: time 5.771e-05/6.426, allocations: 23.83 kB / 1.962 GB, free: 112.6 MB / 0.874 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1121/6.538, allocations: 13.51 MB / 1.975 GB, free: 99.06 MB / 0.874 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.105/7.643, allocations: 328.9 MB / 2.296 GB, free: 90.74 MB / 0.874 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1673/7.81, allocations: 68.47 MB / 2.363 GB, free: 22.96 MB / 0.874 GB Notification: Performance of simCode: alias equations: time 0.1758/7.986, allocations: 45.37 MB / 2.408 GB, free: 10 MB / 0.9053 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.7629/8.749, allocations: 17.59 MB / 2.425 GB, free: 140.1 MB / 0.9053 GB Notification: Performance of SimCode: time 1.953e-06/8.749, allocations: 0 / 2.425 GB, free: 140.1 MB / 0.9053 GB Notification: Performance of Templates: time 2.344/11.09, allocations: 0.4896 GB / 2.914 GB, free: 206.3 MB / 0.999 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches