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.001068/0.001068, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001116/0.001116, allocations: 166.8 kB / 25.61 MB, free: 8.582 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 1.006/1.006, allocations: 177 MB / 205.9 MB, free: 4.465 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.1409/0.1409, allocations: 34.89 MB / 297.4 MB, free: 13.34 MB / 282.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.914e-06/1.914e-06, allocations: 0 / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.694e-05/3.885e-05, allocations: 3.297 kB / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004172/0.00421, allocations: 2.235 MB / 382.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002988/0.007199, allocations: 1.282 MB / 383.6 MB, free: 19.11 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000282/0.007481, allocations: 7.938 kB / 383.6 MB, free: 19.11 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006396/0.00812, allocations: 143.2 kB / 383.8 MB, free: 18.96 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007583/0.008879, allocations: 270.7 kB / 384 MB, free: 18.7 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005592/0.009438, allocations: 187.5 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006264/0.01006, allocations: 486.4 kB / 384.7 MB, free: 18.04 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.01025, allocations: 37.27 kB / 384.7 MB, free: 18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003478/0.0106, allocations: 391.1 kB / 385.1 MB, free: 17.62 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.01075, allocations: 139.5 kB / 385.2 MB, free: 17.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.01078, allocations: 16 kB / 385.3 MB, free: 17.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.01091, allocations: 75.91 kB / 385.3 MB, free: 17.39 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.01102, allocations: 163.3 kB / 385.5 MB, free: 17.23 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.786e-05/0.0111, allocations: 99.52 kB / 385.6 MB, free: 17.13 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003315/0.01143, allocations: 378.3 kB / 386 MB, free: 16.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.01143, allocations: 0 / 386 MB, free: 16.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.01144, allocations: 4 kB / 386 MB, free: 16.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.01144, allocations: 0 / 386 MB, free: 16.76 MB / 314.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.0007532/0.0122, allocations: 0.9534 MB / 386.9 MB, free: 15.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.01224, allocations: 8.031 kB / 386.9 MB, free: 15.76 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.415e-05/0.01234, allocations: 88.45 kB / 387 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.01264, allocations: 377 kB / 387.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.01267, allocations: 12.38 kB / 387.4 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.0127, allocations: 16.36 kB / 387.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.01292, allocations: 185.5 kB / 387.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.01293, allocations: 4.141 kB / 387.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.01295, allocations: 12.36 kB / 387.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.01296, allocations: 7.938 kB / 387.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.846e-05/0.01303, allocations: 55.86 kB / 387.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005665/0.01359, allocations: 0.8562 MB / 388.5 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/0.01391, allocations: 228.2 kB / 388.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.821e-05/0.01397, allocations: 70.84 kB / 388.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.01398, allocations: 8 kB / 388.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.01417, allocations: 186.6 kB / 389 MB, free: 13.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.843e-06/0.01417, allocations: 0 / 389 MB, free: 13.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.001105/0.01528, allocations: 0.7241 MB / 389.7 MB, free: 12.76 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.01532, allocations: 132.5 kB / 389.9 MB, free: 12.6 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000368/0.01569, allocations: 0.7374 MB / 390.6 MB, free: 11.85 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.01572, allocations: 37.7 kB / 390.6 MB, free: 11.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.01585, allocations: 351.5 kB / 391 MB, free: 11.46 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.597e-05/0.01593, allocations: 146.8 kB / 391.1 MB, free: 11.31 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.012e-05/0.016, allocations: 87.77 kB / 391.2 MB, free: 11.22 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.449e-05/0.01605, allocations: 0.4887 MB / 391.7 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.467e-05/0.01612, allocations: 52.95 kB / 391.7 MB, free: 10.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.095e-05/0.0162, allocations: 150.3 kB / 391.9 MB, free: 10.49 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.01635, allocations: 226.2 kB / 392.1 MB, free: 10.24 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01635, allocations: 0 / 392.1 MB, free: 10.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002859/0.01664, allocations: 352.3 kB / 392.5 MB, free: 9.891 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.01665, allocations: 4 kB / 392.5 MB, free: 9.887 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.01666, allocations: 4.125 kB / 392.5 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.01667, allocations: 8 kB / 392.5 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.01682, allocations: 87.89 kB / 392.6 MB, free: 9.789 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.01682, allocations: 7.938 kB / 392.6 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.123e-05/0.0169, allocations: 19.98 kB / 392.6 MB, free: 9.762 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.01691, allocations: 8 kB / 392.6 MB, free: 9.754 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 9.996e-05/0.01701, allocations: 198.9 kB / 392.8 MB, free: 9.551 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.937e-05/0.01708, allocations: 99.41 kB / 392.9 MB, free: 9.453 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003693/0.01745, allocations: 419 kB / 393.3 MB, free: 9.035 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.01746, allocations: 12 kB / 393.3 MB, free: 9.023 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.01746, allocations: 0 / 393.3 MB, free: 9.023 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.01747, allocations: 7.984 kB / 393.3 MB, free: 9.016 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000732/0.0182, allocations: 1.289 MB / 394.6 MB, free: 7.656 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.0182, allocations: 4 kB / 394.6 MB, free: 7.652 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.138e-05/0.01829, allocations: 64.16 kB / 394.7 MB, free: 7.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.0183, allocations: 15.94 kB / 394.7 MB, free: 7.574 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.01832, allocations: 23.92 kB / 394.7 MB, free: 7.551 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/0.01832, allocations: 4 kB / 394.7 MB, free: 7.547 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01832, allocations: 4 kB / 394.7 MB, free: 7.543 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003973/0.01872, allocations: 0.9496 MB / 395.7 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.449e-05/0.01881, allocations: 107.3 kB / 395.8 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/0.01886, allocations: 19.94 kB / 395.8 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.01901, allocations: 19.98 kB / 395.8 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.01906, allocations: 47.88 kB / 395.9 MB, free: 6.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.01908, allocations: 19.98 kB / 395.9 MB, free: 6.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002024/0.01928, allocations: 462.8 kB / 396.3 MB, free: 5.871 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-07/0.01928, allocations: 0 / 396.3 MB, free: 5.871 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003553/0.01964, allocations: 91.94 kB / 396.4 MB, free: 5.781 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.001095/0.02073, allocations: 0.4884 MB / 396.9 MB, free: 5.473 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000257/0.02099, allocations: 228.3 kB / 397.1 MB, free: 5.246 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.02099, allocations: 0 / 397.1 MB, free: 5.246 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.0211, allocations: 129.2 kB / 397.3 MB, free: 5.117 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005649/0.02166, allocations: 142.2 kB / 397.4 MB, free: 4.988 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008577/0.02252, allocations: 1.033 MB / 398.4 MB, free: 3.875 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.85e-05/0.02261, allocations: 162.2 kB / 398.6 MB, free: 3.699 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001208/0.02273, allocations: 75.25 kB / 398.7 MB, free: 3.625 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.02288, allocations: 166.1 kB / 398.8 MB, free: 3.461 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.02288, allocations: 0 / 398.8 MB, free: 3.461 MB / 314.7 MB Notification: Performance of Templates: time 0.009464/0.03235, allocations: 6.503 MB / 405.3 MB, free: 13.06 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.5309893689118326]