Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,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.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001349/0.001349, allocations: 111.6 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00171/0.00171, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2103/0.2103, allocations: 46.09 MB / 345 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001483, allocations: 80.09 kB / 482.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.34, allocations: 62.43 MB / 0.5318 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003364/0.3434, allocations: 1.922 MB / 0.5336 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.3454, allocations: 1.119 MB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.3456, allocations: 5.312 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004692/0.3461, allocations: 222.6 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005143/0.3466, allocations: 226.5 kB / 0.5352 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.347, allocations: 112.6 kB / 0.5353 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003708/0.3473, allocations: 257.7 kB / 0.5355 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.3475, allocations: 29.42 kB / 0.5355 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/0.3477, allocations: 132.6 kB / 0.5357 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.3479, allocations: 149.4 kB / 0.5358 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.348, allocations: 9.219 kB / 0.5358 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.3481, allocations: 66.73 kB / 0.5359 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.804e-05/0.3482, allocations: 61.72 kB / 0.5359 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.728e-05/0.3483, allocations: 87.83 kB / 0.536 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.3487, allocations: 242.1 kB / 0.5363 GB, free: 10.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3487, allocations: 0 / 0.5363 GB, free: 10.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.3487, allocations: 1.25 kB / 0.5363 GB, free: 10.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.3487, allocations: 3.938 kB / 0.5363 GB, free: 10.32 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.0007727/0.3495, allocations: 0.5635 MB / 0.5368 GB, free: 9.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.3495, allocations: 8.094 kB / 0.5368 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.469e-05/0.3496, allocations: 27.12 kB / 0.5368 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.35, allocations: 290.4 kB / 0.5371 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.35, allocations: 15.45 kB / 0.5371 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.35, allocations: 9.875 kB / 0.5371 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.3503, allocations: 110.8 kB / 0.5373 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.3503, allocations: 1.031 kB / 0.5373 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.3503, allocations: 5.094 kB / 0.5373 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3503, allocations: 2.219 kB / 0.5373 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.3505, allocations: 44.5 kB / 0.5373 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005519/0.351, allocations: 482.7 kB / 0.5378 GB, free: 8.891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000348/0.3514, allocations: 122.7 kB / 0.5379 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.3515, allocations: 48.69 kB / 0.5379 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.3515, allocations: 2.156 kB / 0.5379 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002152/0.3518, allocations: 128.2 kB / 0.5381 GB, free: 8.656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.3518, allocations: 0 / 0.5381 GB, free: 8.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.00131/0.3531, allocations: 0.4907 MB / 0.5385 GB, free: 8.391 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.3532, allocations: 88.61 kB / 0.5386 GB, free: 8.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004597/0.3536, allocations: 440.1 kB / 0.539 GB, free: 8.051 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.3537, allocations: 32.52 kB / 0.5391 GB, free: 8.016 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.3538, allocations: 171.1 kB / 0.5392 GB, free: 7.855 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.789e-05/0.3538, allocations: 65.69 kB / 0.5393 GB, free: 7.801 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.19e-05/0.3539, allocations: 46.11 kB / 0.5393 GB, free: 7.766 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.354, allocations: 344.1 kB / 0.5397 GB, free: 7.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.3542, allocations: 57.77 kB / 0.5397 GB, free: 7.402 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.3543, allocations: 102.9 kB / 0.5398 GB, free: 7.324 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.3546, allocations: 152.6 kB / 0.54 GB, free: 7.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3546, allocations: 1.094 kB / 0.54 GB, free: 7.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004078/0.355, allocations: 235 kB / 0.5402 GB, free: 7.105 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.355, allocations: 8.969 kB / 0.5402 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.3551, allocations: 1.344 kB / 0.5402 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.3551, allocations: 2.625 kB / 0.5402 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.3552, allocations: 41.58 kB / 0.5402 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.3552, allocations: 2.344 kB / 0.5402 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.895e-05/0.3554, allocations: 16.33 kB / 0.5403 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.3554, allocations: 10.66 kB / 0.5403 GB, free: 7.078 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.0001762/0.3556, allocations: 169.1 kB / 0.5404 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.886e-05/0.3556, allocations: 38.5 kB / 0.5405 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.373e-05/0.3557, allocations: 44.17 kB / 0.5405 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3557, allocations: 0 / 0.5405 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3557, allocations: 1.312 kB / 0.5405 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.981e-05/0.3558, allocations: 107.4 kB / 0.5406 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.392e-05/0.3559, allocations: 11.12 kB / 0.5406 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.65e-05/0.3559, allocations: 7.656 kB / 0.5406 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.2e-05/0.356, allocations: 19.81 kB / 0.5406 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004381/0.3565, allocations: 384.9 kB / 0.541 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000516/0.357, allocations: 478 kB / 0.5415 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00014/0.3571, allocations: 77.33 kB / 0.5415 GB, free: 6.055 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003234/0.3575, allocations: 330.2 kB / 0.5419 GB, free: 5.875 MB / 398.1 MB Notification: Performance of Backend: time 4.01e-07/0.3575, allocations: 4 kB / 0.5419 GB, free: 5.871 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001702/0.3592, allocations: 0.6096 MB / 0.5425 GB, free: 5.594 MB / 398.1 MB Notification: Performance of SimCode: time 0.001142/0.3603, allocations: 0.946 MB / 0.5434 GB, free: 4.805 MB / 398.1 MB Notification: Performance of Templates: time 0.007364/0.3677, allocations: 3.377 MB / 0.5467 GB, free: 2.285 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches