Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.0009931/0.0009934, allocations: 97.36 kB / 16.3 MB, free: 5.598 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.000982/0.000982, allocations: 179.7 kB / 17.19 MB, free: 5.535 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.582/1.582, allocations: 223.2 MB / 241.1 MB, free: 264 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.336/1.336, allocations: 120.5 MB / 412.7 MB, free: 9.215 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004428/0.0004429, allocations: 8 kB / 0.4942 GB, free: 11.78 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7354/0.7359, allocations: 82.84 MB / 0.5751 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002463/0.7384, allocations: 1.241 MB / 0.5763 GB, free: 40.97 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.7403, allocations: 0.8092 MB / 0.5771 GB, free: 40.35 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.7404, allocations: 1.406 kB / 0.5771 GB, free: 40.35 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003706/0.7408, allocations: 56.47 kB / 0.5771 GB, free: 40.32 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.00039/0.7412, allocations: 97.86 kB / 0.5772 GB, free: 40.26 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.7415, allocations: 86.09 kB / 0.5773 GB, free: 40.21 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.7418, allocations: 85.94 kB / 0.5774 GB, free: 40.15 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.544e-05/0.7418, allocations: 4.125 kB / 0.5774 GB, free: 40.15 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.742, allocations: 63.12 kB / 0.5774 GB, free: 40.11 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.7422, allocations: 44.59 kB / 0.5775 GB, free: 40.09 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.7422, allocations: 2.75 kB / 0.5775 GB, free: 40.09 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.7424, allocations: 31.03 kB / 0.5775 GB, free: 40.07 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.7425, allocations: 63.45 kB / 0.5776 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.207e-05/0.7426, allocations: 40.52 kB / 0.5776 GB, free: 40 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.7428, allocations: 125.6 kB / 0.5777 GB, free: 39.93 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.7428, allocations: 0 / 0.5777 GB, free: 39.93 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.455e-06/0.7428, allocations: 0 / 0.5777 GB, free: 39.93 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.7429, allocations: 0 / 0.5777 GB, free: 39.93 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.0007126/0.7436, allocations: 475.5 kB / 0.5782 GB, free: 39.46 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.7436, allocations: 9.625 kB / 0.5782 GB, free: 39.46 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.924e-05/0.7437, allocations: 24.02 kB / 0.5782 GB, free: 39.44 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006286/0.7444, allocations: 320.4 kB / 0.5785 GB, free: 39.15 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.7444, allocations: 5.359 kB / 0.5785 GB, free: 39.15 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.7444, allocations: 1.375 kB / 0.5785 GB, free: 39.15 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.7446, allocations: 43.31 kB / 0.5786 GB, free: 39.11 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.7447, allocations: 3.938 kB / 0.5786 GB, free: 39.11 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.7447, allocations: 5.359 kB / 0.5786 GB, free: 39.1 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.7447, allocations: 7.938 kB / 0.5786 GB, free: 39.09 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.359e-05/0.7448, allocations: 12.25 kB / 0.5786 GB, free: 39.09 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002513/0.7451, allocations: 215.7 kB / 0.5788 GB, free: 38.86 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.7453, allocations: 54.3 kB / 0.5788 GB, free: 38.81 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.7453, allocations: 1.438 kB / 0.5789 GB, free: 38.81 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002447/0.7456, allocations: 68.27 kB / 0.5789 GB, free: 38.75 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.713e-06/0.7456, allocations: 0 / 0.5789 GB, free: 38.75 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0003957/0.746, allocations: 107.5 kB / 0.579 GB, free: 38.68 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.7461, allocations: 53.09 kB / 0.5791 GB, free: 38.61 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004332/0.7465, allocations: 283.9 kB / 0.5793 GB, free: 38.43 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.7465, allocations: 27.2 kB / 0.5794 GB, free: 38.39 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.7467, allocations: 134.9 kB / 0.5795 GB, free: 38.27 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.7467, allocations: 10.56 kB / 0.5795 GB, free: 38.26 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-06/0.7467, allocations: 0 / 0.5795 GB, free: 38.26 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.7468, allocations: 338.2 kB / 0.5798 GB, free: 37.93 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.851e-05/0.7469, allocations: 18.23 kB / 0.5798 GB, free: 37.92 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.004e-05/0.747, allocations: 27.72 kB / 0.5799 GB, free: 37.89 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.438e-05/0.7471, allocations: 24.48 kB / 0.5799 GB, free: 37.88 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.7471, allocations: 0 / 0.5799 GB, free: 37.88 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001911/0.7473, allocations: 87.81 kB / 0.58 GB, free: 37.82 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.7474, allocations: 7.125 kB / 0.58 GB, free: 37.82 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.7474, allocations: 1.156 kB / 0.58 GB, free: 37.82 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.7474, allocations: 9.5 kB / 0.58 GB, free: 37.81 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.7475, allocations: 11.55 kB / 0.58 GB, free: 37.81 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.7476, allocations: 1.562 kB / 0.58 GB, free: 37.81 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.398e-05/0.7476, allocations: 6.766 kB / 0.58 GB, free: 37.8 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.7477, allocations: 2.812 kB / 0.58 GB, free: 37.8 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001405/0.7478, allocations: 145.7 kB / 0.5802 GB, free: 37.68 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.7479, allocations: 21.19 kB / 0.5802 GB, free: 37.66 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.943e-05/0.748, allocations: 24.3 kB / 0.5802 GB, free: 37.65 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.748, allocations: 4 kB / 0.5802 GB, free: 37.64 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.748, allocations: 1.375 kB / 0.5802 GB, free: 37.64 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.748, allocations: 0 / 0.5802 GB, free: 37.64 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.7482, allocations: 219.8 kB / 0.5804 GB, free: 37.41 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.7482, allocations: 0 / 0.5804 GB, free: 37.41 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.56e-05/0.7483, allocations: 4.125 kB / 0.5804 GB, free: 37.41 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.7483, allocations: 3.938 kB / 0.5804 GB, free: 37.41 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.7483, allocations: 5.375 kB / 0.5804 GB, free: 37.4 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.7483, allocations: 1.375 kB / 0.5804 GB, free: 37.4 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.7483, allocations: 3.938 kB / 0.5804 GB, free: 37.4 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.7486, allocations: 122 kB / 0.5805 GB, free: 37.3 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 9.138e-05/0.7487, allocations: 108.2 kB / 0.5807 GB, free: 37.18 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/0.7487, allocations: 0.9375 kB / 0.5807 GB, free: 37.18 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.48e-05/0.7488, allocations: 6.734 kB / 0.5807 GB, free: 37.18 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.7489, allocations: 1.844 kB / 0.5807 GB, free: 37.18 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.7489, allocations: 6.781 kB / 0.5807 GB, free: 37.17 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0003115/0.7493, allocations: 202.2 kB / 0.5809 GB, free: 37.04 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.41e-07/0.7493, allocations: 4.938 kB / 0.5809 GB, free: 37.04 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004007/0.7497, allocations: 18.73 kB / 0.5809 GB, free: 37.03 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 (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.001414/0.7511, allocations: 402.4 kB / 0.5813 GB, free: 36.84 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002051/0.7513, allocations: 42.98 kB / 0.5813 GB, free: 36.82 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.7514, allocations: 0.9062 kB / 0.5813 GB, free: 36.82 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.423e-05/0.7515, allocations: 19.05 kB / 0.5813 GB, free: 36.81 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.7518, allocations: 44.66 kB / 0.5814 GB, free: 36.78 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008249/0.7527, allocations: 347.4 kB / 0.5817 GB, free: 36.53 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.753, allocations: 0.7358 MB / 0.5824 GB, free: 35.8 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001954/0.7532, allocations: 44.88 kB / 0.5825 GB, free: 35.78 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.109e-05/0.7533, allocations: 23.72 kB / 0.5825 GB, free: 35.77 MB / 462.3 MB Notification: Performance of SimCode: time 8.32e-07/0.7533, allocations: 0 / 0.5825 GB, free: 35.77 MB / 462.3 MB Notification: Performance of Templates: time 0.006306/0.7596, allocations: 1.608 MB / 0.5841 GB, free: 34.98 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches