Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001093/0.001093, allocations: 198.3 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.283/1.283, allocations: 226.5 MB / 243.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007666/0.0007666, allocations: 95.92 kB / 295.5 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.39/0.39, allocations: 44.82 MB / 392.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003964, allocations: 12 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3539, allocations: 62.96 MB / 0.5159 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.001788/0.3557, allocations: 1.426 MB / 0.5173 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.3576, allocations: 1.536 MB / 0.5188 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.135e-05/0.3577, allocations: 2.938 kB / 0.5188 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002822/0.3579, allocations: 34.19 kB / 0.5188 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002519/0.3582, allocations: 74.41 kB / 0.5189 GB, free: 34.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.3585, allocations: 99.45 kB / 0.519 GB, free: 34.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00015/0.3586, allocations: 97.66 kB / 0.5191 GB, free: 34.78 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.3587, allocations: 8.984 kB / 0.5191 GB, free: 34.78 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.251e-05/0.3588, allocations: 52.2 kB / 0.5191 GB, free: 34.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.359, allocations: 36.55 kB / 0.5192 GB, free: 34.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.359, allocations: 2.844 kB / 0.5192 GB, free: 34.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.3591, allocations: 97.3 kB / 0.5193 GB, free: 34.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.987e-05/0.3592, allocations: 24.31 kB / 0.5193 GB, free: 34.69 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.468e-05/0.3592, allocations: 59.14 kB / 0.5193 GB, free: 34.64 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.3594, allocations: 128.8 kB / 0.5195 GB, free: 34.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3594, allocations: 0 / 0.5195 GB, free: 34.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3595, allocations: 0 / 0.5195 GB, free: 34.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.3595, allocations: 3.938 kB / 0.5195 GB, free: 34.6 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004996/0.36, allocations: 426.2 kB / 0.5199 GB, free: 34.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.36, allocations: 8.594 kB / 0.5199 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.3601, allocations: 10.38 kB / 0.5199 GB, free: 34.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.3603, allocations: 215.2 kB / 0.5201 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.3603, allocations: 3.188 kB / 0.5201 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.3603, allocations: 4.125 kB / 0.5201 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.3605, allocations: 75.17 kB / 0.5202 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3605, allocations: 6.938 kB / 0.5202 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3605, allocations: 0 / 0.5202 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3605, allocations: 0 / 0.5202 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.906e-05/0.3606, allocations: 37.44 kB / 0.5202 GB, free: 33.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.3609, allocations: 302.1 kB / 0.5205 GB, free: 33.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.3611, allocations: 61.44 kB / 0.5206 GB, free: 33.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.642e-05/0.3612, allocations: 31.8 kB / 0.5206 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.3612, allocations: 6.812 kB / 0.5206 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.3614, allocations: 79.92 kB / 0.5207 GB, free: 33.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/0.3614, allocations: 0 / 0.5207 GB, free: 33.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005149/0.3619, allocations: 201.4 kB / 0.5209 GB, free: 33.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.3619, allocations: 77.11 kB / 0.5209 GB, free: 33.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.3621, allocations: 173 kB / 0.5211 GB, free: 33.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.3621, allocations: 32.73 kB / 0.5211 GB, free: 33.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.3622, allocations: 94.95 kB / 0.5212 GB, free: 33.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.3622, allocations: 28.36 kB / 0.5213 GB, free: 32.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/0.3622, allocations: 0 / 0.5213 GB, free: 32.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.857e-05/0.3623, allocations: 325.2 kB / 0.5216 GB, free: 32.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.704e-05/0.3623, allocations: 24.72 kB / 0.5216 GB, free: 32.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.236e-05/0.3624, allocations: 57.27 kB / 0.5216 GB, free: 32.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.3625, allocations: 62.25 kB / 0.5217 GB, free: 32.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3625, allocations: 3.938 kB / 0.5217 GB, free: 32.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001681/0.3627, allocations: 116.7 kB / 0.5218 GB, free: 32.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.3627, allocations: 6.625 kB / 0.5218 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3627, allocations: 0 / 0.5218 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3628, allocations: 2.969 kB / 0.5218 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.851e-05/0.3628, allocations: 26.41 kB / 0.5219 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3629, allocations: 0 / 0.5219 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.3629, allocations: 6.812 kB / 0.5219 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.3629, allocations: 6.906 kB / 0.5219 GB, free: 32.5 MB / 378.7 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.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 (11): * Single equations (assignments): 11 * 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 7.345e-05/0.363, allocations: 119.4 kB / 0.522 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.363, allocations: 14.08 kB / 0.522 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.753e-05/0.3631, allocations: 14.34 kB / 0.522 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3631, allocations: 0 / 0.522 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3631, allocations: 0 / 0.522 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3631, allocations: 13.66 kB / 0.522 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000363/0.3635, allocations: 413.4 kB / 0.5224 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3635, allocations: 0 / 0.5224 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/0.3635, allocations: 12.38 kB / 0.5224 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3635, allocations: 2.75 kB / 0.5224 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.3635, allocations: 18.08 kB / 0.5224 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3636, allocations: 0 / 0.5224 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3636, allocations: 0 / 0.5224 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.3638, allocations: 215.9 kB / 0.5227 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.3638, allocations: 91.27 kB / 0.5227 GB, free: 31.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.3638, allocations: 6.812 kB / 0.5227 GB, free: 31.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.356e-05/0.3639, allocations: 6.125 kB / 0.5228 GB, free: 31.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.364, allocations: 10.16 kB / 0.5228 GB, free: 31.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.364, allocations: 2.906 kB / 0.5228 GB, free: 31.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.569e-05/0.3641, allocations: 133.4 kB / 0.5229 GB, free: 31.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3641, allocations: 0 / 0.5229 GB, free: 31.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002688/0.3643, allocations: 47.44 kB / 0.5229 GB, free: 31.59 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001058/0.3654, allocations: 0.539 MB / 0.5235 GB, free: 31.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001936/0.3656, allocations: 71.73 kB / 0.5235 GB, free: 31.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3656, allocations: 0 / 0.5235 GB, free: 31.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.696e-05/0.3657, allocations: 33.17 kB / 0.5236 GB, free: 31.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.366, allocations: 36.77 kB / 0.5236 GB, free: 31.28 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003791/0.3664, allocations: 257.2 kB / 0.5238 GB, free: 31.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.3665, allocations: 0.7056 MB / 0.5245 GB, free: 30.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.754e-05/0.3666, allocations: 18.88 kB / 0.5246 GB, free: 30.36 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3666, allocations: 0 / 0.5246 GB, free: 30.36 MB / 378.7 MB Notification: Performance of Templates: time 0.003637/0.3702, allocations: 2.509 MB / 0.527 GB, free: 30.07 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches