Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 108.4 kB / 17.04 MB, free: 5.797 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.00174/0.00174, allocations: 195 kB / 17.98 MB, free: 5.016 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.748/1.748, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.257/0.257, allocations: 43.51 MB / 314.7 MB, free: 484 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.001426/0.001426, allocations: 71.81 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1834, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003084/0.1865, allocations: 1.655 MB / 443.6 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.1878, allocations: 0.7867 MB / 444.4 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.188, allocations: 3.938 kB / 444.4 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000384/0.1884, allocations: 47.8 kB / 444.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.1886, allocations: 59.77 kB / 444.5 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.1889, allocations: 91.69 kB / 444.6 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.189, allocations: 87.7 kB / 444.7 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.034e-05/0.1891, allocations: 4 kB / 444.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.907e-05/0.1892, allocations: 43.77 kB / 444.7 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.254e-05/0.1893, allocations: 27.86 kB / 444.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.1893, allocations: 4 kB / 444.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.09e-05/0.1894, allocations: 23.98 kB / 444.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.247e-05/0.1895, allocations: 31.91 kB / 444.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.753e-05/0.1895, allocations: 35.69 kB / 444.9 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.1898, allocations: 127.5 kB / 445 MB, free: 3.105 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1898, allocations: 0 / 445 MB, free: 3.105 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1898, allocations: 0 / 445 MB, free: 3.105 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.1898, allocations: 0 / 445 MB, free: 3.105 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006073/0.1904, allocations: 434.7 kB / 445.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1905, allocations: 11.89 kB / 445.4 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.368e-05/0.1905, allocations: 8.844 kB / 445.4 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.1908, allocations: 219.7 kB / 445.7 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.1908, allocations: 384 / 445.7 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.1909, allocations: 12.12 kB / 445.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.191, allocations: 49.67 kB / 445.7 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.191, allocations: 3.938 kB / 445.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.1911, allocations: 4 kB / 445.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1911, allocations: 0 / 445.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.922e-05/0.1911, allocations: 19.97 kB / 445.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001896/0.1913, allocations: 189.7 kB / 445.9 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.1915, allocations: 54.62 kB / 446 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.204e-05/0.1916, allocations: 24.78 kB / 446 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.1916, allocations: 0 / 446 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.1918, allocations: 71.23 kB / 446.1 MB, free: 1.859 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1918, allocations: 3.938 kB / 446.1 MB, free: 1.855 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003351/0.1921, allocations: 93.58 kB / 446.2 MB, free: 1.758 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.1922, allocations: 55.41 kB / 446.2 MB, free: 1.691 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.1924, allocations: 258.5 kB / 446.5 MB, free: 1.422 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.1925, allocations: 29.7 kB / 446.5 MB, free: 1.387 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.1925, allocations: 108.1 kB / 446.6 MB, free: 1.277 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.1926, allocations: 15.75 kB / 446.6 MB, free: 1.262 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.1926, allocations: 21.7 kB / 446.6 MB, free: 1.234 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1927, allocations: 326.8 kB / 447 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.941e-05/0.1928, allocations: 23.88 kB / 447 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.951e-05/0.1929, allocations: 29.7 kB / 447 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.907e-05/0.193, allocations: 41.7 kB / 447.1 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.193, allocations: 0 / 447.1 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001444/0.1931, allocations: 89.38 kB / 447.1 MB, free: 0.707 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.1932, allocations: 5.25 kB / 447.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1932, allocations: 4 kB / 447.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.1932, allocations: 4.031 kB / 447.2 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.351e-05/0.1933, allocations: 15.98 kB / 447.2 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.1933, allocations: 0 / 447.2 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.431e-05/0.1934, allocations: 4 kB / 447.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.1934, allocations: 0 / 447.2 MB, free: 0.6758 MB / 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 (7): * Single equations (assignments): 7 * 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.0001214/0.1935, allocations: 145.6 kB / 447.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.1935, allocations: 15.81 kB / 447.3 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.15e-05/0.1936, allocations: 17.3 kB / 447.4 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1936, allocations: 4 kB / 447.4 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.1936, allocations: 4 kB / 447.4 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.1936, allocations: 4 kB / 447.4 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.1938, allocations: 193.6 kB / 447.6 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1938, allocations: 0 / 447.6 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.825e-05/0.1938, allocations: 4 kB / 447.6 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.1938, allocations: 0 / 447.6 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1938, allocations: 0 / 447.6 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1938, allocations: 4 kB / 447.6 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1938, allocations: 0 / 447.6 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.194, allocations: 116.9 kB / 447.7 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.1941, allocations: 85.02 kB / 447.8 MB, free: 0 / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.1942, allocations: 4.109 kB / 447.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.064e-05/0.1942, allocations: 7.938 kB / 447.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.1943, allocations: 7.938 kB / 447.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.1943, allocations: 4 kB / 447.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002236/0.1945, allocations: 192.5 kB / 448 MB, free: 15.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1945, allocations: 4 kB / 448 MB, free: 15.78 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.1948, allocations: 20 kB / 448 MB, free: 15.76 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001194/0.196, allocations: 419.7 kB / 448.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001758/0.1962, allocations: 39.98 kB / 448.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1962, allocations: 0 / 448.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.908e-05/0.1963, allocations: 23.92 kB / 448.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.1966, allocations: 31.86 kB / 448.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006567/0.1973, allocations: 262.7 kB / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.1976, allocations: 0.7119 MB / 449.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.441e-05/0.1977, allocations: 8.547 kB / 449.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.1977, allocations: 23.42 kB / 449.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1977, allocations: 0 / 449.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of Templates: time 0.005239/0.203, allocations: 1.497 MB / 451 MB, free: 12.81 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches