Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001001/0.001001, allocations: 199.7 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 226.6 MB / 243.4 MB, free: 8.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001037/0.001037, allocations: 94.38 kB / 295.5 MB, free: 6.852 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3192/0.3192, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003435, allocations: 15.98 kB / 465.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3567, allocations: 62.96 MB / 0.5159 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002373/0.3591, allocations: 1.506 MB / 0.5174 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002718/0.3618, allocations: 1.623 MB / 0.5189 GB, free: 34.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.362, allocations: 2.938 kB / 0.5189 GB, free: 34.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003655/0.3623, allocations: 54.31 kB / 0.519 GB, free: 34.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003251/0.3627, allocations: 101.3 kB / 0.5191 GB, free: 34.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.363, allocations: 156.3 kB / 0.5192 GB, free: 34.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.3633, allocations: 166.8 kB / 0.5194 GB, free: 34.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.731e-05/0.3634, allocations: 14.98 kB / 0.5194 GB, free: 34.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.3635, allocations: 79.62 kB / 0.5195 GB, free: 34.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.3637, allocations: 76.02 kB / 0.5196 GB, free: 34.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.3637, allocations: 9.688 kB / 0.5196 GB, free: 34.42 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.3639, allocations: 91.36 kB / 0.5197 GB, free: 34.4 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.265e-05/0.364, allocations: 29.17 kB / 0.5197 GB, free: 34.38 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.285e-05/0.3641, allocations: 78.88 kB / 0.5198 GB, free: 34.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.3644, allocations: 171.2 kB / 0.5199 GB, free: 34.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3644, allocations: 2.906 kB / 0.5199 GB, free: 34.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3644, allocations: 0 / 0.5199 GB, free: 34.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.3645, allocations: 0 / 0.5199 GB, free: 34.26 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000751/0.3652, allocations: 473.5 kB / 0.5204 GB, free: 33.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8e-05/0.3653, allocations: 8.594 kB / 0.5204 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.915e-05/0.3654, allocations: 21.28 kB / 0.5204 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.3657, allocations: 252.8 kB / 0.5207 GB, free: 33.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3657, allocations: 384 / 0.5207 GB, free: 33.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.3657, allocations: 7.094 kB / 0.5207 GB, free: 33.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.3659, allocations: 101.4 kB / 0.5208 GB, free: 33.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3659, allocations: 0 / 0.5208 GB, free: 33.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.366, allocations: 10.27 kB / 0.5208 GB, free: 33.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.366, allocations: 0 / 0.5208 GB, free: 33.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.866e-05/0.3661, allocations: 21.7 kB / 0.5208 GB, free: 33.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002192/0.3663, allocations: 231 kB / 0.521 GB, free: 33.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.3666, allocations: 107.3 kB / 0.5211 GB, free: 33.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.155e-05/0.3667, allocations: 38.88 kB / 0.5211 GB, free: 33.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.3667, allocations: 10.06 kB / 0.5212 GB, free: 33.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002248/0.3669, allocations: 111.8 kB / 0.5213 GB, free: 33.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.3669, allocations: 2.906 kB / 0.5213 GB, free: 33.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004117/0.3674, allocations: 162.3 kB / 0.5214 GB, free: 32.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.3674, allocations: 132.5 kB / 0.5215 GB, free: 32.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.3677, allocations: 233.1 kB / 0.5218 GB, free: 32.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.3677, allocations: 29.7 kB / 0.5218 GB, free: 32.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.3677, allocations: 119.5 kB / 0.5219 GB, free: 32.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.3678, allocations: 28.17 kB / 0.5219 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-06/0.3678, allocations: 0 / 0.5219 GB, free: 32.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.362e-05/0.3679, allocations: 330.8 kB / 0.5223 GB, free: 32.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.51e-05/0.368, allocations: 33.89 kB / 0.5223 GB, free: 32.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.938e-05/0.3681, allocations: 71.34 kB / 0.5224 GB, free: 32.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.3683, allocations: 93.66 kB / 0.5224 GB, free: 32.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3683, allocations: 0 / 0.5224 GB, free: 32.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002246/0.3685, allocations: 141.5 kB / 0.5226 GB, free: 31.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3685, allocations: 9.938 kB / 0.5226 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3685, allocations: 0 / 0.5226 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3686, allocations: 6.906 kB / 0.5226 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.3687, allocations: 23.88 kB / 0.5226 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3687, allocations: 3.031 kB / 0.5226 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.983e-05/0.3688, allocations: 9.875 kB / 0.5226 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.3688, allocations: 3.312 kB / 0.5226 GB, free: 31.97 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001001/0.3689, allocations: 141.4 kB / 0.5228 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.3689, allocations: 20.66 kB / 0.5228 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.262e-05/0.369, allocations: 18.44 kB / 0.5228 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.369, allocations: 6.781 kB / 0.5228 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.369, allocations: 0 / 0.5228 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.369, allocations: 3.328 kB / 0.5228 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.3692, allocations: 227.6 kB / 0.523 GB, free: 31.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3692, allocations: 0 / 0.523 GB, free: 31.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.96e-05/0.3692, allocations: 12.69 kB / 0.523 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3692, allocations: 0 / 0.523 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.3692, allocations: 6.531 kB / 0.523 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3692, allocations: 0 / 0.523 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3692, allocations: 0 / 0.523 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.3695, allocations: 173.8 kB / 0.5232 GB, free: 31.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.717e-05/0.3696, allocations: 109.5 kB / 0.5233 GB, free: 31.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.3696, allocations: 3.062 kB / 0.5233 GB, free: 31.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.784e-05/0.3697, allocations: 2.156 kB / 0.5233 GB, free: 31.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.3697, allocations: 12.94 kB / 0.5233 GB, free: 31.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.3698, allocations: 9.016 kB / 0.5233 GB, free: 31.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001457/0.3699, allocations: 176.4 kB / 0.5235 GB, free: 31.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3699, allocations: 0 / 0.5235 GB, free: 31.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002602/0.3702, allocations: 56.91 kB / 0.5236 GB, free: 31.23 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001057/0.3713, allocations: 0.4951 MB / 0.5241 GB, free: 30.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002356/0.3715, allocations: 81 kB / 0.5241 GB, free: 30.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.3715, allocations: 2.781 kB / 0.5241 GB, free: 30.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.191e-05/0.3716, allocations: 35.72 kB / 0.5242 GB, free: 30.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.372, allocations: 67.58 kB / 0.5242 GB, free: 30.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005534/0.3725, allocations: 325.2 kB / 0.5245 GB, free: 30.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.3727, allocations: 0.7243 MB / 0.5252 GB, free: 29.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.362e-05/0.3728, allocations: 27.59 kB / 0.5253 GB, free: 29.97 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3728, allocations: 4 kB / 0.5253 GB, free: 29.97 MB / 378.7 MB Notification: Performance of Templates: time 0.004825/0.3776, allocations: 3.15 MB / 0.5284 GB, free: 29.62 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches