Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 103.1 kB / 17.03 MB, free: 5.66 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.001432/0.001432, allocations: 192.1 kB / 17.96 MB, free: 5.066 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.636/1.636, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.2394/0.2394, allocations: 43.52 MB / 314.7 MB, free: 468 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.00258/0.00258, allocations: 81.73 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1865, allocations: 57.78 MB / 442 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003983/0.1906, allocations: 1.692 MB / 443.7 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.192, allocations: 0.7961 MB / 444.5 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.1922, allocations: 0 / 444.5 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004023/0.1926, allocations: 51.75 kB / 444.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.193, allocations: 59.75 kB / 444.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.1934, allocations: 79.77 kB / 444.6 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.1936, allocations: 99.69 kB / 444.7 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1938, allocations: 4.234 kB / 444.7 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.1939, allocations: 47.78 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.412e-05/0.194, allocations: 35.78 kB / 444.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.194, allocations: 4 kB / 444.8 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.1942, allocations: 39.98 kB / 444.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.782e-05/0.1943, allocations: 19.92 kB / 444.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.658e-05/0.1943, allocations: 35.73 kB / 444.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.1946, allocations: 123.6 kB / 445 MB, free: 3.027 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.84e-06/0.1946, allocations: 0 / 445 MB, free: 3.027 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1946, allocations: 0 / 445 MB, free: 3.027 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.1947, allocations: 0 / 445 MB, free: 3.027 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.00056/0.1952, allocations: 418.8 kB / 445.5 MB, free: 2.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.1953, allocations: 15.89 kB / 445.5 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.05e-05/0.1953, allocations: 8.844 kB / 445.5 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.1956, allocations: 216.7 kB / 445.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.1957, allocations: 384 / 445.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.1957, allocations: 8.125 kB / 445.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.1959, allocations: 53.67 kB / 445.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.1959, allocations: 3.984 kB / 445.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1959, allocations: 4 kB / 445.8 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1959, allocations: 0 / 445.8 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.159e-05/0.196, allocations: 27.92 kB / 445.8 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003334/0.1963, allocations: 280.9 kB / 446.1 MB, free: 1.871 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.1965, allocations: 54.67 kB / 446.1 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.774e-05/0.1966, allocations: 20.86 kB / 446.1 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.1966, allocations: 7.938 kB / 446.1 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/0.1967, allocations: 67.38 kB / 446.2 MB, free: 1.699 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.1968, allocations: 0 / 446.2 MB, free: 1.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005312/0.1973, allocations: 173.2 kB / 446.4 MB, free: 1.523 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.1973, allocations: 55.41 kB / 446.4 MB, free: 1.457 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.1975, allocations: 199.3 kB / 446.6 MB, free: 1.254 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.1975, allocations: 33.64 kB / 446.7 MB, free: 1.215 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.394e-05/0.1976, allocations: 108 kB / 446.8 MB, free: 1.105 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.1976, allocations: 23.72 kB / 446.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.1976, allocations: 25.72 kB / 446.8 MB, free: 1.051 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.649e-05/0.1977, allocations: 326.8 kB / 447.1 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.063e-05/0.1978, allocations: 19.98 kB / 447.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.206e-05/0.1978, allocations: 41.7 kB / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.065e-05/0.1979, allocations: 61.64 kB / 447.3 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1979, allocations: 0 / 447.3 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001503/0.1981, allocations: 105.5 kB / 447.4 MB, free: 492 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1981, allocations: 8 kB / 447.4 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1981, allocations: 0 / 447.4 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.1981, allocations: 0 / 447.4 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.953e-05/0.1982, allocations: 19.92 kB / 447.4 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1982, allocations: 4.406 kB / 447.4 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.386e-05/0.1983, allocations: 7.938 kB / 447.4 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.1983, allocations: 4 kB / 447.4 MB, free: 448 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 (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 8.154e-05/0.1984, allocations: 129.8 kB / 447.5 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.975e-05/0.1984, allocations: 19.81 kB / 447.5 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.106e-05/0.1985, allocations: 13.41 kB / 447.6 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1985, allocations: 0 / 447.6 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1985, allocations: 3.984 kB / 447.6 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.1985, allocations: 3.938 kB / 447.6 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000401/0.1989, allocations: 395.3 kB / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1989, allocations: 0 / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.376e-05/0.199, allocations: 11.94 kB / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.199, allocations: 4 kB / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.199, allocations: 3.938 kB / 448 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.199, allocations: 0 / 448 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.199, allocations: 3.984 kB / 448 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.1992, allocations: 200.3 kB / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.1993, allocations: 88.92 kB / 448.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.1993, allocations: 7.938 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-05/0.1994, allocations: 4 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.1995, allocations: 11.92 kB / 448.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.1995, allocations: 4 kB / 448.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001164/0.1996, allocations: 153.1 kB / 448.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1996, allocations: 4 kB / 448.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.1999, allocations: 27.94 kB / 448.5 MB, free: 15.26 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 (8): * Single equations (assignments): 6 * 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.001081/0.201, allocations: 459.4 kB / 448.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001915/0.2012, allocations: 63.91 kB / 449 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2012, allocations: 0 / 449 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.368e-05/0.2013, allocations: 27.98 kB / 449 MB, free: 14.81 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.2016, allocations: 36.16 kB / 449 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004798/0.2021, allocations: 231.2 kB / 449.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.2024, allocations: 0.712 MB / 450 MB, free: 13.78 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.873e-05/0.2025, allocations: 16.88 kB / 450 MB, free: 13.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/0.2025, allocations: 15.44 kB / 450 MB, free: 13.75 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2025, allocations: 0 / 450 MB, free: 13.75 MB / 334.1 MB Notification: Performance of Templates: time 0.005001/0.2075, allocations: 1.691 MB / 451.7 MB, free: 12.07 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches