Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001148/0.001148, allocations: 118.1 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001546/0.001546, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3331/0.3331, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 79.88 kB / 481.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5371/0.5385, allocations: 62.43 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003358/0.5419, allocations: 1.703 MB / 0.5327 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002095/0.544, allocations: 1.006 MB / 0.5337 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.5442, allocations: 1.375 kB / 0.5337 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004774/0.5447, allocations: 41.64 kB / 0.5337 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004978/0.5452, allocations: 99.22 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.5455, allocations: 81.53 kB / 0.5339 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000253/0.5457, allocations: 94.2 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.115e-05/0.5458, allocations: 5.734 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.546, allocations: 46.89 kB / 0.5341 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.5461, allocations: 25.48 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.5461, allocations: 4.125 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.5463, allocations: 36.61 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.554e-05/0.5464, allocations: 33.41 kB / 0.5342 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.868e-05/0.5465, allocations: 37.31 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003627/0.5469, allocations: 128 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.5469, allocations: 0 / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.5469, allocations: 1.375 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.5469, allocations: 0 / 0.5343 GB, free: 11.11 MB / 398.1 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.0009389/0.5479, allocations: 438.2 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.367e-05/0.5479, allocations: 8.25 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.96e-05/0.548, allocations: 15.77 kB / 0.5348 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000481/0.5485, allocations: 228.2 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.5486, allocations: 4.375 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.5486, allocations: 6.875 kB / 0.535 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.5488, allocations: 47.11 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.5488, allocations: 0 / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.5489, allocations: 7.984 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.5489, allocations: 1.312 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.3e-05/0.549, allocations: 15.36 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.5493, allocations: 192.9 kB / 0.5352 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.5496, allocations: 58.31 kB / 0.5353 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.686e-05/0.5497, allocations: 25.56 kB / 0.5353 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.5497, allocations: 5.031 kB / 0.5353 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.5499, allocations: 59.92 kB / 0.5354 GB, free: 9.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.783e-06/0.5499, allocations: 0 / 0.5354 GB, free: 9.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003585/0.5503, allocations: 105.5 kB / 0.5355 GB, free: 9.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.5504, allocations: 52.56 kB / 0.5355 GB, free: 9.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/0.5507, allocations: 271 kB / 0.5358 GB, free: 9.688 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.5507, allocations: 30.64 kB / 0.5358 GB, free: 9.652 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.338e-05/0.5508, allocations: 110.8 kB / 0.5359 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/0.5509, allocations: 18.27 kB / 0.5359 GB, free: 9.531 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.5509, allocations: 19.5 kB / 0.536 GB, free: 9.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.5511, allocations: 327.5 kB / 0.5363 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.548e-05/0.5512, allocations: 19.95 kB / 0.5363 GB, free: 9.176 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.027e-05/0.5512, allocations: 27.7 kB / 0.5363 GB, free: 9.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.5514, allocations: 46.81 kB / 0.5364 GB, free: 9.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5514, allocations: 1.094 kB / 0.5364 GB, free: 9.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001758/0.5516, allocations: 88.7 kB / 0.5364 GB, free: 9.055 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.5516, allocations: 5.719 kB / 0.5365 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.5516, allocations: 4.031 kB / 0.5365 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.5516, allocations: 1.188 kB / 0.5365 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.956e-05/0.5517, allocations: 17.06 kB / 0.5365 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.5517, allocations: 1.156 kB / 0.5365 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.114e-05/0.5518, allocations: 14.25 kB / 0.5365 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.5518, allocations: 2.531 kB / 0.5365 GB, free: 9.031 MB / 398.1 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 (7): * Single equations (assignments): 7 * 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.0001304/0.5519, allocations: 135.9 kB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.552, allocations: 14.56 kB / 0.5366 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.109e-05/0.552, allocations: 19.94 kB / 0.5367 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.552, allocations: 1.125 kB / 0.5367 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.5521, allocations: 1.125 kB / 0.5367 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.5521, allocations: 3.984 kB / 0.5367 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.5523, allocations: 199.2 kB / 0.5369 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5523, allocations: 0 / 0.5369 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.397e-05/0.5523, allocations: 6.969 kB / 0.5369 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.5523, allocations: 5.062 kB / 0.5369 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.5523, allocations: 0.9062 kB / 0.5369 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.5523, allocations: 1.062 kB / 0.5369 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.5523, allocations: 0 / 0.5369 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.5526, allocations: 119.7 kB / 0.537 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.321e-05/0.5526, allocations: 88.8 kB / 0.5371 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.5527, allocations: 4 kB / 0.5371 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.828e-05/0.5527, allocations: 5.734 kB / 0.5371 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.541e-05/0.5528, allocations: 2.312 kB / 0.5371 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.5528, allocations: 6.156 kB / 0.5371 GB, free: 8.434 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002611/0.5531, allocations: 206.9 kB / 0.5373 GB, free: 8.305 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5531, allocations: 4 kB / 0.5373 GB, free: 8.301 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.5533, allocations: 18.25 kB / 0.5373 GB, free: 8.297 MB / 398.1 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,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.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 (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.001223/0.5546, allocations: 399.1 kB / 0.5377 GB, free: 8.086 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.5548, allocations: 43.36 kB / 0.5377 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5548, allocations: 0 / 0.5377 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.149e-05/0.5549, allocations: 20.2 kB / 0.5377 GB, free: 8.059 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.5552, allocations: 30.81 kB / 0.5378 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006563/0.5559, allocations: 268.1 kB / 0.538 GB, free: 7.852 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.5563, allocations: 0.7145 MB / 0.5387 GB, free: 7.137 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.776e-05/0.5564, allocations: 20.31 kB / 0.5387 GB, free: 7.121 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.728e-05/0.5564, allocations: 13.84 kB / 0.5388 GB, free: 7.113 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.5564, allocations: 0 / 0.5388 GB, free: 7.113 MB / 398.1 MB Notification: Performance of Templates: time 0.005635/0.5621, allocations: 1.543 MB / 0.5403 GB, free: 6.328 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches