Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.001334/0.001334, allocations: 84.16 kB / 20.68 MB, free: 1.023 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.001568/0.001568, allocations: 167.7 kB / 23.96 MB, free: 4.145 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.184 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.2165/0.2165, allocations: 34.29 MB / 295 MB, free: 14.57 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.Test79,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.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 442.8 MB, free: 5.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/2.953e-05, allocations: 6.281 kB / 442.8 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003502/0.003532, allocations: 1.882 MB / 444.7 MB, free: 3.414 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.005751, allocations: 1.068 MB / 445.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.00588, allocations: 7.938 kB / 445.7 MB, free: 2.332 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005705/0.00645, allocations: 227.2 kB / 446 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005524/0.007003, allocations: 227.1 kB / 446.2 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.007308, allocations: 123.5 kB / 446.3 MB, free: 1.766 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003931/0.007701, allocations: 263.2 kB / 446.6 MB, free: 1.508 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.007832, allocations: 17.95 kB / 446.6 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/0.008063, allocations: 143.7 kB / 446.7 MB, free: 1.348 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.008295, allocations: 163.6 kB / 446.9 MB, free: 1.188 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.492e-05/0.00834, allocations: 8 kB / 446.9 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.008483, allocations: 63.92 kB / 446.9 MB, free: 1.117 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.008594, allocations: 63.77 kB / 447 MB, free: 1.055 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.539e-05/0.008679, allocations: 47.78 kB / 447 MB, free: 1.008 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003731/0.009052, allocations: 239.1 kB / 447.3 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.009056, allocations: 4 kB / 447.3 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.009057, allocations: 0 / 447.3 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.009062, allocations: 0 / 447.3 MB, free: 0.7695 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.0008624/0.009925, allocations: 0.4964 MB / 447.8 MB, free: 248 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.009963, allocations: 12.03 kB / 447.8 MB, free: 236 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.004e-05/0.01003, allocations: 28.75 kB / 447.8 MB, free: 208 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2156/0.2257, allocations: 210.7 kB / 448 MB, free: 19.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.2257, allocations: 8.594 kB / 448 MB, free: 19.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.2257, allocations: 8.531 kB / 448 MB, free: 19.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.226, allocations: 117.5 kB / 448.2 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.226, allocations: 1.688 kB / 448.2 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.226, allocations: 4.5 kB / 448.2 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.226, allocations: 2.906 kB / 448.2 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.2262, allocations: 52.73 kB / 448.2 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006299/0.2268, allocations: 411.7 kB / 448.6 MB, free: 19.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003896/0.2272, allocations: 124.2 kB / 448.7 MB, free: 19.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.2273, allocations: 43.69 kB / 448.8 MB, free: 19.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.2273, allocations: 4.469 kB / 448.8 MB, free: 19.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.2276, allocations: 127.8 kB / 448.9 MB, free: 18.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.2276, allocations: 1 kB / 448.9 MB, free: 18.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001366/0.2289, allocations: 0.516 MB / 449.4 MB, free: 18.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.229, allocations: 83.72 kB / 449.5 MB, free: 18.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005196/0.2295, allocations: 456.5 kB / 450 MB, free: 18.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.2295, allocations: 31.83 kB / 450 MB, free: 18.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.857e-05/0.2296, allocations: 164.7 kB / 450.2 MB, free: 18.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.147e-05/0.2296, allocations: 66.03 kB / 450.2 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.345e-05/0.2297, allocations: 50.61 kB / 450.3 MB, free: 18.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.517e-05/0.2298, allocations: 347.2 kB / 450.6 MB, free: 17.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.2299, allocations: 58.14 kB / 450.7 MB, free: 17.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.2301, allocations: 92.88 kB / 450.8 MB, free: 17.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.2303, allocations: 160.6 kB / 450.9 MB, free: 17.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2303, allocations: 1 kB / 450.9 MB, free: 17.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003949/0.2307, allocations: 255.6 kB / 451.2 MB, free: 17.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.2307, allocations: 5.406 kB / 451.2 MB, free: 17.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2307, allocations: 0 / 451.2 MB, free: 17.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.2308, allocations: 6.938 kB / 451.2 MB, free: 17.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.2309, allocations: 44.98 kB / 451.2 MB, free: 17.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.2309, allocations: 2.484 kB / 451.2 MB, free: 17.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.535e-05/0.231, allocations: 9.422 kB / 451.2 MB, free: 17.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.231, allocations: 12.06 kB / 451.2 MB, free: 17.62 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.0001204/0.2311, allocations: 167.4 kB / 451.4 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/0.2312, allocations: 35.88 kB / 451.4 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005035/0.2317, allocations: 282 kB / 451.7 MB, free: 17.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.2317, allocations: 5.719 kB / 451.7 MB, free: 17.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.2317, allocations: 0.9375 kB / 451.7 MB, free: 17.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.2317, allocations: 1.969 kB / 451.7 MB, free: 17.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007938/0.2325, allocations: 0.675 MB / 452.4 MB, free: 16.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2325, allocations: 2.672 kB / 452.4 MB, free: 16.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.483e-05/0.2326, allocations: 36.94 kB / 452.4 MB, free: 16.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.2326, allocations: 5.594 kB / 452.4 MB, free: 16.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.2326, allocations: 7.797 kB / 452.4 MB, free: 16.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.2326, allocations: 5.75 kB / 452.5 MB, free: 16.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2326, allocations: 1.781 kB / 452.5 MB, free: 16.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004238/0.233, allocations: 449.5 kB / 452.9 MB, free: 16.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.362e-05/0.2331, allocations: 27.92 kB / 452.9 MB, free: 16.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/0.2331, allocations: 11.39 kB / 452.9 MB, free: 16.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.2333, allocations: 11.28 kB / 452.9 MB, free: 16.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/0.2334, allocations: 20.64 kB / 453 MB, free: 16.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.2334, allocations: 12.61 kB / 453 MB, free: 16.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002957/0.2337, allocations: 339.2 kB / 453.3 MB, free: 16.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2337, allocations: 0 / 453.3 MB, free: 16.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003571/0.234, allocations: 51.23 kB / 453.4 MB, free: 16.38 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.001983/0.236, allocations: 0.5571 MB / 453.9 MB, free: 16.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003522/0.2364, allocations: 164.2 kB / 454.1 MB, free: 16.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2364, allocations: 0 / 454.1 MB, free: 16.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.2365, allocations: 78.53 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.0005479/0.2371, allocations: 75.2 kB / 454.2 MB, free: 16.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008484/0.2379, allocations: 0.5681 MB / 454.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.2381, allocations: 166.6 kB / 455 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.944e-05/0.2382, allocations: 42.45 kB / 455 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.982e-05/0.2383, allocations: 33.73 kB / 455 MB, free: 15.64 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2383, allocations: 0 / 455 MB, free: 15.64 MB / 366.1 MB Notification: Performance of Templates: time 0.008457/0.2467, allocations: 3.316 MB / 458.3 MB, free: 15.19 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.081689953804016]