Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001292/0.001292, allocations: 117.9 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.001377/0.001378, allocations: 210.8 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.361/1.361, 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.208/0.208, allocations: 46.1 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 72.11 kB / 482.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3738, allocations: 62.44 MB / 0.5318 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002951/0.3768, allocations: 1.745 MB / 0.5335 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.3784, allocations: 1.034 MB / 0.5345 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.235e-05/0.3785, allocations: 1.375 kB / 0.5345 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003355/0.3789, allocations: 86.19 kB / 0.5346 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.3792, allocations: 123.4 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.3794, allocations: 80.3 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.3796, allocations: 120 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3797, allocations: 14.86 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.3798, allocations: 72.31 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.38, allocations: 63.44 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.38, allocations: 4.125 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.3801, allocations: 59.86 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.801e-05/0.3802, allocations: 28.09 kB / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.584e-05/0.3802, allocations: 41.36 kB / 0.5351 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.3805, allocations: 143 kB / 0.5353 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3805, allocations: 0 / 0.5353 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3805, allocations: 1.094 kB / 0.5353 GB, free: 10.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.3805, allocations: 4 kB / 0.5353 GB, free: 10.89 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006944/0.3812, allocations: 440 kB / 0.5357 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.3813, allocations: 8.594 kB / 0.5357 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.982e-05/0.3813, allocations: 11.88 kB / 0.5357 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.3816, allocations: 223 kB / 0.5359 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.3817, allocations: 1.688 kB / 0.5359 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.3817, allocations: 7.406 kB / 0.5359 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.3819, allocations: 64.39 kB / 0.536 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3819, allocations: 4 kB / 0.536 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.3819, allocations: 0.875 kB / 0.536 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3819, allocations: 1 kB / 0.536 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.837e-05/0.382, allocations: 25.25 kB / 0.536 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.3824, allocations: 305.2 kB / 0.5363 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.3826, allocations: 65.11 kB / 0.5364 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.899e-05/0.3827, allocations: 22.23 kB / 0.5364 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.3827, allocations: 2.031 kB / 0.5364 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/0.3829, allocations: 70.09 kB / 0.5365 GB, free: 9.684 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.3829, allocations: 0 / 0.5365 GB, free: 9.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007664/0.3837, allocations: 252 kB / 0.5367 GB, free: 9.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.3837, allocations: 56.59 kB / 0.5368 GB, free: 9.477 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.3839, allocations: 239.2 kB / 0.537 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.384, allocations: 31.56 kB / 0.537 GB, free: 9.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.689e-05/0.384, allocations: 107 kB / 0.5371 GB, free: 9.176 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.3841, allocations: 35.95 kB / 0.5372 GB, free: 9.145 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.3841, allocations: 30.7 kB / 0.5372 GB, free: 9.117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3843, allocations: 323.3 kB / 0.5375 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.065e-05/0.3843, allocations: 34.33 kB / 0.5375 GB, free: 8.777 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.983e-05/0.3844, allocations: 48.55 kB / 0.5376 GB, free: 8.742 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.3846, allocations: 76.33 kB / 0.5376 GB, free: 8.695 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3846, allocations: 1.531 kB / 0.5377 GB, free: 8.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002118/0.3848, allocations: 129 kB / 0.5378 GB, free: 8.617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.3848, allocations: 5.5 kB / 0.5378 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3848, allocations: 1.344 kB / 0.5378 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3849, allocations: 9.25 kB / 0.5378 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.238e-05/0.3849, allocations: 25.27 kB / 0.5378 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.385, allocations: 5.312 kB / 0.5378 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.768e-05/0.385, allocations: 5.375 kB / 0.5378 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.385, allocations: 4 kB / 0.5378 GB, free: 8.594 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 (13): * Single equations (assignments): 13 * 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.0001092/0.3851, allocations: 130.5 kB / 0.538 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.3852, allocations: 14.16 kB / 0.538 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.042e-05/0.3852, allocations: 20.69 kB / 0.538 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3852, allocations: 3.984 kB / 0.538 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3853, allocations: 9.25 kB / 0.538 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.655e-05/0.3853, allocations: 92.7 kB / 0.5381 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.3853, allocations: 1.25 kB / 0.5381 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.523e-05/0.3854, allocations: 5.312 kB / 0.5381 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.3854, allocations: 8.172 kB / 0.5381 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002483/0.3857, allocations: 202.7 kB / 0.5383 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002851/0.386, allocations: 303.3 kB / 0.5386 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.443e-05/0.3861, allocations: 43.58 kB / 0.5386 GB, free: 7.883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001556/0.3862, allocations: 173.1 kB / 0.5388 GB, free: 7.77 MB / 398.1 MB Notification: Performance of Backend: time 6.32e-07/0.3862, allocations: 0 / 0.5388 GB, free: 7.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001588/0.3878, allocations: 0.5425 MB / 0.5393 GB, free: 7.512 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006651/0.3885, allocations: 0.7089 MB / 0.54 GB, free: 6.852 MB / 398.1 MB Notification: Performance of Templates: time 0.00507/0.3936, allocations: 2.128 MB / 0.5421 GB, free: 5.766 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches