Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 103.8 kB / 17.03 MB, free: 5.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 196.1 kB / 17.96 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.856/1.856, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2596/0.2596, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 69.75 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1859, allocations: 57.79 MB / 442 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.004129/0.1902, allocations: 1.704 MB / 443.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.1918, allocations: 0.8156 MB / 444.5 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.192, allocations: 4 kB / 444.5 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004989/0.1925, allocations: 43.77 kB / 444.5 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003096/0.1929, allocations: 51.75 kB / 444.6 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.1932, allocations: 87.7 kB / 444.7 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.1934, allocations: 95.69 kB / 444.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.1936, allocations: 16.22 kB / 444.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.1937, allocations: 39.8 kB / 444.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.1939, allocations: 35.83 kB / 444.9 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.1939, allocations: 8 kB / 444.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.1941, allocations: 59.97 kB / 444.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.561e-05/0.1942, allocations: 23.86 kB / 444.9 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.593e-05/0.1942, allocations: 31.8 kB / 445 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.1945, allocations: 131.6 kB / 445.1 MB, free: 2.965 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.1945, allocations: 0 / 445.1 MB, free: 2.965 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.397e-06/0.1946, allocations: 0 / 445.1 MB, free: 2.965 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.1946, allocations: 0 / 445.1 MB, free: 2.965 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000816/0.1954, allocations: 411 kB / 445.5 MB, free: 2.516 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.1955, allocations: 15.89 kB / 445.5 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.054e-05/0.1955, allocations: 12.83 kB / 445.5 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/0.196, allocations: 209.3 kB / 445.7 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.196, allocations: 4.359 kB / 445.7 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.1961, allocations: 8.125 kB / 445.7 MB, free: 2.234 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/0.1963, allocations: 67.39 kB / 445.8 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.1964, allocations: 0 / 445.8 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.1964, allocations: 8 kB / 445.8 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.1964, allocations: 4 kB / 445.8 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.1965, allocations: 31.89 kB / 445.9 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005621/0.1971, allocations: 292.8 kB / 446.1 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.1973, allocations: 62.48 kB / 446.2 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.643e-05/0.1974, allocations: 16.98 kB / 446.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.389e-05/0.1974, allocations: 8 kB / 446.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002207/0.1977, allocations: 75.31 kB / 446.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.1977, allocations: 0 / 446.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006692/0.1984, allocations: 177.3 kB / 446.5 MB, free: 1.414 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.427e-05/0.1984, allocations: 77.11 kB / 446.6 MB, free: 1.32 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.1986, allocations: 156.9 kB / 446.7 MB, free: 1.16 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1986, allocations: 29.7 kB / 446.7 MB, free: 1.125 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.1987, allocations: 100 kB / 446.8 MB, free: 1.023 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.1987, allocations: 31.7 kB / 446.9 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.341e-05/0.1988, allocations: 25.72 kB / 446.9 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1989, allocations: 326.8 kB / 447.2 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.661e-05/0.199, allocations: 19.98 kB / 447.2 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.552e-05/0.199, allocations: 50.5 kB / 447.3 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.1992, allocations: 69.67 kB / 447.3 MB, free: 492 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1992, allocations: 0 / 447.3 MB, free: 492 kB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001942/0.1994, allocations: 101.5 kB / 447.4 MB, free: 384 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.1994, allocations: 5.25 kB / 447.4 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.1994, allocations: 3.984 kB / 447.5 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.1995, allocations: 4 kB / 447.5 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.1996, allocations: 12 kB / 447.5 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.1996, allocations: 4.125 kB / 447.5 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.172e-05/0.1997, allocations: 15.95 kB / 447.5 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.1997, allocations: 7.938 kB / 447.5 MB, free: 332 kB / 318.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 (11): * Single equations (assignments): 11 * 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.0001177/0.1998, allocations: 121.8 kB / 447.6 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.1998, allocations: 11.91 kB / 447.6 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002693/0.2001, allocations: 110.3 kB / 447.7 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2001, allocations: 0 / 447.7 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.2001, allocations: 0 / 447.7 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.2002, allocations: 3.938 kB / 447.7 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007089/0.2009, allocations: 411.2 kB / 448.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.2009, allocations: 0 / 448.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.346e-05/0.2009, allocations: 15.98 kB / 448.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.201, allocations: 0 / 448.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.201, allocations: 3.938 kB / 448.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.201, allocations: 4 kB / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.201, allocations: 0 / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.2013, allocations: 204.3 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.057e-05/0.2014, allocations: 93 kB / 448.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.2014, allocations: 7.938 kB / 448.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.987e-05/0.2015, allocations: 0 / 448.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.2016, allocations: 7.984 kB / 448.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.2016, allocations: 11.94 kB / 448.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001627/0.2018, allocations: 115.2 kB / 448.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.2018, allocations: 4 kB / 448.6 MB, free: 15.1 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003246/0.2021, allocations: 32 kB / 448.6 MB, free: 15.07 MB / 334.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.001639/0.2037, allocations: 0.5045 MB / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002598/0.204, allocations: 63.91 kB / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.204, allocations: 0 / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.2042, allocations: 31.94 kB / 449.2 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.2046, allocations: 35.25 kB / 449.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007759/0.2054, allocations: 203.2 kB / 449.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005365/0.2059, allocations: 0.6924 MB / 450.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.186e-05/0.2061, allocations: 17.03 kB / 450.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.211e-05/0.2061, allocations: 23.42 kB / 450.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of SimCode: time 3.967e-06/0.2061, allocations: 0 / 450.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of Templates: time 0.007137/0.2133, allocations: 2.06 MB / 452.2 MB, free: 11.5 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches