Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.001875/0.001875, allocations: 84.55 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.001612/0.001612, allocations: 163.8 kB / 23.95 MB, free: 4.156 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.549/1.549, allocations: 177.1 MB / 204.3 MB, free: 9.191 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.2682/0.2682, allocations: 34.28 MB / 294.9 MB, free: 14.58 MB / 286.1 MB " [Timeout remaining time 179] 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 0 / 442.8 MB, free: 5.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.311e-05/4.588e-05, allocations: 2.281 kB / 442.8 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.004981/0.005027, allocations: 1.73 MB / 444.5 MB, free: 3.578 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002811/0.007839, allocations: 0.9626 MB / 445.5 MB, free: 2.609 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.00802, allocations: 0 / 445.5 MB, free: 2.609 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000543/0.008563, allocations: 43.7 kB / 445.5 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005796/0.009142, allocations: 99.53 kB / 445.6 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.00953, allocations: 83.55 kB / 445.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000294/0.009824, allocations: 107.6 kB / 445.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.00995, allocations: 11.98 kB / 445.8 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.01007, allocations: 51.77 kB / 445.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.01018, allocations: 27.91 kB / 445.9 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.0102, allocations: 4 kB / 445.9 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.01031, allocations: 39.98 kB / 445.9 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.524e-05/0.01039, allocations: 27.91 kB / 445.9 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.136e-05/0.01044, allocations: 19.88 kB / 446 MB, free: 2.102 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.01071, allocations: 123.6 kB / 446.1 MB, free: 1.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.01072, allocations: 0 / 446.1 MB, free: 1.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01072, allocations: 0 / 446.1 MB, free: 1.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.01073, allocations: 0 / 446.1 MB, free: 1.98 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.0006525/0.01138, allocations: 345.5 kB / 446.4 MB, free: 1.613 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.01142, allocations: 12.03 kB / 446.4 MB, free: 1.602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.281e-05/0.01148, allocations: 16.83 kB / 446.4 MB, free: 1.586 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.01175, allocations: 150.3 kB / 446.6 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.01176, allocations: 384 / 446.6 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.0118, allocations: 8.375 kB / 446.6 MB, free: 1.406 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.01202, allocations: 58.23 kB / 446.7 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.01204, allocations: 3.938 kB / 446.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.01205, allocations: 0 / 446.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.01206, allocations: 0 / 446.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.01217, allocations: 23.92 kB / 446.7 MB, free: 1.316 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000522/0.0127, allocations: 232.6 kB / 446.9 MB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.01296, allocations: 54.67 kB / 447 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.875e-05/0.01305, allocations: 24.78 kB / 447 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.01307, allocations: 0 / 447 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/0.01329, allocations: 75.33 kB / 447.1 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.255e-06/0.01329, allocations: 0 / 447.1 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006981/0.01399, allocations: 189.5 kB / 447.2 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.01403, allocations: 55.41 kB / 447.3 MB, free: 0.625 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.01427, allocations: 202.2 kB / 447.5 MB, free: 428 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.01429, allocations: 29.64 kB / 447.5 MB, free: 392 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.181e-05/0.01437, allocations: 104.1 kB / 447.6 MB, free: 284 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.01441, allocations: 27.78 kB / 447.7 MB, free: 256 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.01445, allocations: 21.72 kB / 447.7 MB, free: 228 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2637/0.2782, allocations: 326.8 kB / 448 MB, free: 19.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.2783, allocations: 19.3 kB / 448 MB, free: 19.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.2785, allocations: 35.27 kB / 448.1 MB, free: 19.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.2786, allocations: 63.84 kB / 448.1 MB, free: 19.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.2787, allocations: 1.062 kB / 448.1 MB, free: 19.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003679/0.279, allocations: 106.9 kB / 448.2 MB, free: 19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.279, allocations: 11.77 kB / 448.2 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.2791, allocations: 3.844 kB / 448.2 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.2791, allocations: 1.031 kB / 448.2 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.2792, allocations: 19.05 kB / 448.3 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.2792, allocations: 4.688 kB / 448.3 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.893e-05/0.2793, allocations: 3.328 kB / 448.3 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.2794, allocations: 4.625 kB / 448.3 MB, free: 19 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.0001339/0.2795, allocations: 131 kB / 448.4 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.2795, allocations: 10.72 kB / 448.4 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003913/0.2799, allocations: 121.5 kB / 448.5 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.2799, allocations: 1.812 kB / 448.5 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.2799, allocations: 5.125 kB / 448.5 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2799, allocations: 1.781 kB / 448.5 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006097/0.2805, allocations: 347.2 kB / 448.9 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2805, allocations: 1.156 kB / 448.9 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.818e-05/0.2806, allocations: 13.27 kB / 448.9 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.2806, allocations: 1.406 kB / 448.9 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.2806, allocations: 6.406 kB / 448.9 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.2806, allocations: 5.156 kB / 448.9 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.2806, allocations: 1.156 kB / 448.9 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003097/0.2809, allocations: 216.5 kB / 449.1 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.746e-05/0.281, allocations: 12.8 kB / 449.1 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.281, allocations: 10.05 kB / 449.1 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.2811, allocations: 3.234 kB / 449.1 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/0.2812, allocations: 10.64 kB / 449.1 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.2812, allocations: 4.016 kB / 449.1 MB, free: 18.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001775/0.2814, allocations: 155.3 kB / 449.3 MB, free: 18.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2814, allocations: 1.562 kB / 449.3 MB, free: 18.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000469/0.2819, allocations: 25.78 kB / 449.3 MB, free: 18.38 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.002361/0.2842, allocations: 0.4886 MB / 449.8 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002514/0.2845, allocations: 62.19 kB / 449.9 MB, free: 18.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2845, allocations: 1.188 kB / 449.9 MB, free: 18.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.2846, allocations: 28.14 kB / 449.9 MB, free: 18.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005296/0.2851, allocations: 31.58 kB / 449.9 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005863/0.2857, allocations: 235.4 kB / 450.2 MB, free: 18.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.975e-05/0.2858, allocations: 93.33 kB / 450.3 MB, free: 17.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.594e-05/0.2859, allocations: 12.66 kB / 450.3 MB, free: 17.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.651e-05/0.2859, allocations: 22.53 kB / 450.3 MB, free: 17.96 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2859, allocations: 4 kB / 450.3 MB, free: 17.96 MB / 366.1 MB Notification: Performance of Templates: time 0.007995/0.2939, allocations: 1.843 MB / 452.1 MB, free: 17.72 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.450589366257191]