Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_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.TimeTable_N_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000961/0.0009653, allocations: 110.4 kB / 17.01 MB, free: 5.781 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.0008634/0.0008634, allocations: 195.5 kB / 17.95 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.4406/0.4406, allocations: 225.6 MB / 244.4 MB, free: 5.293 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5716/0.5716, allocations: 119.5 MB / 414 MB, free: 10.4 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000986/0.000986, allocations: 59.91 kB / 0.4945 GB, free: 13.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3762, allocations: 80.69 MB / 0.5733 GB, free: 56.18 MB / 478.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000): time 0.001763/0.378, allocations: 1.407 MB / 0.5747 GB, free: 55.21 MB / 478.2 MB Notification: Performance of NFInst.instExpressions: time 0.0006458/0.3786, allocations: 0.5705 MB / 0.5752 GB, free: 54.81 MB / 478.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 4e-05/0.3787, allocations: 0 / 0.5752 GB, free: 54.81 MB / 478.2 MB Notification: Performance of NFTyping.typeComponents: time 0.006867/0.3855, allocations: 13.68 MB / 0.5886 GB, free: 50.22 MB / 478.2 MB Notification: Performance of NFTyping.typeBindings: time 0.004755/0.3903, allocations: 13.73 MB / 0.602 GB, free: 39.12 MB / 478.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.3906, allocations: 89.03 kB / 0.6021 GB, free: 39.05 MB / 478.2 MB Notification: Performance of NFFlatten.flatten: time 0.01411/0.4047, allocations: 34 MB / 0.6353 GB, free: 5 MB / 478.2 MB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.4048, allocations: 4 kB / 0.6353 GB, free: 4.996 MB / 478.2 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01532/0.4201, allocations: 16.89 MB / 0.6518 GB, free: 4.082 MB / 494.2 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02528/0.4454, allocations: 32.25 MB / 0.6833 GB, free: 3.781 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.005031/0.4505, allocations: 1.961 MB / 0.6852 GB, free: 1.824 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003009/0.4535, allocations: 2.035 MB / 0.6872 GB, free: 15.79 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.0688/0.5223, allocations: 79.6 MB / 0.7649 GB, free: 15.98 MB / 0.6077 GB Notification: Performance of NFVerifyModel.verify: time 0.3924/0.9148, allocations: 44.94 MB / 0.8088 GB, free: 91.9 MB / 0.6235 GB Notification: Performance of NFConvertDAE.convert: time 0.05965/0.9744, allocations: 98.72 MB / 0.9052 GB, free: 51.07 MB / 0.6235 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.9745, allocations: 0.625 kB / 0.9052 GB, free: 51.07 MB / 0.6235 GB Notification: Performance of FrontEnd: time 1.734e-06/0.9745, allocations: 0 / 0.9052 GB, free: 51.07 MB / 0.6235 GB Notification: Performance of Transformations before backend: time 0.003557/0.9781, allocations: 1.75 kB / 0.9052 GB, free: 51.07 MB / 0.6235 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.1687/1.147, allocations: 153.9 MB / 1.055 GB, free: 8.859 MB / 0.7173 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/1.147, allocations: 8.031 kB / 1.056 GB, free: 8.852 MB / 0.7173 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.255/1.402, allocations: 17.59 MB / 1.073 GB, free: 179.1 MB / 0.7173 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3601/1.762, allocations: 206 MB / 1.274 GB, free: 15.15 MB / 0.7173 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/1.762, allocations: 384 / 1.274 GB, free: 15.15 MB / 0.7173 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007848/1.763, allocations: 0.4945 MB / 1.274 GB, free: 14.66 MB / 0.7173 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00417/1.767, allocations: 5.906 MB / 1.28 GB, free: 8.738 MB / 0.7173 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/1.767, allocations: 0 / 1.28 GB, free: 8.738 MB / 0.7173 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006776/1.768, allocations: 0.4983 MB / 1.281 GB, free: 8.242 MB / 0.7173 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/1.768, allocations: 0 / 1.281 GB, free: 8.242 MB / 0.7173 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002872/1.771, allocations: 3.435 MB / 1.284 GB, free: 4.809 MB / 0.7173 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07445/1.845, allocations: 54.94 MB / 1.338 GB, free: 13.75 MB / 0.7798 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00527/1.85, allocations: 1.997 MB / 1.34 GB, free: 11.75 MB / 0.7798 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004536/1.855, allocations: 1.985 MB / 1.341 GB, free: 9.762 MB / 0.7798 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/1.855, allocations: 3.047 kB / 1.341 GB, free: 9.762 MB / 0.7798 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006492/1.861, allocations: 4.972 MB / 1.346 GB, free: 4.766 MB / 0.7798 GB Notification: Performance of pre-optimization done (n=8): time 2.695e-06/1.861, allocations: 4 kB / 1.346 GB, free: 4.766 MB / 0.7798 GB Notification: Performance of matching and sorting (n=8): time 0.2856/2.147, allocations: 32.86 MB / 1.378 GB, free: 186.4 MB / 0.7954 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/2.147, allocations: 82.42 kB / 1.379 GB, free: 186.3 MB / 0.7954 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2494/2.397, allocations: 198 MB / 1.572 GB, free: 78.45 MB / 0.7954 GB Notification: Performance of collectPreVariables (initialization): time 0.001862/2.398, allocations: 0.5196 MB / 1.572 GB, free: 77.92 MB / 0.7954 GB Notification: Performance of collectInitialEqns (initialization): time 0.07921/2.478, allocations: 97.81 MB / 1.668 GB, free: 12.29 MB / 0.8267 GB Notification: Performance of collectInitialBindings (initialization): time 0.002144/2.48, allocations: 0.5009 MB / 1.668 GB, free: 11.8 MB / 0.8267 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006174/2.486, allocations: 3.444 MB / 1.672 GB, free: 8.348 MB / 0.8267 GB Notification: Performance of setup shared object (initialization): time 8.469e-05/2.486, allocations: 310 kB / 1.672 GB, free: 8.039 MB / 0.8267 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002431/2.489, allocations: 1.977 MB / 1.674 GB, free: 6.066 MB / 0.8267 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00237/2.491, allocations: 1.965 MB / 1.676 GB, free: 4.102 MB / 0.8267 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005712/2.497, allocations: 4.009 MB / 1.68 GB, free: 80 kB / 0.8267 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/2.497, allocations: 0.625 kB / 1.68 GB, free: 80 kB / 0.8267 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.2835/2.78, allocations: 30.89 MB / 1.71 GB, free: 127 MB / 0.8267 GB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/2.78, allocations: 38.83 kB / 1.71 GB, free: 127 MB / 0.8267 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/2.78, allocations: 3.797 kB / 1.71 GB, free: 127 MB / 0.8267 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/2.78, allocations: 2.562 kB / 1.71 GB, free: 127 MB / 0.8267 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.522e-05/2.78, allocations: 6.781 kB / 1.71 GB, free: 127 MB / 0.8267 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/2.78, allocations: 0 / 1.71 GB, free: 127 MB / 0.8267 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01494/2.795, allocations: 0.4892 MB / 1.711 GB, free: 127 MB / 0.8267 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005252/2.801, allocations: 6.844 MB / 1.717 GB, free: 127 MB / 0.8267 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.04533/2.846, allocations: 38.23 MB / 1.755 GB, free: 126.8 MB / 0.8267 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01773/2.864, allocations: 18.08 MB / 1.772 GB, free: 126.8 MB / 0.8267 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03453/2.898, allocations: 20.44 MB / 1.792 GB, free: 124.9 MB / 0.8267 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/2.898, allocations: 0.5312 kB / 1.792 GB, free: 124.9 MB / 0.8267 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/2.898, allocations: 2.719 kB / 1.792 GB, free: 124.9 MB / 0.8267 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/2.898, allocations: 5.812 kB / 1.792 GB, free: 124.9 MB / 0.8267 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0856/2.984, allocations: 59.83 MB / 1.851 GB, free: 98.83 MB / 0.8267 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/2.984, allocations: 0 / 1.851 GB, free: 98.83 MB / 0.8267 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.32e-05/2.984, allocations: 4 kB / 1.851 GB, free: 98.82 MB / 0.8267 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/2.984, allocations: 1.641 kB / 1.851 GB, free: 98.82 MB / 0.8267 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002881/2.987, allocations: 1.473 MB / 1.852 GB, free: 97.35 MB / 0.8267 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/2.987, allocations: 0.5 kB / 1.852 GB, free: 97.35 MB / 0.8267 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/2.987, allocations: 0 / 1.852 GB, free: 97.35 MB / 0.8267 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03027/3.017, allocations: 32.11 MB / 1.883 GB, free: 69.78 MB / 0.8267 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02023/3.037, allocations: 15.22 MB / 1.898 GB, free: 54.3 MB / 0.8267 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01087/3.048, allocations: 0.4922 MB / 1.899 GB, free: 53.81 MB / 0.8267 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0126/3.061, allocations: 0.4922 MB / 1.899 GB, free: 53.32 MB / 0.8267 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/3.061, allocations: 7.406 kB / 1.899 GB, free: 53.32 MB / 0.8267 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003951/3.065, allocations: 6.842 MB / 1.906 GB, free: 47.45 MB / 0.8267 GB Notification: Performance of sorting global known variables: time 0.4578/3.523, allocations: 137.9 MB / 2.041 GB, free: 142.6 MB / 0.8579 GB Notification: Performance of sort global known variables: time 9.32e-07/3.523, allocations: 3.5 kB / 2.041 GB, free: 142.6 MB / 0.8579 GB Notification: Performance of remove unused functions: time 0.01683/3.54, allocations: 4.916 MB / 2.045 GB, free: 142.6 MB / 0.8579 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.001392/3.541, allocations: 0.61 MB / 2.046 GB, free: 142.5 MB / 0.8579 GB Notification: Performance of simCode: created initialization part: time 0.005022/3.546, allocations: 4.534 MB / 2.05 GB, free: 142.4 MB / 0.8579 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/3.546, allocations: 4.656 kB / 2.05 GB, free: 142.4 MB / 0.8579 GB Notification: Performance of simCode: created simulation system equations: time 0.003014/3.549, allocations: 2.546 MB / 2.053 GB, free: 142.3 MB / 0.8579 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04914/3.598, allocations: 13.48 MB / 2.066 GB, free: 133.7 MB / 0.8579 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7863/4.384, allocations: 293.7 MB / 2.353 GB, free: 232.3 MB / 0.874 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.08318/4.468, allocations: 68.46 MB / 2.42 GB, free: 200.9 MB / 0.874 GB Notification: Performance of simCode: alias equations: time 0.06821/4.536, allocations: 37.27 MB / 2.456 GB, free: 182.3 MB / 0.874 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007744/4.544, allocations: 7.823 MB / 2.464 GB, free: 182.3 MB / 0.874 GB Notification: Performance of SimCode: time 7.81e-07/4.544, allocations: 0 / 2.464 GB, free: 182.3 MB / 0.874 GB Notification: Performance of Templates: time 1.214/5.758, allocations: 0.6735 GB / 3.137 GB, free: 336 MB / 1.015 GB make -j1 -f ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.makefile (rm -f ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; mkfifo ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; head -c 1048576 < ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe >> ../files/ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.sim & ./ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","../files/ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches