Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 108.3 kB / 18.41 MB, free: 4.566 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.001542/0.001542, allocations: 187 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 243 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1996/0.1996, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 68.86 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1862, allocations: 60.82 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.004278/0.1905, allocations: 1.907 MB / 472.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.1921, allocations: 0.9197 MB / 473.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.1923, allocations: 4 kB / 473.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.1926, allocations: 39.7 kB / 473.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002409/0.1929, allocations: 55.7 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.1932, allocations: 131.6 kB / 473.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000224/0.1935, allocations: 139.5 kB / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.1936, allocations: 29.42 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.1937, allocations: 55.77 kB / 474 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.1938, allocations: 47.72 kB / 474 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.1939, allocations: 8 kB / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.194, allocations: 47.97 kB / 474.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.267e-05/0.194, allocations: 23.92 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.325e-05/0.1941, allocations: 51.61 kB / 474.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.1944, allocations: 159.4 kB / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.1944, allocations: 0 / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1944, allocations: 0 / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1944, allocations: 0 / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000686/0.1951, allocations: 480.5 kB / 474.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1951, allocations: 8.031 kB / 474.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.323e-05/0.1952, allocations: 16.75 kB / 474.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.1955, allocations: 231.9 kB / 475 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.1956, allocations: 384 / 475 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/0.1956, allocations: 20.11 kB / 475.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.1958, allocations: 102.2 kB / 475.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1959, allocations: 0 / 475.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.1959, allocations: 4 kB / 475.2 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.1959, allocations: 4 kB / 475.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.1961, allocations: 51.91 kB / 475.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000681/0.1967, allocations: 0.5087 MB / 475.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/0.1971, allocations: 82.67 kB / 475.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.577e-05/0.1972, allocations: 40.83 kB / 475.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.1972, allocations: 4 kB / 475.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/0.1974, allocations: 83.31 kB / 475.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.1974, allocations: 0 / 475.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003928/0.1978, allocations: 145.4 kB / 476.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.1979, allocations: 59.34 kB / 476.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.1981, allocations: 187.5 kB / 476.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.1981, allocations: 29.7 kB / 476.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.702e-05/0.1982, allocations: 116 kB / 476.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.1982, allocations: 27.61 kB / 476.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.527e-05/0.1983, allocations: 25.72 kB / 476.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1984, allocations: 331.2 kB / 476.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.662e-05/0.1985, allocations: 27.98 kB / 476.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.1986, allocations: 68.39 kB / 476.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.1988, allocations: 100.1 kB / 477 MB, free: 7.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1988, allocations: 0 / 477 MB, free: 7.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000253/0.1991, allocations: 141.3 kB / 477.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1991, allocations: 8 kB / 477.2 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1991, allocations: 0 / 477.2 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.1992, allocations: 12.12 kB / 477.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.1993, allocations: 23.92 kB / 477.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.1993, allocations: 11.92 kB / 477.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.561e-05/0.1994, allocations: 11.92 kB / 477.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.1994, allocations: 4 kB / 477.2 MB, free: 6.824 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001148/0.1995, allocations: 121.8 kB / 477.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.1996, allocations: 15.81 kB / 477.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.707e-05/0.1996, allocations: 21.39 kB / 477.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1996, allocations: 7.938 kB / 477.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1996, allocations: 0 / 477.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1996, allocations: 0 / 477.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.1998, allocations: 209.6 kB / 477.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1998, allocations: 4 kB / 477.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.07e-05/0.1999, allocations: 11.98 kB / 477.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1999, allocations: 3.938 kB / 477.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.1999, allocations: 4 kB / 477.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1999, allocations: 3.938 kB / 477.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2, allocations: 0 / 477.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.2003, allocations: 184.9 kB / 477.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.84e-05/0.2004, allocations: 96.88 kB / 477.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.2004, allocations: 4 kB / 477.9 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.899e-05/0.2005, allocations: 7.938 kB / 477.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.2005, allocations: 7.984 kB / 477.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.2006, allocations: 4 kB / 477.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.2007, allocations: 145.3 kB / 478.1 MB, free: 5.895 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2007, allocations: 0 / 478.1 MB, free: 5.895 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002282/0.2009, allocations: 24 kB / 478.1 MB, free: 5.871 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0009519/0.2019, allocations: 413.9 kB / 478.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002467/0.2021, allocations: 83.83 kB / 478.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2022, allocations: 0 / 478.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.537e-05/0.2023, allocations: 40.23 kB / 478.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.2026, allocations: 33.66 kB / 478.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007053/0.2033, allocations: 271.8 kB / 478.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.2037, allocations: 0.7084 MB / 479.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.535e-05/0.2038, allocations: 21.42 kB / 479.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/0.2039, allocations: 19.42 kB / 479.7 MB, free: 4.398 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2039, allocations: 0 / 479.7 MB, free: 4.398 MB / 350.1 MB Notification: Performance of Templates: time 0.006149/0.21, allocations: 1.893 MB / 481.6 MB, free: 2.523 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches