Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,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.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001543/0.001543, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00182/0.00182, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2082/0.2082, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 71.89 kB / 482.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3766, allocations: 62.44 MB / 0.5318 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.00387/0.3805, allocations: 1.921 MB / 0.5336 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.3827, allocations: 1.124 MB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.3828, allocations: 1.031 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000566/0.3834, allocations: 218.9 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005176/0.384, allocations: 223 kB / 0.5352 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.3844, allocations: 119.1 kB / 0.5353 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003958/0.3848, allocations: 255.6 kB / 0.5355 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.3849, allocations: 33.02 kB / 0.5355 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.3851, allocations: 124.8 kB / 0.5357 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.3854, allocations: 157.5 kB / 0.5358 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.3854, allocations: 9 kB / 0.5358 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.3856, allocations: 63.3 kB / 0.5359 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.3857, allocations: 61.66 kB / 0.5359 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.3858, allocations: 90.64 kB / 0.536 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003837/0.3862, allocations: 239 kB / 0.5363 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.3863, allocations: 1.031 kB / 0.5363 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3863, allocations: 3.938 kB / 0.5363 GB, free: 10.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.3863, allocations: 4 kB / 0.5363 GB, free: 10.29 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.0008286/0.3871, allocations: 0.5638 MB / 0.5368 GB, free: 9.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.3872, allocations: 9.719 kB / 0.5368 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.242e-05/0.3873, allocations: 26.25 kB / 0.5369 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004492/0.3877, allocations: 282 kB / 0.5371 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.3877, allocations: 11.92 kB / 0.5371 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.002e-05/0.3878, allocations: 9.875 kB / 0.5371 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.3881, allocations: 115.4 kB / 0.5372 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.3881, allocations: 3.938 kB / 0.5373 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.3881, allocations: 1.156 kB / 0.5373 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.3881, allocations: 2.25 kB / 0.5373 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.3883, allocations: 48.38 kB / 0.5373 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006987/0.389, allocations: 487.5 kB / 0.5378 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004109/0.3894, allocations: 117.8 kB / 0.5379 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.3895, allocations: 49.16 kB / 0.5379 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/0.3896, allocations: 6.062 kB / 0.5379 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002424/0.3898, allocations: 119.9 kB / 0.538 GB, free: 8.637 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.3898, allocations: 0 / 0.538 GB, free: 8.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.00144/0.3913, allocations: 0.5098 MB / 0.5385 GB, free: 8.352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.3914, allocations: 88.73 kB / 0.5386 GB, free: 8.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005307/0.3919, allocations: 440.9 kB / 0.5391 GB, free: 8.012 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.3919, allocations: 35.52 kB / 0.5391 GB, free: 7.973 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.3921, allocations: 163.2 kB / 0.5392 GB, free: 7.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.283e-05/0.3921, allocations: 65.81 kB / 0.5393 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.974e-05/0.3922, allocations: 45.73 kB / 0.5393 GB, free: 7.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002202/0.3924, allocations: 344.7 kB / 0.5397 GB, free: 7.395 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.3926, allocations: 57.33 kB / 0.5397 GB, free: 7.367 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.3927, allocations: 100.4 kB / 0.5398 GB, free: 7.293 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002731/0.393, allocations: 151.6 kB / 0.54 GB, free: 7.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.393, allocations: 1.344 kB / 0.54 GB, free: 7.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000429/0.3935, allocations: 237.5 kB / 0.5402 GB, free: 7.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.3935, allocations: 10.06 kB / 0.5402 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.3935, allocations: 1.469 kB / 0.5402 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3935, allocations: 1.438 kB / 0.5402 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.3937, allocations: 42.52 kB / 0.5403 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.3937, allocations: 2.562 kB / 0.5403 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.575e-05/0.3938, allocations: 11.14 kB / 0.5403 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.3938, allocations: 11.62 kB / 0.5403 GB, free: 7.047 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.0001825/0.394, allocations: 165.1 kB / 0.5404 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.959e-05/0.3941, allocations: 42.91 kB / 0.5405 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.13e-05/0.3942, allocations: 38.41 kB / 0.5405 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3942, allocations: 3.375 kB / 0.5405 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.3942, allocations: 1.156 kB / 0.5405 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.3942, allocations: 7.922 kB / 0.5405 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.3953, allocations: 0.7324 MB / 0.5412 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3953, allocations: 1.562 kB / 0.5412 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.523e-05/0.3954, allocations: 35.23 kB / 0.5413 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.3954, allocations: 2.625 kB / 0.5413 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.3954, allocations: 8.047 kB / 0.5413 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.3955, allocations: 2.594 kB / 0.5413 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3955, allocations: 1.281 kB / 0.5413 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005603/0.396, allocations: 424.5 kB / 0.5417 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.3961, allocations: 104.9 kB / 0.5418 GB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-05/0.3962, allocations: 12.75 kB / 0.5418 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.3963, allocations: 7.516 kB / 0.5418 GB, free: 5.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.94e-05/0.3964, allocations: 21.23 kB / 0.5418 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.939e-05/0.3965, allocations: 13.06 kB / 0.5418 GB, free: 5.734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004553/0.3969, allocations: 333.5 kB / 0.5422 GB, free: 5.551 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.397, allocations: 1.125 kB / 0.5422 GB, free: 5.551 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003842/0.3973, allocations: 52.17 kB / 0.5422 GB, free: 5.535 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001346/0.3987, allocations: 0.5077 MB / 0.5427 GB, free: 5.273 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000415/0.3991, allocations: 155 kB / 0.5429 GB, free: 5.211 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3991, allocations: 0 / 0.5429 GB, free: 5.211 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.3993, allocations: 83.69 kB / 0.5429 GB, free: 5.176 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005886/0.3999, allocations: 67.02 kB / 0.543 GB, free: 5.145 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.401, allocations: 0.588 MB / 0.5436 GB, free: 4.742 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.4015, allocations: 0.7819 MB / 0.5443 GB, free: 3.996 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.791e-05/0.4016, allocations: 27.03 kB / 0.5444 GB, free: 3.988 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.4016, allocations: 0 / 0.5444 GB, free: 3.988 MB / 398.1 MB Notification: Performance of Templates: time 0.006823/0.4084, allocations: 3.78 MB / 0.5481 GB, free: 0.7109 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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 Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time