Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001201/0.001201, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001118/0.001118, allocations: 164.4 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9478/0.9478, allocations: 177 MB / 205.2 MB, free: 5.055 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2546/0.2546, allocations: 34.86 MB / 296.6 MB, free: 480 kB / 266.7 MB " [Timeout remaining time 180] 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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.96e-05/2.108e-05, allocations: 5.406 kB / 326 MB, free: 7.078 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.002801/0.002823, allocations: 2.236 MB / 328.3 MB, free: 4.828 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.004633, allocations: 1.314 MB / 329.6 MB, free: 3.508 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.004762, allocations: 11.94 kB / 329.6 MB, free: 3.496 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00033/0.005092, allocations: 135.2 kB / 329.7 MB, free: 3.363 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000434/0.005526, allocations: 266.7 kB / 330 MB, free: 3.102 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.005878, allocations: 187.5 kB / 330.2 MB, free: 2.918 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004756/0.006354, allocations: 486.4 kB / 330.6 MB, free: 2.441 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.006479, allocations: 49.22 kB / 330.7 MB, free: 2.387 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003504/0.00683, allocations: 363.2 kB / 331 MB, free: 2.031 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.006982, allocations: 143.5 kB / 331.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.007014, allocations: 20 kB / 331.2 MB, free: 1.871 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.00713, allocations: 71.86 kB / 331.3 MB, free: 1.801 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.007242, allocations: 167.4 kB / 331.4 MB, free: 1.637 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.96e-05/0.007332, allocations: 99.52 kB / 331.5 MB, free: 1.539 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.007668, allocations: 378.3 kB / 331.9 MB, free: 1.168 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.007672, allocations: 0 / 331.9 MB, free: 1.168 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.007673, allocations: 0 / 331.9 MB, free: 1.168 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.007679, allocations: 0 / 331.9 MB, free: 1.168 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000681/0.00836, allocations: 0.7949 MB / 332.7 MB, free: 352 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.00839, allocations: 12.03 kB / 332.7 MB, free: 340 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.439e-05/0.008455, allocations: 48.88 kB / 332.8 MB, free: 292 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.008781, allocations: 360.4 kB / 333.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.0088, allocations: 12.31 kB / 333.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.008831, allocations: 20.36 kB / 333.1 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.009027, allocations: 177 kB / 333.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.009039, allocations: 192 / 333.3 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.009052, allocations: 15.75 kB / 333.3 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.009059, allocations: 4 kB / 333.3 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.001e-05/0.009129, allocations: 63.19 kB / 333.4 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004624/0.009591, allocations: 0.5495 MB / 333.9 MB, free: 15.01 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005838/0.01017, allocations: 373.5 kB / 334.3 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.329e-05/0.01024, allocations: 55.55 kB / 334.4 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.01026, allocations: 11.98 kB / 334.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.01042, allocations: 167.1 kB / 334.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.423e-06/0.01042, allocations: 0 / 334.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.0009131/0.01134, allocations: 0.6133 MB / 335.1 MB, free: 13.72 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.01139, allocations: 136.5 kB / 335.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003964/0.01178, allocations: 0.6539 MB / 335.9 MB, free: 12.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.01182, allocations: 41.69 kB / 336 MB, free: 12.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.01189, allocations: 162.9 kB / 336.1 MB, free: 12.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.797e-05/0.01198, allocations: 154.8 kB / 336.3 MB, free: 12.53 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.814e-05/0.01206, allocations: 78.11 kB / 336.4 MB, free: 12.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.092e-05/0.01214, allocations: 321.9 kB / 336.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.484e-05/0.01221, allocations: 47.8 kB / 336.7 MB, free: 12.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.763e-05/0.0123, allocations: 115.8 kB / 336.8 MB, free: 11.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.01246, allocations: 205.6 kB / 337 MB, free: 11.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01247, allocations: 4 kB / 337 MB, free: 11.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002457/0.01271, allocations: 248.9 kB / 337.3 MB, free: 11.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.01272, allocations: 7.984 kB / 337.3 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.01273, allocations: 8.125 kB / 337.3 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.01274, allocations: 4 kB / 337.3 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.0129, allocations: 83.84 kB / 337.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.0129, allocations: 0 / 337.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.692e-05/0.01298, allocations: 19.98 kB / 337.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.01299, allocations: 12 kB / 337.4 MB, free: 11.32 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001082/0.0131, allocations: 147 kB / 337.6 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.338e-05/0.01316, allocations: 59.88 kB / 337.6 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002996/0.01346, allocations: 297.6 kB / 337.9 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.01347, allocations: 12 kB / 337.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.01347, allocations: 0 / 337.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.01348, allocations: 3.984 kB / 337.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007338/0.01421, allocations: 1.051 MB / 339 MB, free: 9.699 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.01422, allocations: 4 kB / 339 MB, free: 9.695 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.01432, allocations: 60.17 kB / 339 MB, free: 9.637 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.01432, allocations: 7.938 kB / 339 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.01434, allocations: 23.98 kB / 339.1 MB, free: 9.605 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.01434, allocations: 4 kB / 339.1 MB, free: 9.602 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.01435, allocations: 7.938 kB / 339.1 MB, free: 9.594 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.0147, allocations: 0.771 MB / 339.9 MB, free: 8.773 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.01481, allocations: 91.45 kB / 339.9 MB, free: 8.684 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.555e-05/0.01485, allocations: 15.94 kB / 340 MB, free: 8.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.015, allocations: 19.98 kB / 340 MB, free: 8.648 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.01506, allocations: 47.86 kB / 340 MB, free: 8.602 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/0.01508, allocations: 19.98 kB / 340 MB, free: 8.582 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000248/0.01533, allocations: 347.4 kB / 340.4 MB, free: 8.246 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01533, allocations: 0 / 340.4 MB, free: 8.246 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003379/0.01567, allocations: 99.86 kB / 340.5 MB, free: 8.148 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001389/0.01706, allocations: 0.6418 MB / 341.1 MB, free: 7.805 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002493/0.01731, allocations: 212.9 kB / 341.3 MB, free: 7.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.01732, allocations: 8 kB / 341.3 MB, free: 7.582 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.01742, allocations: 117.5 kB / 341.5 MB, free: 7.465 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/0.01792, allocations: 126.4 kB / 341.6 MB, free: 7.344 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.01922, allocations: 0.9861 MB / 342.6 MB, free: 6.289 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.01934, allocations: 166.2 kB / 342.7 MB, free: 6.105 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.01946, allocations: 75.25 kB / 342.8 MB, free: 6.027 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.01963, allocations: 143.3 kB / 342.9 MB, free: 5.887 MB / 314.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01963, allocations: 0 / 342.9 MB, free: 5.887 MB / 314.7 MB Notification: Performance of Templates: time 0.008461/0.02809, allocations: 6.33 MB / 349.3 MB, free: 15.68 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0091828531585634]