Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 81.56 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 164.8 kB / 23.96 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.521/1.521, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2275/0.2275, allocations: 34.28 MB / 295 MB, free: 14.58 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 442.8 MB, free: 5.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.907e-05, allocations: 2.281 kB / 442.8 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.00341/0.003439, allocations: 1.886 MB / 444.7 MB, free: 3.422 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.005557, allocations: 1.08 MB / 445.7 MB, free: 2.336 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.005668, allocations: 4 kB / 445.7 MB, free: 2.332 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005274/0.006195, allocations: 219.2 kB / 446 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005113/0.006707, allocations: 227.1 kB / 446.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.007004, allocations: 115.6 kB / 446.3 MB, free: 1.781 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000356/0.00736, allocations: 267.2 kB / 446.6 MB, free: 1.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.007481, allocations: 21.94 kB / 446.6 MB, free: 1.496 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.007695, allocations: 143.6 kB / 446.7 MB, free: 1.355 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002185/0.007914, allocations: 155.6 kB / 446.9 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.007948, allocations: 8 kB / 446.9 MB, free: 1.195 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.008089, allocations: 63.91 kB / 446.9 MB, free: 1.133 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.964e-05/0.008189, allocations: 63.77 kB / 447 MB, free: 1.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.764e-05/0.008267, allocations: 51.8 kB / 447 MB, free: 1.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.00862, allocations: 247 kB / 447.3 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.008624, allocations: 3.938 kB / 447.3 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.008625, allocations: 0 / 447.3 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.008635, allocations: 0 / 447.3 MB, free: 0.7734 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007984/0.009433, allocations: 0.4886 MB / 447.8 MB, free: 260 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.00947, allocations: 8.031 kB / 447.8 MB, free: 252 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.735e-05/0.009537, allocations: 28.75 kB / 447.8 MB, free: 224 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2049/0.2144, allocations: 222.2 kB / 448 MB, free: 19.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/0.2144, allocations: 7.109 kB / 448 MB, free: 19.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.397e-05/0.2145, allocations: 10.48 kB / 448.1 MB, free: 19.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/0.2148, allocations: 113.4 kB / 448.2 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.2148, allocations: 4.062 kB / 448.2 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.2148, allocations: 3.75 kB / 448.2 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.2148, allocations: 2.188 kB / 448.2 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.215, allocations: 58.41 kB / 448.2 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000657/0.2157, allocations: 414.6 kB / 448.6 MB, free: 19.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004311/0.2161, allocations: 120.8 kB / 448.8 MB, free: 19.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.2162, allocations: 41.03 kB / 448.8 MB, free: 19.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.2162, allocations: 2.156 kB / 448.8 MB, free: 19.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002606/0.2165, allocations: 123.8 kB / 448.9 MB, free: 18.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 2.404e-06/0.2165, allocations: 0 / 448.9 MB, free: 18.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001539/0.218, allocations: 0.5293 MB / 449.4 MB, free: 18.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.2181, allocations: 80.98 kB / 449.5 MB, free: 18.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005379/0.2186, allocations: 455.7 kB / 450 MB, free: 18.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.2186, allocations: 32.58 kB / 450 MB, free: 18.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.578e-05/0.2187, allocations: 160.3 kB / 450.2 MB, free: 18.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.284e-05/0.2188, allocations: 77.05 kB / 450.2 MB, free: 18.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.987e-05/0.2189, allocations: 45.05 kB / 450.3 MB, free: 18.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.213e-05/0.2189, allocations: 344 kB / 450.6 MB, free: 17.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.2191, allocations: 58.22 kB / 450.7 MB, free: 17.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.2192, allocations: 93.45 kB / 450.8 MB, free: 17.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.2195, allocations: 170.7 kB / 450.9 MB, free: 17.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2195, allocations: 1.219 kB / 450.9 MB, free: 17.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004107/0.2199, allocations: 240.5 kB / 451.2 MB, free: 17.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.2199, allocations: 5.344 kB / 451.2 MB, free: 17.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.2199, allocations: 2.344 kB / 451.2 MB, free: 17.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.22, allocations: 2.219 kB / 451.2 MB, free: 17.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.2201, allocations: 44.09 kB / 451.2 MB, free: 17.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.2201, allocations: 6.375 kB / 451.2 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.249e-05/0.2202, allocations: 8.875 kB / 451.2 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.2202, allocations: 11.97 kB / 451.2 MB, free: 17.64 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001479/0.2204, allocations: 166.3 kB / 451.4 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/0.2204, allocations: 37 kB / 451.4 MB, free: 17.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005596/0.221, allocations: 279.1 kB / 451.7 MB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.221, allocations: 8.234 kB / 451.7 MB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.221, allocations: 0 / 451.7 MB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.221, allocations: 3.016 kB / 451.7 MB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.222, allocations: 0.6805 MB / 452.4 MB, free: 16.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.222, allocations: 2.594 kB / 452.4 MB, free: 16.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.2221, allocations: 37.36 kB / 452.4 MB, free: 16.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.2222, allocations: 5.969 kB / 452.4 MB, free: 16.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.2222, allocations: 6.344 kB / 452.5 MB, free: 16.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/0.2222, allocations: 8.719 kB / 452.5 MB, free: 16.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.2222, allocations: 1.125 kB / 452.5 MB, free: 16.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005659/0.2228, allocations: 435.2 kB / 452.9 MB, free: 16.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.2228, allocations: 35.48 kB / 452.9 MB, free: 16.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/0.2229, allocations: 13.52 kB / 452.9 MB, free: 16.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.223, allocations: 4.953 kB / 452.9 MB, free: 16.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.697e-05/0.2231, allocations: 24.14 kB / 453 MB, free: 16.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.2231, allocations: 12.11 kB / 453 MB, free: 16.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003823/0.2235, allocations: 338.5 kB / 453.3 MB, free: 16.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2235, allocations: 1.375 kB / 453.3 MB, free: 16.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003939/0.2239, allocations: 52.53 kB / 453.4 MB, free: 16.39 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002172/0.2261, allocations: 0.5658 MB / 453.9 MB, free: 16.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004015/0.2265, allocations: 163.5 kB / 454.1 MB, free: 16.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2265, allocations: 1.062 kB / 454.1 MB, free: 16.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.2267, allocations: 79.77 kB / 454.2 MB, free: 16.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006056/0.2273, allocations: 66.27 kB / 454.2 MB, free: 16.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009744/0.2282, allocations: 0.562 MB / 454.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.2284, allocations: 170 kB / 455 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001081/0.2285, allocations: 40.34 kB / 455 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.527e-05/0.2286, allocations: 32.83 kB / 455 MB, free: 15.64 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2286, allocations: 1.219 kB / 455 MB, free: 15.64 MB / 366.1 MB Notification: Performance of Templates: time 0.00976/0.2384, allocations: 3.325 MB / 458.4 MB, free: 15.2 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.21658705547452]