Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.001713/0.001713, 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.002051/0.002051, allocations: 158.3 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.467/1.467, 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.2136/0.2136, allocations: 34.27 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 442.7 MB, free: 5.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.419e-05/3.594e-05, allocations: 4.953 kB / 442.7 MB, free: 5.188 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003707/0.003743, allocations: 1.719 MB / 444.5 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002126/0.005869, allocations: 0.9736 MB / 445.4 MB, free: 2.473 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.00597, allocations: 0 / 445.4 MB, free: 2.473 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.006296, allocations: 39.78 kB / 445.5 MB, free: 2.434 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003943/0.006691, allocations: 91.55 kB / 445.6 MB, free: 2.344 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.006951, allocations: 87.47 kB / 445.7 MB, free: 2.258 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.007175, allocations: 115.5 kB / 445.8 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.007277, allocations: 4 kB / 445.8 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.007403, allocations: 55.83 kB / 445.8 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.208e-05/0.007495, allocations: 27.91 kB / 445.9 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.00752, allocations: 4 kB / 445.9 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.007639, allocations: 39.98 kB / 445.9 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.022e-05/0.007709, allocations: 27.92 kB / 445.9 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.102e-05/0.00776, allocations: 19.92 kB / 445.9 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.008033, allocations: 119.5 kB / 446.1 MB, free: 1.852 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.008037, allocations: 0 / 446.1 MB, free: 1.852 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.008038, allocations: 0 / 446.1 MB, free: 1.852 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.008043, allocations: 0 / 446.1 MB, free: 1.852 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006351/0.008679, allocations: 341.6 kB / 446.4 MB, free: 1.488 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.008721, allocations: 12.03 kB / 446.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/0.00877, allocations: 8.891 kB / 446.4 MB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.009094, allocations: 149.5 kB / 446.6 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.009104, allocations: 8.375 kB / 446.6 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.009132, allocations: 384 / 446.6 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.009313, allocations: 58.23 kB / 446.6 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.009329, allocations: 4.125 kB / 446.6 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.009339, allocations: 384 / 446.6 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.009348, allocations: 3.938 kB / 446.6 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.755e-05/0.009435, allocations: 23.98 kB / 446.7 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.009834, allocations: 224.6 kB / 446.9 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.01002, allocations: 62.67 kB / 446.9 MB, free: 0.875 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.449e-05/0.01009, allocations: 28.78 kB / 447 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.0101, allocations: 0 / 447 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.01025, allocations: 71.33 kB / 447 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.01025, allocations: 0 / 447 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006093/0.01086, allocations: 181.3 kB / 447.2 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.01091, allocations: 55.34 kB / 447.3 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.01112, allocations: 188 kB / 447.4 MB, free: 324 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.01115, allocations: 29.7 kB / 447.5 MB, free: 288 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.974e-05/0.01122, allocations: 104.1 kB / 447.6 MB, free: 180 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.01126, allocations: 27.8 kB / 447.6 MB, free: 152 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.982e-05/0.01131, allocations: 21.7 kB / 447.6 MB, free: 124 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2096/0.2209, allocations: 322.8 kB / 447.9 MB, free: 18.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.221, allocations: 19.75 kB / 448 MB, free: 18.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.972e-05/0.2211, allocations: 39.31 kB / 448 MB, free: 18.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.2213, allocations: 64.86 kB / 448.1 MB, free: 18.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.2213, allocations: 0 / 448.1 MB, free: 18.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002315/0.2215, allocations: 107.4 kB / 448.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.2215, allocations: 5.719 kB / 448.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.2215, allocations: 3.562 kB / 448.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/0.2215, allocations: 1.156 kB / 448.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.2217, allocations: 17.62 kB / 448.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.2217, allocations: 4.906 kB / 448.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.895e-05/0.2217, allocations: 7.172 kB / 448.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.2217, allocations: 2.25 kB / 448.2 MB, free: 18.89 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000111/0.2218, allocations: 130.7 kB / 448.3 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.2219, allocations: 9.844 kB / 448.3 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.2221, allocations: 119.5 kB / 448.5 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.2222, allocations: 4.547 kB / 448.5 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.2222, allocations: 4.734 kB / 448.5 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2222, allocations: 3.938 kB / 448.5 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004367/0.2226, allocations: 344.9 kB / 448.8 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.2226, allocations: 3.812 kB / 448.8 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-05/0.2226, allocations: 14.17 kB / 448.8 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2226, allocations: 1.094 kB / 448.8 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.2227, allocations: 8.859 kB / 448.8 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2227, allocations: 0.7031 kB / 448.8 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2227, allocations: 1.125 kB / 448.8 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.2229, allocations: 213.6 kB / 449.1 MB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/0.2229, allocations: 11.98 kB / 449.1 MB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.2229, allocations: 10.36 kB / 449.1 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.478e-05/0.223, allocations: 6 kB / 449.1 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.223, allocations: 9.344 kB / 449.1 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.2231, allocations: 8.359 kB / 449.1 MB, free: 18.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001079/0.2232, allocations: 140 kB / 449.2 MB, free: 18.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2232, allocations: 0 / 449.2 MB, free: 18.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.2234, allocations: 26.39 kB / 449.3 MB, free: 18.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001833/0.2253, allocations: 480.8 kB / 449.7 MB, free: 18.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001906/0.2255, allocations: 60.84 kB / 449.8 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2255, allocations: 1.188 kB / 449.8 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.857e-05/0.2255, allocations: 33.25 kB / 449.8 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.2259, allocations: 40.55 kB / 449.9 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004404/0.2264, allocations: 231.2 kB / 450.1 MB, free: 17.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.269e-05/0.2264, allocations: 87.67 kB / 450.2 MB, free: 17.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.965e-05/0.2265, allocations: 17.06 kB / 450.2 MB, free: 17.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/0.2265, allocations: 20.33 kB / 450.2 MB, free: 17.81 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2265, allocations: 1.469 kB / 450.2 MB, free: 17.81 MB / 366.1 MB Notification: Performance of Templates: time 0.00538/0.2319, allocations: 1.843 MB / 452.1 MB, free: 17.58 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.154358055442572]