Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009809/0.0009809, allocations: 174.9 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 221.5 MB / 230.3 MB, free: 7.59 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008727/0.0008727, allocations: 88.45 kB / 281.2 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8567/0.8567, allocations: 120.5 MB / 452.4 MB, free: 10.52 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.422e-05/1.423e-05, allocations: 0 / 0.5288 GB, free: 1.328 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5186/0.5186, allocations: 82.83 MB / 0.6097 GB, free: 13.07 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1465/0.6652, allocations: 128.5 MB / 0.7351 GB, free: 12.44 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001527/0.6654, allocations: 51.97 kB / 0.7352 GB, free: 12.39 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01061/0.676, allocations: 4.05 MB / 0.7392 GB, free: 8.336 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.523e-06/0.676, allocations: 0 / 0.7392 GB, free: 8.336 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.392e-05/0.6761, allocations: 11.98 kB / 0.7392 GB, free: 8.324 MB / 0.5419 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.0004215/0.6765, allocations: 450 kB / 0.7396 GB, free: 7.84 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.6765, allocations: 8.031 kB / 0.7396 GB, free: 7.832 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.902e-05/0.6766, allocations: 23.77 kB / 0.7396 GB, free: 7.809 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.677, allocations: 314.2 kB / 0.7399 GB, free: 7.457 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.677, allocations: 4 kB / 0.7399 GB, free: 7.453 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.677, allocations: 0 / 0.7399 GB, free: 7.453 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.448e-05/0.6771, allocations: 15.98 kB / 0.7399 GB, free: 7.438 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.979e-05/0.6772, allocations: 49.62 kB / 0.74 GB, free: 7.383 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.6772, allocations: 0 / 0.74 GB, free: 7.383 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.6772, allocations: 3.953 kB / 0.74 GB, free: 7.379 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.6772, allocations: 4 kB / 0.74 GB, free: 7.375 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.6774, allocations: 186.2 kB / 0.7402 GB, free: 7.156 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.21e-05/0.6775, allocations: 46.62 kB / 0.7402 GB, free: 7.102 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.298e-05/0.6775, allocations: 12.86 kB / 0.7402 GB, free: 7.086 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.6776, allocations: 8 kB / 0.7402 GB, free: 7.078 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.6777, allocations: 67.48 kB / 0.7403 GB, free: 7 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=5): time 3.337e-06/0.6777, allocations: 0 / 0.7403 GB, free: 7 MB / 0.5419 GB Notification: Performance of matching and sorting (n=5): time 0.0001944/0.6779, allocations: 89.34 kB / 0.7404 GB, free: 6.906 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.678, allocations: 55.39 kB / 0.7404 GB, free: 6.84 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.6782, allocations: 230.3 kB / 0.7407 GB, free: 6.613 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.6782, allocations: 41.62 kB / 0.7407 GB, free: 6.566 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.6783, allocations: 132.1 kB / 0.7408 GB, free: 6.434 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.6783, allocations: 11.84 kB / 0.7408 GB, free: 6.422 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-06/0.6783, allocations: 0 / 0.7408 GB, free: 6.422 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 9.903e-05/0.6784, allocations: 342.8 kB / 0.7412 GB, free: 6.078 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.537e-05/0.6784, allocations: 12 kB / 0.7412 GB, free: 6.066 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.519e-05/0.6785, allocations: 25.7 kB / 0.7412 GB, free: 6.035 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.294e-05/0.6785, allocations: 12 kB / 0.7412 GB, free: 6.023 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6785, allocations: 7.938 kB / 0.7412 GB, free: 6.016 MB / 0.5419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000114/0.6787, allocations: 89.34 kB / 0.7413 GB, free: 5.922 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.6787, allocations: 5.406 kB / 0.7413 GB, free: 5.918 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.6787, allocations: 0 / 0.7413 GB, free: 5.918 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.6787, allocations: 0 / 0.7413 GB, free: 5.918 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.391e-05/0.6788, allocations: 15.98 kB / 0.7413 GB, free: 5.902 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.6788, allocations: 0 / 0.7413 GB, free: 5.902 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.019e-05/0.6788, allocations: 4 kB / 0.7413 GB, free: 5.898 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.6789, allocations: 0 / 0.7413 GB, free: 5.898 MB / 0.5419 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.857e-05/0.6789, allocations: 119.3 kB / 0.7414 GB, free: 5.777 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.679, allocations: 19.72 kB / 0.7415 GB, free: 5.758 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.6791, allocations: 103.4 kB / 0.7416 GB, free: 5.648 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.6791, allocations: 3.984 kB / 0.7416 GB, free: 5.645 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.6791, allocations: 0 / 0.7416 GB, free: 5.645 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.6792, allocations: 0 / 0.7416 GB, free: 5.645 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.6793, allocations: 198.1 kB / 0.7418 GB, free: 5.414 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.6793, allocations: 0 / 0.7418 GB, free: 5.414 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3e-05/0.6793, allocations: 11.98 kB / 0.7418 GB, free: 5.402 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.6793, allocations: 0 / 0.7418 GB, free: 5.402 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.6794, allocations: 4.188 kB / 0.7418 GB, free: 5.398 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.6794, allocations: 11.98 kB / 0.7418 GB, free: 5.387 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6794, allocations: 0 / 0.7418 GB, free: 5.387 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.6795, allocations: 120.7 kB / 0.7419 GB, free: 5.25 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.709e-05/0.6796, allocations: 104.8 kB / 0.742 GB, free: 5.129 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.6796, allocations: 4 kB / 0.742 GB, free: 5.125 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.636e-05/0.6797, allocations: 0 / 0.742 GB, free: 5.125 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.6797, allocations: 8 kB / 0.742 GB, free: 5.117 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.6797, allocations: 3.984 kB / 0.742 GB, free: 5.113 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.0001461/0.6799, allocations: 198 kB / 0.7422 GB, free: 4.918 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6799, allocations: 0 / 0.7422 GB, free: 4.918 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002116/0.6801, allocations: 19.94 kB / 0.7422 GB, free: 4.898 MB / 0.5419 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006962/0.6808, allocations: 342.6 kB / 0.7425 GB, free: 4.641 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 9.734e-05/0.6809, allocations: 47.92 kB / 0.7426 GB, free: 4.594 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6809, allocations: 3.938 kB / 0.7426 GB, free: 4.59 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 3.545e-05/0.681, allocations: 16 kB / 0.7426 GB, free: 4.574 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.6812, allocations: 28.88 kB / 0.7426 GB, free: 4.543 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003734/0.6816, allocations: 230.4 kB / 0.7429 GB, free: 4.293 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.6818, allocations: 0.7515 MB / 0.7436 GB, free: 3.512 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.0001057/0.682, allocations: 33.83 kB / 0.7436 GB, free: 3.48 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.394e-05/0.682, allocations: 27.42 kB / 0.7436 GB, free: 3.457 MB / 0.5419 GB Notification: Performance of SimCode: time 2.4e-07/0.682, allocations: 0 / 0.7436 GB, free: 3.457 MB / 0.5419 GB Notification: Performance of Templates: time 0.005223/0.6873, allocations: 1.554 MB / 0.7452 GB, free: 1.918 MB / 0.5419 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches