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.001243/0.001243, allocations: 111.7 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001163/0.001163, allocations: 209.9 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2078/0.2078, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 75.88 kB / 482.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3332, allocations: 62.43 MB / 0.5318 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.00335/0.3366, allocations: 1.929 MB / 0.5336 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.3386, allocations: 1.124 MB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.3387, allocations: 5.781 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000495/0.3392, allocations: 217.7 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004755/0.3397, allocations: 226.8 kB / 0.5352 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.34, allocations: 115.8 kB / 0.5353 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003563/0.3404, allocations: 254.7 kB / 0.5355 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.3405, allocations: 32.75 kB / 0.5355 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.3407, allocations: 125.4 kB / 0.5357 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.3409, allocations: 149.4 kB / 0.5358 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.3409, allocations: 8.844 kB / 0.5358 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.3412, allocations: 66.27 kB / 0.5359 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.164e-05/0.3412, allocations: 62.06 kB / 0.5359 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.54e-05/0.3413, allocations: 87.89 kB / 0.536 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.3417, allocations: 242.7 kB / 0.5363 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3417, allocations: 3.938 kB / 0.5363 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3417, allocations: 0 / 0.5363 GB, free: 10.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.3417, allocations: 5.156 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.0007509/0.3425, allocations: 0.559 MB / 0.5368 GB, free: 9.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.3425, allocations: 9.25 kB / 0.5368 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.305e-05/0.3426, allocations: 27.16 kB / 0.5368 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.343, allocations: 285.7 kB / 0.5371 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.343, allocations: 12.23 kB / 0.5371 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.343, allocations: 9.562 kB / 0.5371 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.3433, allocations: 115.2 kB / 0.5372 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.3433, allocations: 1.531 kB / 0.5372 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.3434, allocations: 0 / 0.5372 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.3434, allocations: 6.344 kB / 0.5373 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.3435, allocations: 56.09 kB / 0.5373 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000599/0.3441, allocations: 479.1 kB / 0.5378 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000391/0.3445, allocations: 118.3 kB / 0.5379 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.3447, allocations: 49.31 kB / 0.5379 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.3447, allocations: 2.344 kB / 0.5379 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002904/0.345, allocations: 136 kB / 0.5381 GB, free: 8.629 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.345, allocations: 0 / 0.5381 GB, free: 8.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001373/0.3464, allocations: 497.9 kB / 0.5385 GB, free: 8.367 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.3465, allocations: 87.86 kB / 0.5386 GB, free: 8.266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004842/0.3469, allocations: 445.3 kB / 0.539 GB, free: 8.023 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.347, allocations: 31.61 kB / 0.5391 GB, free: 7.988 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.3471, allocations: 167.3 kB / 0.5392 GB, free: 7.832 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.874e-05/0.3472, allocations: 65.28 kB / 0.5393 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.101e-05/0.3472, allocations: 45.77 kB / 0.5393 GB, free: 7.742 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3474, allocations: 345.5 kB / 0.5397 GB, free: 7.406 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.3475, allocations: 53.39 kB / 0.5397 GB, free: 7.383 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.3477, allocations: 102.9 kB / 0.5398 GB, free: 7.305 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.348, allocations: 152.8 kB / 0.54 GB, free: 7.211 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.348, allocations: 0 / 0.54 GB, free: 7.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003989/0.3484, allocations: 239.4 kB / 0.5402 GB, free: 7.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.3485, allocations: 9.594 kB / 0.5402 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3485, allocations: 5.375 kB / 0.5402 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3485, allocations: 1.312 kB / 0.5402 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.3487, allocations: 42.95 kB / 0.5402 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.3487, allocations: 1.469 kB / 0.5402 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.848e-05/0.3488, allocations: 12.17 kB / 0.5403 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.3488, allocations: 11.44 kB / 0.5403 GB, free: 7.055 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.0001498/0.349, allocations: 169 kB / 0.5404 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.349, allocations: 39.22 kB / 0.5405 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.82e-05/0.3491, allocations: 40.88 kB / 0.5405 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.3491, allocations: 1.531 kB / 0.5405 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.3491, allocations: 5.344 kB / 0.5405 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3491, allocations: 3.984 kB / 0.5405 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009788/0.3501, allocations: 0.7355 MB / 0.5412 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.3501, allocations: 5.484 kB / 0.5412 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.456e-05/0.3502, allocations: 27.91 kB / 0.5413 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3502, allocations: 2.812 kB / 0.5413 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.3503, allocations: 7.797 kB / 0.5413 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.3503, allocations: 6.281 kB / 0.5413 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3503, allocations: 2.5 kB / 0.5413 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005828/0.3509, allocations: 419.1 kB / 0.5417 GB, free: 5.883 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.748e-05/0.3509, allocations: 105.6 kB / 0.5418 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.653e-05/0.351, allocations: 12.38 kB / 0.5418 GB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.3512, allocations: 11.42 kB / 0.5418 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.3512, allocations: 21.86 kB / 0.5418 GB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.3512, allocations: 8.312 kB / 0.5418 GB, free: 5.742 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003974/0.3516, allocations: 334.5 kB / 0.5422 GB, free: 5.559 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3517, allocations: 0 / 0.5422 GB, free: 5.559 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003723/0.352, allocations: 52.95 kB / 0.5422 GB, free: 5.543 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.001195/0.3532, allocations: 0.511 MB / 0.5427 GB, free: 5.277 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003843/0.3536, allocations: 151.1 kB / 0.5428 GB, free: 5.219 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3536, allocations: 0 / 0.5428 GB, free: 5.219 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.3538, allocations: 84.09 kB / 0.5429 GB, free: 5.184 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005908/0.3544, allocations: 72.33 kB / 0.543 GB, free: 5.148 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009303/0.3554, allocations: 0.584 MB / 0.5436 GB, free: 4.746 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.3557, allocations: 0.7843 MB / 0.5443 GB, free: 4 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.038e-05/0.3558, allocations: 27.31 kB / 0.5444 GB, free: 3.992 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3558, allocations: 0 / 0.5444 GB, free: 3.992 MB / 398.1 MB Notification: Performance of Templates: time 0.006071/0.3619, allocations: 3.779 MB / 0.5481 GB, free: 0.7461 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