Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001165/0.001165, allocations: 114.3 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001399/0.001399, allocations: 206.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2141/0.2141, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 80.08 kB / 482.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.354, allocations: 62.44 MB / 0.5318 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003206/0.3572, allocations: 1.921 MB / 0.5336 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.3593, allocations: 1.122 MB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.3594, allocations: 5.312 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004768/0.3599, allocations: 251.1 kB / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004425/0.3603, allocations: 242.4 kB / 0.5352 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.3606, allocations: 116.3 kB / 0.5353 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003344/0.3609, allocations: 271.8 kB / 0.5356 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.3611, allocations: 28.94 kB / 0.5356 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.3613, allocations: 135.8 kB / 0.5357 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.3616, allocations: 188.4 kB / 0.5359 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.3616, allocations: 7.969 kB / 0.5359 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.3617, allocations: 63.45 kB / 0.536 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.3619, allocations: 69.03 kB / 0.5361 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.745e-05/0.362, allocations: 99.47 kB / 0.5361 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003636/0.3623, allocations: 255.6 kB / 0.5364 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.3623, allocations: 0 / 0.5364 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3623, allocations: 1.438 kB / 0.5364 GB, free: 10.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.096e-06/0.3624, allocations: 0 / 0.5364 GB, free: 10.25 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007671/0.3631, allocations: 0.6007 MB / 0.537 GB, free: 9.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.3632, allocations: 12.3 kB / 0.537 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.202e-05/0.3633, allocations: 31.03 kB / 0.537 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/0.3637, allocations: 296.6 kB / 0.5373 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.3638, allocations: 6.594 kB / 0.5373 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.3638, allocations: 9.719 kB / 0.5373 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.3641, allocations: 117.9 kB / 0.5374 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.3641, allocations: 1.094 kB / 0.5374 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.3641, allocations: 5.125 kB / 0.5374 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3641, allocations: 2.094 kB / 0.5374 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.3643, allocations: 40.84 kB / 0.5375 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005838/0.3648, allocations: 489.8 kB / 0.5379 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.3652, allocations: 129.8 kB / 0.5381 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.3654, allocations: 42.02 kB / 0.5381 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.3654, allocations: 5.188 kB / 0.5381 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002515/0.3656, allocations: 124.6 kB / 0.5382 GB, free: 8.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.3657, allocations: 1.25 kB / 0.5382 GB, free: 8.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001363/0.367, allocations: 0.5093 MB / 0.5387 GB, free: 8.262 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.3671, allocations: 80.64 kB / 0.5388 GB, free: 8.168 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005063/0.3676, allocations: 0.4925 MB / 0.5393 GB, free: 7.898 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.3676, allocations: 32.02 kB / 0.5393 GB, free: 7.863 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.3678, allocations: 172.9 kB / 0.5395 GB, free: 7.703 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.275e-05/0.3678, allocations: 74.19 kB / 0.5396 GB, free: 7.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.056e-05/0.3679, allocations: 41.39 kB / 0.5396 GB, free: 7.609 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.368, allocations: 349.1 kB / 0.5399 GB, free: 7.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.3682, allocations: 62.88 kB / 0.54 GB, free: 7.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.3683, allocations: 98.62 kB / 0.5401 GB, free: 7.164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.3686, allocations: 160.6 kB / 0.5402 GB, free: 7.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3686, allocations: 4.969 kB / 0.5402 GB, free: 7.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004003/0.369, allocations: 235.7 kB / 0.5405 GB, free: 6.934 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.3691, allocations: 9.531 kB / 0.5405 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3691, allocations: 1.219 kB / 0.5405 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3691, allocations: 2.406 kB / 0.5405 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.3692, allocations: 46.41 kB / 0.5405 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.3692, allocations: 1.875 kB / 0.5405 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.255e-05/0.3693, allocations: 8.219 kB / 0.5405 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.3694, allocations: 6.812 kB / 0.5405 GB, free: 6.914 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001647/0.3695, allocations: 177.1 kB / 0.5407 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.258e-05/0.3696, allocations: 43.3 kB / 0.5407 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.495e-05/0.3697, allocations: 41.64 kB / 0.5408 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3697, allocations: 1.156 kB / 0.5408 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3697, allocations: 0 / 0.5408 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-05/0.3698, allocations: 113.3 kB / 0.5409 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.3698, allocations: 6.219 kB / 0.5409 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.459e-05/0.3699, allocations: 12.19 kB / 0.5409 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/0.37, allocations: 23.95 kB / 0.5409 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004841/0.3705, allocations: 384.4 kB / 0.5413 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004783/0.371, allocations: 480 kB / 0.5418 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001419/0.3711, allocations: 76.8 kB / 0.5418 GB, free: 5.879 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003549/0.3715, allocations: 373.2 kB / 0.5422 GB, free: 5.68 MB / 398.1 MB Notification: Performance of Backend: time 6.91e-07/0.3715, allocations: 4.594 kB / 0.5422 GB, free: 5.676 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001706/0.3732, allocations: 0.6268 MB / 0.5428 GB, free: 5.387 MB / 398.1 MB Notification: Performance of SimCode: time 0.00109/0.3743, allocations: 0.9864 MB / 0.5438 GB, free: 4.566 MB / 398.1 MB Notification: Performance of Templates: time 0.00683/0.3811, allocations: 3.321 MB / 0.547 GB, free: 1.938 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches