Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,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.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 104.2 kB / 17.03 MB, free: 6.129 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.001557/0.001557, allocations: 196.1 kB / 17.96 MB, free: 5.215 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.788/1.788, 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.2872/0.2872, allocations: 43.54 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.001536/0.001537, allocations: 66.92 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1773, allocations: 57.8 MB / 442 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.004965/0.1823, allocations: 1.693 MB / 443.7 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.1842, allocations: 0.8 MB / 444.5 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/0.1845, allocations: 0 / 444.5 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005091/0.185, allocations: 47.81 kB / 444.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004323/0.1855, allocations: 63.69 kB / 444.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.186, allocations: 83.77 kB / 444.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002599/0.1862, allocations: 91.69 kB / 444.7 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.1864, allocations: 16.23 kB / 444.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.1865, allocations: 39.78 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.1867, allocations: 31.84 kB / 444.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.282e-05/0.1867, allocations: 4 kB / 444.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.1869, allocations: 47.92 kB / 444.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.187, allocations: 19.92 kB / 444.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.732e-05/0.1871, allocations: 35.73 kB / 444.9 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003392/0.1875, allocations: 127.5 kB / 445.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.1875, allocations: 0 / 445.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1875, allocations: 4 kB / 445.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1875, allocations: 0 / 445.1 MB, free: 3.016 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.0007805/0.1883, allocations: 426.8 kB / 445.5 MB, free: 2.551 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.389e-05/0.1884, allocations: 11.89 kB / 445.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.94e-05/0.1885, allocations: 8.844 kB / 445.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.189, allocations: 219.8 kB / 445.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.189, allocations: 4.375 kB / 445.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.189, allocations: 12.11 kB / 445.7 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.1893, allocations: 53.67 kB / 445.8 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.1893, allocations: 4 kB / 445.8 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.1893, allocations: 4 kB / 445.8 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.1893, allocations: 0 / 445.8 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.551e-05/0.1894, allocations: 15.98 kB / 445.8 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/0.1899, allocations: 292.8 kB / 446.1 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.1901, allocations: 62.67 kB / 446.2 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.643e-05/0.1902, allocations: 20.8 kB / 446.2 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.1903, allocations: 7.984 kB / 446.2 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/0.1904, allocations: 67.33 kB / 446.3 MB, free: 1.664 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1905, allocations: 0 / 446.3 MB, free: 1.664 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006582/0.1911, allocations: 169.2 kB / 446.4 MB, free: 1.492 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.1912, allocations: 63.33 kB / 446.5 MB, free: 1.418 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.1914, allocations: 222.7 kB / 446.7 MB, free: 1.188 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.1914, allocations: 29.7 kB / 446.7 MB, free: 1.152 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.1915, allocations: 108.1 kB / 446.8 MB, free: 1.043 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.1915, allocations: 27.64 kB / 446.9 MB, free: 1.016 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.1916, allocations: 21.72 kB / 446.9 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1917, allocations: 330.8 kB / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.626e-05/0.1918, allocations: 19.98 kB / 447.2 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.688e-05/0.1918, allocations: 37.7 kB / 447.3 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.192, allocations: 62.09 kB / 447.3 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.192, allocations: 0 / 447.3 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001723/0.1922, allocations: 105.5 kB / 447.4 MB, free: 428 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.1922, allocations: 4 kB / 447.4 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.1922, allocations: 4 kB / 447.4 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.1922, allocations: 8.031 kB / 447.4 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.785e-05/0.1923, allocations: 23.92 kB / 447.5 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1923, allocations: 0 / 447.5 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.8e-05/0.1924, allocations: 7.938 kB / 447.5 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.1924, allocations: 0 / 447.5 MB, free: 380 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 9.663e-05/0.1925, allocations: 133.8 kB / 447.6 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.1925, allocations: 15.84 kB / 447.6 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.523e-05/0.1926, allocations: 17.39 kB / 447.6 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1926, allocations: 4 kB / 447.6 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1926, allocations: 4 kB / 447.6 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.1926, allocations: 3.938 kB / 447.6 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005207/0.1932, allocations: 395.2 kB / 448 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1932, allocations: 0 / 448 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-05/0.1932, allocations: 11.98 kB / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1932, allocations: 0 / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.1932, allocations: 11.94 kB / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1933, allocations: 0 / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.1933, allocations: 8.156 kB / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.1935, allocations: 192.3 kB / 448.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.1936, allocations: 92.86 kB / 448.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.1936, allocations: 15.92 kB / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.487e-05/0.1937, allocations: 0 / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.245e-05/0.1938, allocations: 4 kB / 448.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.1938, allocations: 11.98 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001677/0.194, allocations: 167.2 kB / 448.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.194, allocations: 0 / 448.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.1943, allocations: 20 kB / 448.6 MB, free: 15.18 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.001401/0.1957, allocations: 482.9 kB / 449 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000231/0.1959, allocations: 47.98 kB / 449.1 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1959, allocations: 0 / 449.1 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.375e-05/0.196, allocations: 35.92 kB / 449.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.1965, allocations: 36.22 kB / 449.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007375/0.1972, allocations: 251.2 kB / 449.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006382/0.1979, allocations: 0.708 MB / 450.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.824e-05/0.1979, allocations: 12.88 kB / 450.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/0.198, allocations: 15.44 kB / 450.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of SimCode: time 4.7e-07/0.198, allocations: 0 / 450.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of Templates: time 0.00631/0.2043, allocations: 1.71 MB / 451.8 MB, free: 11.94 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches