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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 105.3 kB / 16.51 MB, free: 6.707 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.002089/0.002089, allocations: 193.9 kB / 17.43 MB, free: 6.062 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.412/1.412, allocations: 222.9 MB / 241.1 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.161/1.161, allocations: 119.3 MB / 410.6 MB, free: 9.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 59.91 kB / 0.4903 GB, free: 14.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6691/0.6705, allocations: 80.68 MB / 0.569 GB, free: 43 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002819/0.6733, allocations: 1.613 MB / 0.5706 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.6746, allocations: 0.8839 MB / 0.5715 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.394e-05/0.6747, allocations: 1.094 kB / 0.5715 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003293/0.675, allocations: 64.64 kB / 0.5715 GB, free: 41.01 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002745/0.6753, allocations: 92.53 kB / 0.5716 GB, free: 40.95 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.6755, allocations: 90.89 kB / 0.5717 GB, free: 40.9 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.6757, allocations: 121.4 kB / 0.5718 GB, free: 40.83 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.089e-05/0.6758, allocations: 5.281 kB / 0.5718 GB, free: 40.83 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.6759, allocations: 61.55 kB / 0.5719 GB, free: 40.8 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.676, allocations: 63.34 kB / 0.572 GB, free: 40.76 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.6761, allocations: 2.781 kB / 0.572 GB, free: 40.76 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.398e-05/0.6762, allocations: 29.89 kB / 0.572 GB, free: 40.75 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.6763, allocations: 64.81 kB / 0.5721 GB, free: 40.72 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.185e-05/0.6764, allocations: 59.52 kB / 0.5721 GB, free: 40.67 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.6766, allocations: 153.9 kB / 0.5723 GB, free: 40.57 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.6766, allocations: 0 / 0.5723 GB, free: 40.57 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.402e-06/0.6766, allocations: 0 / 0.5723 GB, free: 40.57 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.6766, allocations: 5.281 kB / 0.5723 GB, free: 40.57 MB / 462.3 MB 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.0005202/0.6771, allocations: 492.4 kB / 0.5727 GB, free: 40.09 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.6772, allocations: 9.625 kB / 0.5727 GB, free: 40.09 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.265e-05/0.6772, allocations: 22.28 kB / 0.5728 GB, free: 40.08 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.6776, allocations: 328.2 kB / 0.5731 GB, free: 39.78 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.6776, allocations: 5.75 kB / 0.5731 GB, free: 39.78 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.6776, allocations: 5.5 kB / 0.5731 GB, free: 39.77 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.6777, allocations: 47.3 kB / 0.5731 GB, free: 39.73 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.6777, allocations: 1.375 kB / 0.5731 GB, free: 39.73 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.6778, allocations: 0 / 0.5731 GB, free: 39.73 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.6778, allocations: 0 / 0.5731 GB, free: 39.73 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.418e-05/0.6778, allocations: 24.16 kB / 0.5732 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/0.678, allocations: 207.8 kB / 0.5734 GB, free: 39.49 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.6782, allocations: 55.09 kB / 0.5734 GB, free: 39.45 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.082e-05/0.6782, allocations: 25.66 kB / 0.5734 GB, free: 39.43 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.6782, allocations: 0 / 0.5734 GB, free: 39.43 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.6784, allocations: 68.11 kB / 0.5735 GB, free: 39.36 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.6784, allocations: 1 kB / 0.5735 GB, free: 39.36 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0002657/0.6787, allocations: 103.7 kB / 0.5736 GB, free: 39.29 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.6787, allocations: 52.84 kB / 0.5736 GB, free: 39.23 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.679, allocations: 286.9 kB / 0.5739 GB, free: 39.04 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.679, allocations: 25.7 kB / 0.5739 GB, free: 39.01 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.563e-05/0.679, allocations: 132 kB / 0.5741 GB, free: 38.89 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.6791, allocations: 18.36 kB / 0.5741 GB, free: 38.88 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.6791, allocations: 18.84 kB / 0.5741 GB, free: 38.86 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.275e-05/0.6792, allocations: 337.1 kB / 0.5744 GB, free: 38.52 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.832e-05/0.6792, allocations: 15.59 kB / 0.5744 GB, free: 38.52 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.259e-05/0.6793, allocations: 36.14 kB / 0.5745 GB, free: 38.48 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.52e-05/0.6794, allocations: 42.64 kB / 0.5745 GB, free: 38.45 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6794, allocations: 256 / 0.5745 GB, free: 38.45 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001471/0.6795, allocations: 99.75 kB / 0.5746 GB, free: 38.38 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.6796, allocations: 5.688 kB / 0.5746 GB, free: 38.38 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.6796, allocations: 4.031 kB / 0.5746 GB, free: 38.38 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.6796, allocations: 1.156 kB / 0.5746 GB, free: 38.38 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.264e-05/0.6797, allocations: 9.469 kB / 0.5746 GB, free: 38.38 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.6797, allocations: 5.016 kB / 0.5746 GB, free: 38.38 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.822e-05/0.6797, allocations: 2.875 kB / 0.5746 GB, free: 38.38 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.6797, allocations: 2.281 kB / 0.5746 GB, free: 38.38 MB / 462.3 MB 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 9.847e-05/0.6798, allocations: 150.6 kB / 0.5748 GB, free: 38.24 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.6799, allocations: 22.25 kB / 0.5748 GB, free: 38.23 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.112e-05/0.6799, allocations: 23.39 kB / 0.5748 GB, free: 38.21 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.6799, allocations: 5.188 kB / 0.5748 GB, free: 38.21 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.68, allocations: 0 / 0.5748 GB, free: 38.21 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.68, allocations: 0.9062 kB / 0.5748 GB, free: 38.21 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.6801, allocations: 224 kB / 0.575 GB, free: 37.97 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.6801, allocations: 0 / 0.575 GB, free: 37.97 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.821e-05/0.6801, allocations: 3.469 kB / 0.5751 GB, free: 37.97 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.6801, allocations: 1.156 kB / 0.5751 GB, free: 37.97 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.6802, allocations: 5.281 kB / 0.5751 GB, free: 37.96 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6802, allocations: 0 / 0.5751 GB, free: 37.96 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6802, allocations: 0 / 0.5751 GB, free: 37.96 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.6803, allocations: 122.4 kB / 0.5752 GB, free: 37.86 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.6804, allocations: 102.6 kB / 0.5753 GB, free: 37.75 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.6804, allocations: 1.344 kB / 0.5753 GB, free: 37.75 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.824e-05/0.6805, allocations: 3.219 kB / 0.5753 GB, free: 37.75 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.6805, allocations: 5.016 kB / 0.5753 GB, free: 37.75 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.6805, allocations: 6.906 kB / 0.5753 GB, free: 37.74 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001585/0.6807, allocations: 204.3 kB / 0.5755 GB, free: 37.61 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6807, allocations: 4 kB / 0.5755 GB, free: 37.61 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002129/0.6809, allocations: 23.91 kB / 0.5755 GB, free: 37.6 MB / 462.3 MB 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.0009408/0.6819, allocations: 409.1 kB / 0.5759 GB, free: 37.4 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001581/0.682, allocations: 39.3 kB / 0.5759 GB, free: 37.38 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.682, allocations: 0 / 0.5759 GB, free: 37.38 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 6.181e-05/0.6821, allocations: 24.33 kB / 0.576 GB, free: 37.37 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.6824, allocations: 36.75 kB / 0.576 GB, free: 37.35 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000529/0.6829, allocations: 368.5 kB / 0.5763 GB, free: 37.08 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.6831, allocations: 0.7337 MB / 0.5771 GB, free: 36.36 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.6833, allocations: 45.12 kB / 0.5771 GB, free: 36.34 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.394e-05/0.6833, allocations: 22.09 kB / 0.5771 GB, free: 36.33 MB / 462.3 MB Notification: Performance of SimCode: time 3e-07/0.6833, allocations: 0 / 0.5771 GB, free: 36.33 MB / 462.3 MB Notification: Performance of Templates: time 0.004666/0.688, allocations: 1.644 MB / 0.5787 GB, free: 35.51 MB / 462.3 MB 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