Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001137/0.001137, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 226.8 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009725/0.0009725, allocations: 103.7 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3773/0.3773, allocations: 44.84 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 71.88 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3581, allocations: 62.01 MB / 0.5152 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003043/0.3611, allocations: 1.805 MB / 0.5169 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.3627, allocations: 1.024 MB / 0.5179 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.828e-05/0.3628, allocations: 2.875 kB / 0.5179 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.3631, allocations: 36.73 kB / 0.518 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002907/0.3634, allocations: 76.22 kB / 0.518 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.3638, allocations: 91.89 kB / 0.5181 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.364, allocations: 100.4 kB / 0.5182 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.3641, allocations: 16.98 kB / 0.5182 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.85e-05/0.3642, allocations: 38.08 kB / 0.5183 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.363e-05/0.3642, allocations: 37.3 kB / 0.5183 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.3643, allocations: 2.938 kB / 0.5183 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.3644, allocations: 44 kB / 0.5183 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.723e-05/0.3644, allocations: 19.34 kB / 0.5184 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.855e-05/0.3645, allocations: 35.55 kB / 0.5184 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.3647, allocations: 109 kB / 0.5185 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3647, allocations: 0 / 0.5185 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3647, allocations: 4 kB / 0.5185 GB, free: 35.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.3647, allocations: 3.062 kB / 0.5185 GB, free: 35.57 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005336/0.3653, allocations: 417.1 kB / 0.5189 GB, free: 35.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3653, allocations: 8.094 kB / 0.5189 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.3654, allocations: 14 kB / 0.5189 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.3656, allocations: 213.9 kB / 0.5191 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.3656, allocations: 3.609 kB / 0.5191 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.3656, allocations: 10.97 kB / 0.5191 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.3658, allocations: 59.23 kB / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3658, allocations: 0 / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3658, allocations: 0 / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.3658, allocations: 3 kB / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.388e-05/0.3659, allocations: 19.45 kB / 0.5192 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003705/0.3663, allocations: 302.6 kB / 0.5195 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.3665, allocations: 51.94 kB / 0.5196 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.993e-05/0.3665, allocations: 20.56 kB / 0.5196 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.3665, allocations: 0 / 0.5196 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002114/0.3668, allocations: 71.66 kB / 0.5196 GB, free: 34.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3668, allocations: 0 / 0.5196 GB, free: 34.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005221/0.3673, allocations: 178.5 kB / 0.5198 GB, free: 34.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.3673, allocations: 58.34 kB / 0.5199 GB, free: 34.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.3675, allocations: 188.8 kB / 0.5201 GB, free: 34.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.3675, allocations: 32.42 kB / 0.5201 GB, free: 34.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.3676, allocations: 102.2 kB / 0.5202 GB, free: 34.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.3676, allocations: 28.62 kB / 0.5202 GB, free: 34.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.3676, allocations: 19.41 kB / 0.5202 GB, free: 34.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.724e-05/0.3677, allocations: 332.4 kB / 0.5205 GB, free: 33.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.132e-05/0.3678, allocations: 15.41 kB / 0.5206 GB, free: 33.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.803e-05/0.3678, allocations: 42.58 kB / 0.5206 GB, free: 33.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.452e-05/0.3679, allocations: 58.81 kB / 0.5207 GB, free: 33.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3679, allocations: 0 / 0.5207 GB, free: 33.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001528/0.3681, allocations: 102.8 kB / 0.5208 GB, free: 33.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.3681, allocations: 5.219 kB / 0.5208 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3681, allocations: 0 / 0.5208 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3681, allocations: 10.25 kB / 0.5208 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.304e-05/0.3682, allocations: 19.55 kB / 0.5208 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3682, allocations: 0 / 0.5208 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.302e-05/0.3683, allocations: 14.33 kB / 0.5208 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.3683, allocations: 2.875 kB / 0.5208 GB, free: 33.54 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.767e-05/0.3684, allocations: 119.5 kB / 0.5209 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.3684, allocations: 13.88 kB / 0.5209 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.149e-05/0.3685, allocations: 18.12 kB / 0.5209 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3685, allocations: 0 / 0.5209 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3685, allocations: 10.88 kB / 0.521 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3685, allocations: 3.938 kB / 0.521 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003228/0.3688, allocations: 390 kB / 0.5213 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.3688, allocations: 3.062 kB / 0.5213 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.886e-05/0.3689, allocations: 14.05 kB / 0.5214 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3689, allocations: 0 / 0.5214 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.3689, allocations: 6.781 kB / 0.5214 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3689, allocations: 0 / 0.5214 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.3689, allocations: 4.031 kB / 0.5214 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.3692, allocations: 0.7874 MB / 0.5221 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.3693, allocations: 91.12 kB / 0.5222 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.3693, allocations: 2.812 kB / 0.5222 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.388e-05/0.3694, allocations: 4.375 kB / 0.5222 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.3694, allocations: 12.84 kB / 0.5222 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.3694, allocations: 6.875 kB / 0.5222 GB, free: 32.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.42e-05/0.3695, allocations: 153.1 kB / 0.5224 GB, free: 32.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3695, allocations: 192 / 0.5224 GB, free: 32.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003298/0.3699, allocations: 23.06 kB / 0.5224 GB, free: 32.05 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 (8): * Single equations (assignments): 6 * 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.0009955/0.3709, allocations: 466.6 kB / 0.5229 GB, free: 31.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000159/0.371, allocations: 62.98 kB / 0.5229 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3711, allocations: 0 / 0.5229 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.517e-05/0.3711, allocations: 29.81 kB / 0.5229 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.3715, allocations: 33.38 kB / 0.523 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.3719, allocations: 377.5 kB / 0.5233 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.372, allocations: 0.7104 MB / 0.524 GB, free: 30.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.853e-05/0.3721, allocations: 17.42 kB / 0.524 GB, free: 30.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.3721, allocations: 13.5 kB / 0.5241 GB, free: 30.76 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3721, allocations: 2.406 kB / 0.5241 GB, free: 30.76 MB / 378.7 MB Notification: Performance of Templates: time 0.00366/0.3758, allocations: 1.697 MB / 0.5257 GB, free: 30.57 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches