Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.001583/0.001583, allocations: 88.75 kB / 20.68 MB, free: 1.02 MB / 14.72 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.002315/0.002315, allocations: 158 kB / 23.95 MB, free: 4.152 MB / 14.72 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.552/1.552, allocations: 177 MB / 204.1 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 178] 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.2177/0.2177, allocations: 34.26 MB / 294.8 MB, free: 14.51 MB / 286.1 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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 442.8 MB, free: 5.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.326e-05/3.553e-05, allocations: 2.281 kB / 442.8 MB, free: 5.172 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.006276/0.006312, allocations: 2.168 MB / 444.9 MB, free: 2.988 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005101/0.01141, allocations: 1.273 MB / 446.2 MB, free: 1.711 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003528/0.01177, allocations: 7.938 kB / 446.2 MB, free: 1.703 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007112/0.01248, allocations: 127.2 kB / 446.3 MB, free: 1.578 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001099/0.01358, allocations: 246.8 kB / 446.6 MB, free: 1.336 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008206/0.0144, allocations: 187.5 kB / 446.8 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001144/0.01554, allocations: 482.4 kB / 447.2 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002646/0.01581, allocations: 45.2 kB / 447.3 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009275/0.01673, allocations: 343.2 kB / 447.6 MB, free: 304 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004054/0.01714, allocations: 139.5 kB / 447.7 MB, free: 164 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.319e-05/0.01723, allocations: 16 kB / 447.8 MB, free: 148 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002966/0.01753, allocations: 67.92 kB / 447.8 MB, free: 80 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2503/0.2678, allocations: 138.9 kB / 448 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002392/0.2681, allocations: 101.5 kB / 448.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007473/0.2688, allocations: 426.2 kB / 448.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.2688, allocations: 1.094 kB / 448.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.2688, allocations: 4.266 kB / 448.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.2688, allocations: 0 / 448.5 MB, free: 15.8 MB / 366.1 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.001159/0.27, allocations: 0.7648 MB / 449.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.27, allocations: 8.844 kB / 449.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.2702, allocations: 64.92 kB / 449.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00055/0.2707, allocations: 343.2 kB / 449.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.2707, allocations: 11.08 kB / 449.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.517e-05/0.2708, allocations: 15.8 kB / 449.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004272/0.2712, allocations: 200 kB / 449.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.2712, allocations: 12.97 kB / 449.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.2712, allocations: 8.781 kB / 449.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.2713, allocations: 7.625 kB / 449.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002816/0.2715, allocations: 101.6 kB / 450 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008315/0.2724, allocations: 0.7239 MB / 450.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006675/0.273, allocations: 240.9 kB / 451 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.2732, allocations: 90.44 kB / 451.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.2733, allocations: 3.062 kB / 451.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003675/0.2736, allocations: 212.3 kB / 451.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.994e-06/0.2736, allocations: 0 / 451.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002629/0.2763, allocations: 1.162 MB / 452.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.2763, allocations: 139 kB / 452.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009816/0.2773, allocations: 0.8123 MB / 453.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/0.2773, allocations: 36.39 kB / 453.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.2775, allocations: 244.6 kB / 453.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.2776, allocations: 155.6 kB / 453.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.2778, allocations: 80.08 kB / 453.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.2779, allocations: 378.2 kB / 454.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/0.2781, allocations: 118.5 kB / 454.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/0.2784, allocations: 189.7 kB / 454.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005174/0.2789, allocations: 324.9 kB / 454.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2789, allocations: 4 kB / 454.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007949/0.2797, allocations: 460.8 kB / 455.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.2797, allocations: 5.656 kB / 455.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.2798, allocations: 4.156 kB / 455.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.2798, allocations: 4.016 kB / 455.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.2801, allocations: 87.22 kB / 455.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.2801, allocations: 7.906 kB / 455.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.2803, allocations: 25.22 kB / 455.4 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.2803, allocations: 17.67 kB / 455.5 MB, free: 12.52 MB / 366.1 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.0002633/0.2806, allocations: 236.1 kB / 455.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.2807, allocations: 72.84 kB / 455.8 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.2817, allocations: 0.5175 MB / 456.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.2817, allocations: 5.719 kB / 456.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.2817, allocations: 2.078 kB / 456.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.2818, allocations: 4.703 kB / 456.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.2835, allocations: 1.247 MB / 457.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.2835, allocations: 3.344 kB / 457.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.2837, allocations: 69.36 kB / 457.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.2837, allocations: 8.25 kB / 457.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.2837, allocations: 19.77 kB / 457.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.2837, allocations: 10.23 kB / 457.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.2837, allocations: 4.844 kB / 457.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00089/0.2846, allocations: 0.8125 MB / 458.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.2848, allocations: 107.2 kB / 458.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.124e-05/0.2849, allocations: 18.25 kB / 458.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002963/0.2852, allocations: 17.92 kB / 458.6 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.2853, allocations: 46.09 kB / 458.7 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.737e-05/0.2853, allocations: 23.39 kB / 458.7 MB, free: 10.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007364/0.2861, allocations: 0.5981 MB / 459.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2861, allocations: 0 / 459.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000594/0.2867, allocations: 98.3 kB / 459.4 MB, free: 10.46 MB / 366.1 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.002187/0.2889, allocations: 0.5653 MB / 459.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007083/0.2896, allocations: 314.4 kB / 460.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.2896, allocations: 1.062 kB / 460.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000323/0.2899, allocations: 160.8 kB / 460.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.2909, allocations: 122.5 kB / 460.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.2927, allocations: 1.082 MB / 461.6 MB, free: 9.465 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.2931, allocations: 291.1 kB / 461.9 MB, free: 9.363 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002409/0.2933, allocations: 76.88 kB / 462 MB, free: 9.344 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.2935, allocations: 54.73 kB / 462 MB, free: 9.328 MB / 366.1 MB Notification: Performance of SimCode: time 8.22e-07/0.2935, allocations: 0 / 462 MB, free: 9.328 MB / 366.1 MB Notification: Performance of Templates: time 0.01409/0.3076, allocations: 5.717 MB / 467.7 MB, free: 8.555 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.25002208724618]