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.001403/0.001403, allocations: 88.98 kB / 20.68 MB, free: 1.023 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.001921/0.001921, allocations: 157.5 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.501/1.501, allocations: 177 MB / 204.1 MB, free: 9.16 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.2617/0.2617, allocations: 34.26 MB / 294.8 MB, free: 14.52 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.Test87,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.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,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.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 442.8 MB, free: 5.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.016e-05/3.18e-05, allocations: 2.281 kB / 442.8 MB, free: 5.188 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003905/0.003937, allocations: 2.171 MB / 444.9 MB, free: 3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002633/0.00657, allocations: 1.269 MB / 446.2 MB, free: 1.727 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.006721, allocations: 7.938 kB / 446.2 MB, free: 1.719 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000463/0.007184, allocations: 139.2 kB / 446.3 MB, free: 1.582 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005955/0.00778, allocations: 266.8 kB / 446.6 MB, free: 1.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004184/0.008198, allocations: 187.5 kB / 446.8 MB, free: 1.137 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007012/0.008899, allocations: 482.4 kB / 447.3 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.00909, allocations: 37.27 kB / 447.3 MB, free: 0.625 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005807/0.009671, allocations: 391.1 kB / 447.7 MB, free: 248 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.009898, allocations: 139.5 kB / 447.8 MB, free: 108 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.122e-05/0.00995, allocations: 16 kB / 447.8 MB, free: 92 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.01011, allocations: 75.92 kB / 447.9 MB, free: 16 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1939/0.204, allocations: 161.9 kB / 448.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.2042, allocations: 101.7 kB / 448.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006067/0.2048, allocations: 463.4 kB / 448.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2048, allocations: 1.125 kB / 448.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2048, allocations: 3.469 kB / 448.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.2048, allocations: 0 / 448.6 MB, free: 15.86 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.001035/0.2058, allocations: 0.8329 MB / 449.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2058, allocations: 10.47 kB / 449.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.746e-05/0.2059, allocations: 76.33 kB / 449.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004741/0.2064, allocations: 369.5 kB / 449.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.2064, allocations: 11.86 kB / 449.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/0.2065, allocations: 22.19 kB / 449.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/0.2069, allocations: 195 kB / 450.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.2069, allocations: 9.172 kB / 450.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.2069, allocations: 6.844 kB / 450.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.2069, allocations: 9.078 kB / 450.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000249/0.2071, allocations: 104 kB / 450.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007764/0.2079, allocations: 0.7443 MB / 451 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006444/0.2086, allocations: 245.2 kB / 451.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.2088, allocations: 88.8 kB / 451.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.2088, allocations: 6.062 kB / 451.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003736/0.2091, allocations: 208 kB / 451.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.824e-06/0.2091, allocations: 0 / 451.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002516/0.2117, allocations: 1.231 MB / 452.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.2117, allocations: 137.5 kB / 452.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.2128, allocations: 0.9752 MB / 453.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.2128, allocations: 40.39 kB / 453.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.213, allocations: 277.8 kB / 454.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.993e-05/0.2131, allocations: 145.3 kB / 454.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.2132, allocations: 84.97 kB / 454.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.898e-05/0.2132, allocations: 323.8 kB / 454.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.2135, allocations: 117.8 kB / 454.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.2137, allocations: 193 kB / 455 MB, free: 12.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005153/0.2142, allocations: 327.1 kB / 455.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2142, allocations: 0 / 455.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000768/0.215, allocations: 467.9 kB / 455.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.215, allocations: 5.938 kB / 455.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.215, allocations: 2.625 kB / 455.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.2151, allocations: 5.188 kB / 455.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.2153, allocations: 90.69 kB / 455.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.2154, allocations: 8.266 kB / 455.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.2155, allocations: 17.19 kB / 455.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.2156, allocations: 18.55 kB / 455.9 MB, free: 12.39 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.0002417/0.2158, allocations: 256.1 kB / 456.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.225e-05/0.2159, allocations: 84.89 kB / 456.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009776/0.2169, allocations: 0.5286 MB / 456.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.2169, allocations: 5.688 kB / 456.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.2169, allocations: 5.984 kB / 456.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.2169, allocations: 7.859 kB / 456.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.2185, allocations: 1.268 MB / 458.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.2185, allocations: 2.656 kB / 458.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.2187, allocations: 67.28 kB / 458.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.2187, allocations: 15.97 kB / 458.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.167e-05/0.2187, allocations: 15.83 kB / 458.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.2187, allocations: 6.078 kB / 458.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.2187, allocations: 4.469 kB / 458.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000835/0.2196, allocations: 0.824 MB / 459 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.2197, allocations: 118.7 kB / 459.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.112e-05/0.2198, allocations: 17.38 kB / 459.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/0.2201, allocations: 28.25 kB / 459.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.503e-05/0.2202, allocations: 39.97 kB / 459.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-05/0.2203, allocations: 24.81 kB / 459.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007726/0.221, allocations: 0.7198 MB / 460 MB, free: 10.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.221, allocations: 0 / 460 MB, free: 10.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005528/0.2216, allocations: 94.75 kB / 460.1 MB, free: 10.26 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.002128/0.2237, allocations: 0.561 MB / 460.6 MB, free: 9.992 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006424/0.2244, allocations: 317.8 kB / 460.9 MB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2244, allocations: 0.5 kB / 460.9 MB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003578/0.2247, allocations: 157.7 kB / 461.1 MB, free: 9.879 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.2258, allocations: 129.6 kB / 461.2 MB, free: 9.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.2274, allocations: 1.223 MB / 462.4 MB, free: 9.203 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.2278, allocations: 323.5 kB / 462.8 MB, free: 9.098 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002024/0.228, allocations: 77.27 kB / 462.8 MB, free: 9.078 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.2281, allocations: 58 kB / 462.9 MB, free: 9.059 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2281, allocations: 0 / 462.9 MB, free: 9.059 MB / 366.1 MB Notification: Performance of Templates: time 0.01174/0.2398, allocations: 5.753 MB / 468.6 MB, free: 8.215 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.260511938482523]