Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.001389/0.001389, allocations: 86.09 kB / 20.68 MB, free: 1.035 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.001588/0.001588, allocations: 157.1 kB / 23.95 MB, free: 4.168 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.615/1.615, allocations: 177 MB / 204.1 MB, free: 9.195 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.2118/0.2118, allocations: 34.25 MB / 294.8 MB, free: 14.56 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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 442.7 MB, free: 5.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.293e-05/3.51e-05, allocations: 6.281 kB / 442.7 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003849/0.003884, allocations: 1.719 MB / 444.5 MB, free: 3.512 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.006055, allocations: 0.9775 MB / 445.4 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.006171, allocations: 0 / 445.4 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.006492, allocations: 43.77 kB / 445.5 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004118/0.006904, allocations: 103.5 kB / 445.6 MB, free: 2.383 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.00717, allocations: 91.53 kB / 445.7 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000239/0.007409, allocations: 103.7 kB / 445.8 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.007531, allocations: 4 kB / 445.8 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.007697, allocations: 55.78 kB / 445.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.007813, allocations: 31.89 kB / 445.9 MB, free: 2.102 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.007842, allocations: 4 kB / 445.9 MB, free: 2.098 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.007984, allocations: 39.98 kB / 445.9 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.961e-05/0.008064, allocations: 27.86 kB / 445.9 MB, free: 2.031 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.878e-05/0.008123, allocations: 19.92 kB / 446 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003122/0.008435, allocations: 131.5 kB / 446.1 MB, free: 1.883 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.008439, allocations: 4 kB / 446.1 MB, free: 1.879 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.00844, allocations: 0 / 446.1 MB, free: 1.879 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.008448, allocations: 0 / 446.1 MB, free: 1.879 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.0007342/0.009182, allocations: 353.5 kB / 446.4 MB, free: 1.504 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.009236, allocations: 15.97 kB / 446.4 MB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.498e-05/0.009301, allocations: 16.78 kB / 446.5 MB, free: 1.473 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000416/0.009717, allocations: 166.2 kB / 446.6 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.009741, allocations: 4.375 kB / 446.6 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.009765, allocations: 384 / 446.6 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.009963, allocations: 58.23 kB / 446.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.009978, allocations: 4.188 kB / 446.7 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.009989, allocations: 384 / 446.7 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.01, allocations: 3.938 kB / 446.7 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.905e-05/0.0101, allocations: 23.98 kB / 446.7 MB, free: 1.184 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.01053, allocations: 236.5 kB / 446.9 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.01077, allocations: 54.67 kB / 447 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.636e-05/0.01083, allocations: 20.84 kB / 447 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.01085, allocations: 0 / 447 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.01104, allocations: 79.27 kB / 447.1 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 4.919e-06/0.01105, allocations: 7.984 kB / 447.1 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006636/0.01171, allocations: 181.4 kB / 447.3 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.01177, allocations: 59.33 kB / 447.3 MB, free: 496 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.01205, allocations: 247.6 kB / 447.6 MB, free: 240 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.01208, allocations: 29.7 kB / 447.6 MB, free: 204 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.397e-05/0.01216, allocations: 108.1 kB / 447.7 MB, free: 92 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.0122, allocations: 23.8 kB / 447.7 MB, free: 68 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/0.01225, allocations: 29.7 kB / 447.8 MB, free: 32 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2147/0.2269, allocations: 322.8 kB / 448.1 MB, free: 18.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.2271, allocations: 19.66 kB / 448.1 MB, free: 18.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.857e-05/0.2272, allocations: 36.91 kB / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.2273, allocations: 63.2 kB / 448.2 MB, free: 18.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2273, allocations: 0 / 448.2 MB, free: 18.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002543/0.2276, allocations: 114.8 kB / 448.3 MB, free: 18.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.2276, allocations: 4.5 kB / 448.3 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.2276, allocations: 1.062 kB / 448.3 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.2276, allocations: 1.875 kB / 448.3 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.2277, allocations: 14.62 kB / 448.3 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.2278, allocations: 5.125 kB / 448.3 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.605e-05/0.2278, allocations: 4.047 kB / 448.3 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.2278, allocations: 6.25 kB / 448.4 MB, free: 18.91 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.000107/0.228, allocations: 135.9 kB / 448.5 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.228, allocations: 13.92 kB / 448.5 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003067/0.2283, allocations: 123.9 kB / 448.6 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.2283, allocations: 2.703 kB / 448.6 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.2283, allocations: 3.938 kB / 448.6 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2283, allocations: 0.6562 kB / 448.6 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.2288, allocations: 350.5 kB / 449 MB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.2288, allocations: 1.25 kB / 449 MB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.578e-05/0.2288, allocations: 16.19 kB / 449 MB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2288, allocations: 0.6094 kB / 449 MB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.2289, allocations: 7.047 kB / 449 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.2289, allocations: 2.719 kB / 449 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.2289, allocations: 0.6562 kB / 449 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.2291, allocations: 216.1 kB / 449.2 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.139e-05/0.2291, allocations: 10.89 kB / 449.2 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.2291, allocations: 10.41 kB / 449.2 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-05/0.2292, allocations: 3.547 kB / 449.2 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.2293, allocations: 13.95 kB / 449.2 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.2293, allocations: 7.234 kB / 449.3 MB, free: 18.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001486/0.2294, allocations: 177.9 kB / 449.4 MB, free: 18.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2294, allocations: 0 / 449.4 MB, free: 18.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.2297, allocations: 27.94 kB / 449.5 MB, free: 18.3 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.001828/0.2315, allocations: 491.3 kB / 449.9 MB, free: 18.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.2317, allocations: 59.61 kB / 450 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2317, allocations: 0 / 450 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.842e-05/0.2318, allocations: 29.97 kB / 450 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.2322, allocations: 33.64 kB / 450.1 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005235/0.2327, allocations: 264.5 kB / 450.3 MB, free: 17.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.71e-05/0.2328, allocations: 105 kB / 450.4 MB, free: 17.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.841e-05/0.2329, allocations: 16.91 kB / 450.4 MB, free: 17.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.421e-05/0.2329, allocations: 18.36 kB / 450.4 MB, free: 17.82 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2329, allocations: 3.391 kB / 450.5 MB, free: 17.82 MB / 366.1 MB Notification: Performance of Templates: time 0.006033/0.239, allocations: 1.85 MB / 452.3 MB, free: 17.59 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.052515339106321]