Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001456, allocations: 109.5 kB / 17.78 MB, free: 5.289 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.001578/0.001579, allocations: 188 kB / 18.71 MB, free: 4.371 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.39/1.39, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.217/0.217, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.89 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3523, allocations: 60.82 MB / 0.519 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003248/0.3556, allocations: 1.799 MB / 0.5207 GB, free: 2.367 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.3576, allocations: 1.558 MB / 0.5222 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.418e-05/0.3577, allocations: 4.969 kB / 0.5222 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000302/0.358, allocations: 49.66 kB / 0.5223 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002785/0.3583, allocations: 93.86 kB / 0.5224 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003683/0.3587, allocations: 175.7 kB / 0.5225 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.3589, allocations: 178.9 kB / 0.5227 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.462e-05/0.359, allocations: 9.812 kB / 0.5227 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.3591, allocations: 81.95 kB / 0.5228 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.3593, allocations: 68.92 kB / 0.5229 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.3594, allocations: 7.781 kB / 0.5229 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.3595, allocations: 69.36 kB / 0.5229 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.468e-05/0.3596, allocations: 30.53 kB / 0.523 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.016e-05/0.3597, allocations: 64.86 kB / 0.523 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.36, allocations: 169.2 kB / 0.5232 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.36, allocations: 3.938 kB / 0.5232 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.36, allocations: 1.062 kB / 0.5232 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.36, allocations: 0 / 0.5232 GB, free: 0.7773 MB / 382.1 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.0005495/0.3605, allocations: 466.6 kB / 0.5236 GB, free: 352 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.3606, allocations: 9.625 kB / 0.5237 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.183e-05/0.3606, allocations: 19.59 kB / 0.5237 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.3609, allocations: 240.5 kB / 0.5239 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.361, allocations: 2.406 kB / 0.5239 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.361, allocations: 11 kB / 0.5239 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.3612, allocations: 99.48 kB / 0.524 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3613, allocations: 4 kB / 0.524 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.3613, allocations: 2.094 kB / 0.524 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.3613, allocations: 1.469 kB / 0.524 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.3614, allocations: 28.98 kB / 0.524 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002941/0.3617, allocations: 208.2 kB / 0.5242 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.362, allocations: 109.8 kB / 0.5244 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.3621, allocations: 43.67 kB / 0.5244 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.3622, allocations: 1.969 kB / 0.5244 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.3624, allocations: 112.8 kB / 0.5245 GB, free: 15.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 2.975e-06/0.3624, allocations: 0 / 0.5245 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004563/0.3629, allocations: 168.8 kB / 0.5247 GB, free: 15.53 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.219e-05/0.363, allocations: 131.3 kB / 0.5248 GB, free: 15.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.3632, allocations: 209.9 kB / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.3633, allocations: 32.05 kB / 0.525 GB, free: 15.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.3633, allocations: 109.8 kB / 0.5251 GB, free: 15.1 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.3634, allocations: 32.12 kB / 0.5252 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.066e-05/0.3634, allocations: 31.97 kB / 0.5252 GB, free: 15.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3636, allocations: 329 kB / 0.5255 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.982e-05/0.3637, allocations: 27.39 kB / 0.5255 GB, free: 14.72 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.3638, allocations: 73.17 kB / 0.5256 GB, free: 14.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.364, allocations: 92.25 kB / 0.5257 GB, free: 14.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.364, allocations: 0 / 0.5257 GB, free: 14.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002965/0.3643, allocations: 138.9 kB / 0.5258 GB, free: 14.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3643, allocations: 5.062 kB / 0.5258 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3643, allocations: 1.984 kB / 0.5258 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3644, allocations: 1.219 kB / 0.5258 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.3645, allocations: 29.28 kB / 0.5259 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3645, allocations: 2.219 kB / 0.5259 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.447e-05/0.3646, allocations: 17.14 kB / 0.5259 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.3646, allocations: 10.92 kB / 0.5259 GB, free: 14.5 MB / 398.1 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 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 0.0001135/0.3647, allocations: 128.9 kB / 0.526 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.3648, allocations: 17.56 kB / 0.526 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.739e-05/0.3648, allocations: 20.31 kB / 0.526 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3648, allocations: 2.422 kB / 0.526 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.3648, allocations: 9.766 kB / 0.5261 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3648, allocations: 0.5156 kB / 0.5261 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.3651, allocations: 218.7 kB / 0.5263 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3651, allocations: 0 / 0.5263 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.277e-05/0.3651, allocations: 8.312 kB / 0.5263 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3651, allocations: 1.375 kB / 0.5263 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.3651, allocations: 6.547 kB / 0.5263 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3651, allocations: 1.375 kB / 0.5263 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.3651, allocations: 6.062 kB / 0.5263 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.3655, allocations: 171 kB / 0.5264 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.042e-05/0.3655, allocations: 86.45 kB / 0.5265 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.843e-05/0.3656, allocations: 11.25 kB / 0.5265 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.654e-05/0.3656, allocations: 8.75 kB / 0.5265 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.3657, allocations: 10.75 kB / 0.5266 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.3657, allocations: 6.906 kB / 0.5266 GB, free: 13.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001512/0.3659, allocations: 159.4 kB / 0.5267 GB, free: 13.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3659, allocations: 0 / 0.5267 GB, free: 13.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.3661, allocations: 33.38 kB / 0.5267 GB, free: 13.79 MB / 398.1 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 (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.0009892/0.3671, allocations: 456.5 kB / 0.5272 GB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.3674, allocations: 88.56 kB / 0.5273 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3674, allocations: 1.375 kB / 0.5273 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.3675, allocations: 39.14 kB / 0.5273 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.3679, allocations: 65.92 kB / 0.5274 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005283/0.3684, allocations: 253 kB / 0.5276 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.3687, allocations: 0.7201 MB / 0.5283 GB, free: 12.63 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.723e-05/0.3688, allocations: 33.53 kB / 0.5283 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.3689, allocations: 31.83 kB / 0.5284 GB, free: 12.61 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3689, allocations: 5.062 kB / 0.5284 GB, free: 12.6 MB / 398.1 MB Notification: Performance of Templates: time 0.005563/0.3745, allocations: 2.716 MB / 0.531 GB, free: 11.31 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches