Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,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.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001475/0.001475, allocations: 118.3 kB / 18.46 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001907/0.001907, allocations: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, 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.2165/0.2165, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 75.88 kB / 482.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3747, allocations: 62.44 MB / 0.5318 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003496/0.3783, allocations: 1.919 MB / 0.5336 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002101/0.3804, allocations: 1.125 MB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.3805, allocations: 2.281 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004567/0.381, allocations: 159.1 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004449/0.3815, allocations: 186.2 kB / 0.5351 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.3818, allocations: 115.1 kB / 0.5352 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002876/0.382, allocations: 243.8 kB / 0.5354 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.3822, allocations: 32.78 kB / 0.5354 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.3824, allocations: 119.5 kB / 0.5356 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.3826, allocations: 130.7 kB / 0.5357 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.3826, allocations: 9.344 kB / 0.5357 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.3828, allocations: 74.33 kB / 0.5358 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.081e-05/0.3829, allocations: 50.31 kB / 0.5358 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.383, allocations: 86.09 kB / 0.5359 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003344/0.3833, allocations: 223.5 kB / 0.5361 GB, free: 10.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3834, allocations: 0 / 0.5361 GB, free: 10.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3834, allocations: 1.125 kB / 0.5361 GB, free: 10.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.3834, allocations: 0 / 0.5361 GB, free: 10.36 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.000781/0.3842, allocations: 0.5374 MB / 0.5366 GB, free: 9.844 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.3842, allocations: 7.969 kB / 0.5366 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.047e-05/0.3843, allocations: 25.25 kB / 0.5367 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004139/0.3847, allocations: 287.4 kB / 0.5369 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.3847, allocations: 3.844 kB / 0.5369 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.3848, allocations: 13.25 kB / 0.5369 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.3851, allocations: 107.1 kB / 0.5371 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.3851, allocations: 1.094 kB / 0.5371 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.3851, allocations: 5.156 kB / 0.5371 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.3851, allocations: 1.062 kB / 0.5371 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.3853, allocations: 53.48 kB / 0.5371 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006036/0.3859, allocations: 462 kB / 0.5376 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003872/0.3863, allocations: 122 kB / 0.5377 GB, free: 8.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.3864, allocations: 44.84 kB / 0.5377 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.3864, allocations: 6.031 kB / 0.5377 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.3867, allocations: 124 kB / 0.5378 GB, free: 8.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.3867, allocations: 1.438 kB / 0.5378 GB, free: 8.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001407/0.3881, allocations: 0.4951 MB / 0.5383 GB, free: 8.477 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.3882, allocations: 83.39 kB / 0.5384 GB, free: 8.379 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004383/0.3886, allocations: 373.7 kB / 0.5388 GB, free: 8.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.3887, allocations: 27.7 kB / 0.5388 GB, free: 8.129 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.3888, allocations: 149 kB / 0.5389 GB, free: 7.988 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.855e-05/0.3889, allocations: 69.25 kB / 0.539 GB, free: 7.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.109e-05/0.3889, allocations: 41.77 kB / 0.539 GB, free: 7.898 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3891, allocations: 347.5 kB / 0.5394 GB, free: 7.559 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.3892, allocations: 53.33 kB / 0.5394 GB, free: 7.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.3894, allocations: 103.3 kB / 0.5395 GB, free: 7.457 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.3897, allocations: 152.6 kB / 0.5397 GB, free: 7.363 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3897, allocations: 0.8125 kB / 0.5397 GB, free: 7.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000412/0.3901, allocations: 232.8 kB / 0.5399 GB, free: 7.238 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.3901, allocations: 9.5 kB / 0.5399 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3902, allocations: 5.094 kB / 0.5399 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3902, allocations: 7.156 kB / 0.5399 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.3903, allocations: 45.64 kB / 0.5399 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3903, allocations: 1.688 kB / 0.5399 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.382e-05/0.3904, allocations: 8.172 kB / 0.54 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.3905, allocations: 11.41 kB / 0.54 GB, free: 7.207 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.0001459/0.3906, allocations: 166.9 kB / 0.5401 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.969e-05/0.3907, allocations: 36.58 kB / 0.5402 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.845e-05/0.3908, allocations: 35.64 kB / 0.5402 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.3908, allocations: 2.031 kB / 0.5402 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3908, allocations: 0 / 0.5402 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.28e-05/0.3908, allocations: 96.02 kB / 0.5403 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.403e-05/0.3909, allocations: 9.734 kB / 0.5403 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.528e-05/0.391, allocations: 4.219 kB / 0.5403 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.391, allocations: 16.42 kB / 0.5403 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004769/0.3915, allocations: 386.9 kB / 0.5407 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006103/0.3921, allocations: 481.4 kB / 0.5411 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001613/0.3923, allocations: 73.95 kB / 0.5412 GB, free: 6.203 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002915/0.3926, allocations: 279.4 kB / 0.5415 GB, free: 6.039 MB / 398.1 MB Notification: Performance of Backend: time 4.51e-07/0.3926, allocations: 4 kB / 0.5415 GB, free: 6.035 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001823/0.3944, allocations: 0.6055 MB / 0.5421 GB, free: 5.75 MB / 398.1 MB Notification: Performance of SimCode: time 0.001095/0.3956, allocations: 0.8957 MB / 0.5429 GB, free: 4.984 MB / 398.1 MB Notification: Performance of Templates: time 0.006862/0.4024, allocations: 3.265 MB / 0.5461 GB, free: 2.816 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches