Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001353/0.001353, allocations: 115.1 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001279/0.00128, allocations: 202.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2237/0.2237, allocations: 46.12 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 75.88 kB / 482.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3598, allocations: 62.44 MB / 0.5318 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003187/0.363, allocations: 1.728 MB / 0.5334 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.3648, allocations: 1.023 MB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.709e-05/0.3649, allocations: 3.938 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.3652, allocations: 86.06 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003236/0.3656, allocations: 111.4 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.3658, allocations: 78.92 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.366, allocations: 113.2 kB / 0.5348 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.624e-05/0.3661, allocations: 14.88 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.3662, allocations: 57.75 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.872e-05/0.3663, allocations: 64.56 kB / 0.535 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.3663, allocations: 4.125 kB / 0.535 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.312e-05/0.3664, allocations: 39.5 kB / 0.535 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.755e-05/0.3665, allocations: 24.06 kB / 0.535 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.576e-05/0.3665, allocations: 39.8 kB / 0.5351 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.3668, allocations: 125 kB / 0.5352 GB, free: 11.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3668, allocations: 1.281 kB / 0.5352 GB, free: 11.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.065e-06/0.3668, allocations: 0 / 0.5352 GB, free: 11.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.3668, allocations: 3.938 kB / 0.5352 GB, free: 11.01 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005428/0.3673, allocations: 434.8 kB / 0.5356 GB, free: 10.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.3674, allocations: 8.688 kB / 0.5356 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.3674, allocations: 18.25 kB / 0.5356 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.3677, allocations: 217.5 kB / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.3677, allocations: 2.844 kB / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.3678, allocations: 10.03 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.3679, allocations: 53.95 kB / 0.5359 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.3679, allocations: 0 / 0.5359 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.368, allocations: 0.9062 kB / 0.5359 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.368, allocations: 4.969 kB / 0.5359 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.835e-05/0.3681, allocations: 22.45 kB / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.3684, allocations: 283.7 kB / 0.5362 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.3686, allocations: 62.67 kB / 0.5362 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.26e-05/0.3686, allocations: 25.81 kB / 0.5363 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.3687, allocations: 1.125 kB / 0.5363 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.3688, allocations: 64.89 kB / 0.5363 GB, free: 9.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.3688, allocations: 0 / 0.5363 GB, free: 9.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005228/0.3693, allocations: 183 kB / 0.5365 GB, free: 9.707 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.3694, allocations: 52.47 kB / 0.5366 GB, free: 9.645 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.3696, allocations: 222.3 kB / 0.5368 GB, free: 9.484 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.3696, allocations: 30.77 kB / 0.5368 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.3697, allocations: 105.9 kB / 0.5369 GB, free: 9.348 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.3697, allocations: 28.25 kB / 0.5369 GB, free: 9.324 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.3698, allocations: 20.19 kB / 0.5369 GB, free: 9.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.3699, allocations: 331.4 kB / 0.5373 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.002e-05/0.37, allocations: 22.98 kB / 0.5373 GB, free: 8.965 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.1e-05/0.37, allocations: 42.89 kB / 0.5373 GB, free: 8.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.3702, allocations: 71.38 kB / 0.5374 GB, free: 8.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3702, allocations: 0 / 0.5374 GB, free: 8.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001825/0.3704, allocations: 99.94 kB / 0.5375 GB, free: 8.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3704, allocations: 9.5 kB / 0.5375 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3704, allocations: 1.25 kB / 0.5375 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3704, allocations: 0 / 0.5375 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.856e-05/0.3705, allocations: 18.27 kB / 0.5375 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3705, allocations: 3.938 kB / 0.5375 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.446e-05/0.3706, allocations: 6.219 kB / 0.5375 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.3706, allocations: 7.562 kB / 0.5375 GB, free: 8.797 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 (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 0.0001058/0.3707, allocations: 129.5 kB / 0.5377 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.3707, allocations: 13.28 kB / 0.5377 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.103e-05/0.3708, allocations: 23.83 kB / 0.5377 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3708, allocations: 0 / 0.5377 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3708, allocations: 0 / 0.5377 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.3709, allocations: 89.06 kB / 0.5378 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.3709, allocations: 5.188 kB / 0.5378 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.079e-05/0.3709, allocations: 5.016 kB / 0.5378 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.371, allocations: 7.094 kB / 0.5378 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002134/0.3712, allocations: 168.4 kB / 0.538 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002571/0.3715, allocations: 282.8 kB / 0.5382 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.885e-05/0.3715, allocations: 29.58 kB / 0.5383 GB, free: 8.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.3717, allocations: 165.1 kB / 0.5384 GB, free: 8.02 MB / 398.1 MB Notification: Performance of Backend: time 3.11e-07/0.3717, allocations: 0 / 0.5384 GB, free: 8.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.3731, allocations: 487.7 kB / 0.5389 GB, free: 7.789 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006316/0.3737, allocations: 0.6893 MB / 0.5395 GB, free: 7.133 MB / 398.1 MB Notification: Performance of Templates: time 0.004796/0.3785, allocations: 1.807 MB / 0.5413 GB, free: 6.215 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches