Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001668/0.001668, allocations: 118.6 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.0019/0.0019, allocations: 211.7 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.524/1.524, allocations: 227.4 MB / 247.6 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2311/0.2311, allocations: 46.12 MB / 345 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002839/0.002839, allocations: 75.86 kB / 482.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3905, allocations: 62.43 MB / 0.5318 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003758/0.3943, allocations: 1.75 MB / 0.5335 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002905/0.3972, allocations: 1.62 MB / 0.5351 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.218e-05/0.3973, allocations: 3.938 kB / 0.5351 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003405/0.3976, allocations: 41.45 kB / 0.5351 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.3979, allocations: 100.4 kB / 0.5352 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.3981, allocations: 78.86 kB / 0.5353 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.3983, allocations: 109.1 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.3984, allocations: 9.5 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.3986, allocations: 49.64 kB / 0.5355 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.3987, allocations: 48.22 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.3988, allocations: 9.484 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.399, allocations: 111.1 kB / 0.5356 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.459e-05/0.399, allocations: 26.72 kB / 0.5357 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.423e-05/0.3991, allocations: 43.98 kB / 0.5357 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003476/0.3994, allocations: 174.5 kB / 0.5359 GB, free: 10.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3994, allocations: 0 / 0.5359 GB, free: 10.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3994, allocations: 0 / 0.5359 GB, free: 10.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.3995, allocations: 0 / 0.5359 GB, free: 10.4 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007196/0.4002, allocations: 444.8 kB / 0.5363 GB, free: 9.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.4002, allocations: 9.969 kB / 0.5363 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.891e-05/0.4003, allocations: 9.734 kB / 0.5363 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.4007, allocations: 220.5 kB / 0.5365 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.4007, allocations: 6.062 kB / 0.5365 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.4007, allocations: 11.06 kB / 0.5365 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.4009, allocations: 72.41 kB / 0.5366 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.4009, allocations: 4.984 kB / 0.5366 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.401, allocations: 0 / 0.5366 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.401, allocations: 1.094 kB / 0.5366 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.904e-05/0.4011, allocations: 31.61 kB / 0.5366 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/0.4015, allocations: 305.4 kB / 0.5369 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.4017, allocations: 62.83 kB / 0.537 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.82e-05/0.4018, allocations: 26.62 kB / 0.537 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.4018, allocations: 1.062 kB / 0.537 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.402, allocations: 80.19 kB / 0.5371 GB, free: 9.156 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.402, allocations: 0 / 0.5371 GB, free: 9.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006139/0.4026, allocations: 196.4 kB / 0.5373 GB, free: 9.047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.824e-05/0.4027, allocations: 78.2 kB / 0.5374 GB, free: 8.953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.4029, allocations: 174.8 kB / 0.5375 GB, free: 8.809 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.4029, allocations: 26.83 kB / 0.5376 GB, free: 8.777 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.403, allocations: 104.6 kB / 0.5376 GB, free: 8.676 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.403, allocations: 32.52 kB / 0.5377 GB, free: 8.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.4031, allocations: 29.91 kB / 0.5377 GB, free: 8.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.4033, allocations: 325.5 kB / 0.538 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.783e-05/0.4033, allocations: 25.48 kB / 0.538 GB, free: 8.285 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.049e-05/0.4034, allocations: 47.94 kB / 0.5381 GB, free: 8.246 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.4036, allocations: 71.11 kB / 0.5382 GB, free: 8.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4036, allocations: 5.25 kB / 0.5382 GB, free: 8.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002189/0.4038, allocations: 114.4 kB / 0.5383 GB, free: 8.125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.4038, allocations: 9.703 kB / 0.5383 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4038, allocations: 0 / 0.5383 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.4038, allocations: 1.031 kB / 0.5383 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.723e-05/0.4039, allocations: 19.16 kB / 0.5383 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.4039, allocations: 1.375 kB / 0.5383 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.539e-05/0.404, allocations: 14.58 kB / 0.5383 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.404, allocations: 6.188 kB / 0.5383 GB, free: 8.102 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 (11): * Single equations (assignments): 11 * 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.0001192/0.4041, allocations: 125.7 kB / 0.5384 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.4041, allocations: 9.672 kB / 0.5385 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.516e-05/0.4042, allocations: 16.55 kB / 0.5385 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.4042, allocations: 1.906 kB / 0.5385 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.4042, allocations: 0 / 0.5385 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.4042, allocations: 5.688 kB / 0.5385 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005264/0.4047, allocations: 417.2 kB / 0.5389 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4047, allocations: 5.375 kB / 0.5389 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.4048, allocations: 8.719 kB / 0.5389 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.4048, allocations: 1.125 kB / 0.5389 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.4048, allocations: 14.33 kB / 0.5389 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4048, allocations: 0 / 0.5389 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4048, allocations: 5.031 kB / 0.5389 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.4051, allocations: 212 kB / 0.5391 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.4051, allocations: 95.67 kB / 0.5392 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.4052, allocations: 10.22 kB / 0.5392 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.446e-05/0.4052, allocations: 2.875 kB / 0.5392 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.4053, allocations: 7.859 kB / 0.5392 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.4053, allocations: 2.656 kB / 0.5392 GB, free: 7.242 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.4054, allocations: 131.5 kB / 0.5393 GB, free: 7.141 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4054, allocations: 1.281 kB / 0.5393 GB, free: 7.141 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003109/0.4057, allocations: 45.89 kB / 0.5394 GB, free: 7.125 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001982/0.4077, allocations: 0.5471 MB / 0.5399 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002229/0.4079, allocations: 69.91 kB / 0.54 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4079, allocations: 0 / 0.54 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.16e-05/0.408, allocations: 30.39 kB / 0.54 GB, free: 6.801 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.4084, allocations: 37.11 kB / 0.5401 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005136/0.4089, allocations: 210.1 kB / 0.5403 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.4093, allocations: 0.7042 MB / 0.5409 GB, free: 5.895 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.058e-05/0.4093, allocations: 29.31 kB / 0.541 GB, free: 5.879 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.404e-05/0.4094, allocations: 22.33 kB / 0.541 GB, free: 5.867 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4094, allocations: 0 / 0.541 GB, free: 5.867 MB / 398.1 MB Notification: Performance of Templates: time 0.006255/0.4156, allocations: 2.451 MB / 0.5434 GB, free: 4.617 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches