Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.0008978/0.000898, allocations: 93.52 kB / 16.3 MB, free: 5.656 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.0009419/0.0009419, allocations: 188.2 kB / 17.2 MB, free: 5.594 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.35/1.35, allocations: 223.2 MB / 241.1 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.756/0.756, allocations: 120.5 MB / 412.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.000383, allocations: 8 kB / 0.4942 GB, free: 11.14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1566, allocations: 82.84 MB / 0.5751 GB, free: 8.164 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000): time 0.001506/0.1581, allocations: 1.111 MB / 0.5762 GB, free: 7.043 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009314/0.1591, allocations: 0.5265 MB / 0.5767 GB, free: 6.512 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.597e-05/0.1592, allocations: 0 / 0.5767 GB, free: 6.512 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.4948/0.6539, allocations: 15.14 MB / 0.5915 GB, free: 11.24 MB / 446.3 MB Notification: Performance of NFTyping.typeBindings: time 0.01099/0.6649, allocations: 15.19 MB / 0.6063 GB, free: 5.176 MB / 446.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.6653, allocations: 54.97 kB / 0.6063 GB, free: 5.152 MB / 446.3 MB Notification: Performance of NFFlatten.flatten: time 0.02317/0.6885, allocations: 23.47 MB / 0.6293 GB, free: 14.8 MB / 478.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.724e-05/0.6886, allocations: 0.5938 kB / 0.6293 GB, free: 14.8 MB / 478.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02231/0.7109, allocations: 17.61 MB / 0.6465 GB, free: 13.17 MB / 494.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0416/0.7525, allocations: 32.5 MB / 0.6782 GB, free: 12.65 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.00898/0.7615, allocations: 1.953 MB / 0.6801 GB, free: 10.7 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008894/0.7704, allocations: 2.022 MB / 0.6821 GB, free: 8.676 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.08078/0.8512, allocations: 74.23 MB / 0.7546 GB, free: 15.05 MB / 0.592 GB Notification: Performance of NFVerifyModel.verify: time 0.02047/0.8718, allocations: 15.65 MB / 0.7699 GB, free: 15.3 MB / 0.6077 GB Notification: Performance of NFConvertDAE.convert: time 0.6266/1.498, allocations: 71.83 MB / 0.84 GB, free: 94.01 MB / 0.6548 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/1.498, allocations: 0 / 0.84 GB, free: 94.01 MB / 0.6548 GB Notification: Performance of FrontEnd: time 3.547e-06/1.498, allocations: 1.531 kB / 0.84 GB, free: 94.01 MB / 0.6548 GB Notification: Performance of Transformations before backend: time 0.004849/1.503, allocations: 1.188 kB / 0.84 GB, free: 94.01 MB / 0.6548 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.2038/1.707, allocations: 137.3 MB / 0.9741 GB, free: 5.422 MB / 0.6548 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/1.707, allocations: 12.06 kB / 0.9741 GB, free: 5.422 MB / 0.6548 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03105/1.738, allocations: 17.59 MB / 0.9913 GB, free: 4.559 MB / 0.6704 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.46/3.198, allocations: 196.2 MB / 1.183 GB, free: 225.4 MB / 0.8272 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/3.198, allocations: 3.125 kB / 1.183 GB, free: 225.4 MB / 0.8272 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004982/3.203, allocations: 499.8 kB / 1.183 GB, free: 225.4 MB / 0.8272 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009342/3.212, allocations: 5.912 MB / 1.189 GB, free: 225.4 MB / 0.8272 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/3.212, allocations: 0.5938 kB / 1.189 GB, free: 225.4 MB / 0.8272 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008634/3.213, allocations: 499.1 kB / 1.19 GB, free: 225.4 MB / 0.8272 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/3.213, allocations: 3.406 kB / 1.19 GB, free: 225.4 MB / 0.8272 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004131/3.217, allocations: 3.436 MB / 1.193 GB, free: 225.4 MB / 0.8272 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1164/3.334, allocations: 54.95 MB / 1.247 GB, free: 198.8 MB / 0.8272 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01191/3.346, allocations: 1.988 MB / 1.249 GB, free: 198.8 MB / 0.8272 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/3.346, allocations: 0.5312 kB / 1.249 GB, free: 198.8 MB / 0.8272 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0179/3.364, allocations: 4.981 MB / 1.253 GB, free: 197.2 MB / 0.8272 GB Notification: Performance of pre-optimization done (n=8): time 6.091e-06/3.364, allocations: 0 / 1.253 GB, free: 197.2 MB / 0.8272 GB Notification: Performance of matching and sorting (n=8): time 0.1068/3.47, allocations: 32.93 MB / 1.286 GB, free: 187.5 MB / 0.8272 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/3.47, allocations: 83.11 kB / 1.286 GB, free: 187.4 MB / 0.8272 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7257/4.196, allocations: 197.5 MB / 1.479 GB, free: 147.9 MB / 0.8272 GB Notification: Performance of collectPreVariables (initialization): time 0.004262/4.2, allocations: 0.5147 MB / 1.479 GB, free: 147.9 MB / 0.8272 GB Notification: Performance of collectInitialEqns (initialization): time 0.1016/4.302, allocations: 97.77 MB / 1.575 GB, free: 67.71 MB / 0.8272 GB Notification: Performance of collectInitialBindings (initialization): time 0.004178/4.306, allocations: 0.5031 MB / 1.575 GB, free: 67.71 MB / 0.8272 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003858/4.31, allocations: 0.4928 MB / 1.576 GB, free: 67.71 MB / 0.8272 GB Notification: Performance of setup shared object (initialization): time 7.825e-05/4.31, allocations: 314.6 kB / 1.576 GB, free: 67.41 MB / 0.8272 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01109/4.321, allocations: 1.967 MB / 1.578 GB, free: 67.4 MB / 0.8272 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01039/4.332, allocations: 1.975 MB / 1.58 GB, free: 67.39 MB / 0.8272 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01095/4.343, allocations: 2.003 MB / 1.582 GB, free: 67.36 MB / 0.8272 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/4.343, allocations: 0.8438 kB / 1.582 GB, free: 67.36 MB / 0.8272 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0845/4.427, allocations: 30.88 MB / 1.612 GB, free: 66.77 MB / 0.8272 GB Notification: Performance of prepare postOptimizeDAE: time 5.506e-05/4.427, allocations: 39.38 kB / 1.612 GB, free: 66.73 MB / 0.8272 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/4.427, allocations: 3.703 kB / 1.612 GB, free: 66.73 MB / 0.8272 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/4.428, allocations: 2.25 kB / 1.612 GB, free: 66.73 MB / 0.8272 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.473e-05/4.428, allocations: 7.766 kB / 1.612 GB, free: 66.73 MB / 0.8272 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/4.428, allocations: 0.5312 kB / 1.612 GB, free: 66.73 MB / 0.8272 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02946/4.457, allocations: 0.4964 MB / 1.612 GB, free: 66.73 MB / 0.8272 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01877/4.476, allocations: 6.838 MB / 1.619 GB, free: 65.75 MB / 0.8272 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.06336/4.539, allocations: 38.23 MB / 1.656 GB, free: 61.7 MB / 0.8272 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03299/4.572, allocations: 18.08 MB / 1.674 GB, free: 51.7 MB / 0.8272 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05206/4.624, allocations: 20.44 MB / 1.694 GB, free: 45.89 MB / 0.8272 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/4.624, allocations: 2.766 kB / 1.694 GB, free: 45.89 MB / 0.8272 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/4.624, allocations: 5.047 kB / 1.694 GB, free: 45.89 MB / 0.8272 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/4.624, allocations: 0 / 1.694 GB, free: 45.89 MB / 0.8272 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1297/4.754, allocations: 59.84 MB / 1.752 GB, free: 16.03 MB / 0.8272 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/4.754, allocations: 0 / 1.752 GB, free: 16.03 MB / 0.8272 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.475e-05/4.754, allocations: 3.406 kB / 1.752 GB, free: 16.03 MB / 0.8272 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.343e-06/4.754, allocations: 0 / 1.752 GB, free: 16.03 MB / 0.8272 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005851/4.76, allocations: 1.468 MB / 1.754 GB, free: 16.03 MB / 0.8272 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/4.76, allocations: 2 kB / 1.754 GB, free: 16.03 MB / 0.8272 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/4.76, allocations: 0 / 1.754 GB, free: 16.03 MB / 0.8272 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09583/4.856, allocations: 32.11 MB / 1.785 GB, free: 7.84 MB / 0.8428 GB Notification: Performance of postOpt removeConstants (simulation): time 0.4307/5.287, allocations: 15.22 MB / 1.8 GB, free: 247.9 MB / 0.8428 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.03141/5.318, allocations: 0.493 MB / 1.801 GB, free: 247.9 MB / 0.8428 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02957/5.348, allocations: 0.4919 MB / 1.801 GB, free: 247.9 MB / 0.8428 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/5.348, allocations: 7.078 kB / 1.801 GB, free: 247.9 MB / 0.8428 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.02158/5.37, allocations: 6.842 MB / 1.808 GB, free: 247.6 MB / 0.8428 GB Notification: Performance of sorting global known variables: time 0.3318/5.701, allocations: 137.4 MB / 1.942 GB, free: 189.6 MB / 0.8428 GB Notification: Performance of sort global known variables: time 3.21e-07/5.701, allocations: 4.812 kB / 1.942 GB, free: 189.6 MB / 0.8428 GB Notification: Performance of remove unused functions: time 0.02843/5.73, allocations: 4.91 MB / 1.947 GB, free: 184.7 MB / 0.8428 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004225/5.734, allocations: 0.6127 MB / 1.947 GB, free: 184.1 MB / 0.8428 GB Notification: Performance of simCode: created initialization part: time 0.0237/5.758, allocations: 4.527 MB / 1.952 GB, free: 179.6 MB / 0.8428 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/5.758, allocations: 0 / 1.952 GB, free: 179.6 MB / 0.8428 GB Notification: Performance of simCode: created simulation system equations: time 0.01404/5.772, allocations: 2.55 MB / 1.954 GB, free: 177 MB / 0.8428 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04203/5.814, allocations: 13 MB / 1.967 GB, free: 164 MB / 0.8428 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9214/6.735, allocations: 311.2 MB / 2.271 GB, free: 143.8 MB / 0.8428 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1431/6.879, allocations: 71.39 MB / 2.341 GB, free: 93 MB / 0.8428 GB Notification: Performance of simCode: alias equations: time 0.1142/6.993, allocations: 37.44 MB / 2.377 GB, free: 57.61 MB / 0.8428 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01654/7.009, allocations: 7.824 MB / 2.385 GB, free: 49.78 MB / 0.8428 GB Notification: Performance of SimCode: time 1.854e-06/7.009, allocations: 0 / 2.385 GB, free: 49.78 MB / 0.8428 GB Notification: Performance of Templates: time 2.497/9.506, allocations: 0.6645 GB / 3.049 GB, free: 58.95 MB / 0.9053 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches