Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 112.6 kB / 17.04 MB, free: 6.074 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.001218/0.001218, allocations: 195 kB / 17.97 MB, free: 5.16 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.671/1.671, 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.2619/0.2619, allocations: 43.52 MB / 314.7 MB, free: 488 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.001579/0.001579, allocations: 66.58 kB / 384.2 MB, free: 56.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1763, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.004873/0.1813, allocations: 1.844 MB / 443.8 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.183, allocations: 0.8858 MB / 444.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.1832, allocations: 4 kB / 444.7 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006181/0.1838, allocations: 223.4 kB / 444.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003591/0.1842, allocations: 171.4 kB / 445.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.1846, allocations: 147.2 kB / 445.2 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000307/0.1849, allocations: 227.3 kB / 445.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.1851, allocations: 21.56 kB / 445.5 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.1852, allocations: 115.6 kB / 445.6 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.1854, allocations: 143.5 kB / 445.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/0.1855, allocations: 8 kB / 445.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.1856, allocations: 47.98 kB / 445.8 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.79e-05/0.1857, allocations: 51.83 kB / 445.8 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.1858, allocations: 83.3 kB / 445.9 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.1862, allocations: 219.2 kB / 446.1 MB, free: 1.977 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1862, allocations: 0 / 446.1 MB, free: 1.977 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1862, allocations: 0 / 446.1 MB, free: 1.977 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.1862, allocations: 0 / 446.1 MB, free: 1.977 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007975/0.187, allocations: 0.533 MB / 446.7 MB, free: 1.395 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.1871, allocations: 15.89 kB / 446.7 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.768e-05/0.1872, allocations: 32.58 kB / 446.7 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004134/0.1876, allocations: 284 kB / 447 MB, free: 1.031 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.1876, allocations: 4.375 kB / 447 MB, free: 1.027 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.1877, allocations: 12.12 kB / 447 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.1879, allocations: 103.3 kB / 447.1 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.1879, allocations: 0 / 447.1 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.188, allocations: 3.984 kB / 447.1 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.188, allocations: 4 kB / 447.1 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.1881, allocations: 39.91 kB / 447.2 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000533/0.1886, allocations: 445 kB / 447.6 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.1889, allocations: 113.3 kB / 447.7 MB, free: 244 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.473e-05/0.189, allocations: 45.7 kB / 447.8 MB, free: 192 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.189, allocations: 0 / 447.8 MB, free: 192 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.1893, allocations: 124.8 kB / 447.9 MB, free: 48 kB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.1893, allocations: 0 / 447.9 MB, free: 48 kB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001006/0.1903, allocations: 372.5 kB / 448.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.887e-05/0.1904, allocations: 81.05 kB / 448.3 MB, free: 15.58 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005143/0.1909, allocations: 428.5 kB / 448.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.1909, allocations: 29.7 kB / 448.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.1911, allocations: 156.3 kB / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.018e-05/0.1911, allocations: 51.28 kB / 449 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.34e-05/0.1912, allocations: 37.7 kB / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1914, allocations: 342.8 kB / 449.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.1915, allocations: 43.94 kB / 449.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.1916, allocations: 68.61 kB / 449.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.1919, allocations: 127.5 kB / 449.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1919, allocations: 0 / 449.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003584/0.1923, allocations: 181.2 kB / 449.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.1923, allocations: 11.98 kB / 449.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1923, allocations: 0 / 449.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.1924, allocations: 0 / 449.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.1925, allocations: 31.98 kB / 449.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.1925, allocations: 3.938 kB / 449.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.477e-05/0.1926, allocations: 4 kB / 449.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.1926, allocations: 16.06 kB / 449.8 MB, free: 14.01 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001629/0.1928, allocations: 161.7 kB / 450 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.1929, allocations: 27.62 kB / 450 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.389e-05/0.193, allocations: 42.61 kB / 450 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.193, allocations: 4 kB / 450 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.193, allocations: 3.938 kB / 450 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.193, allocations: 0 / 450 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008082/0.1938, allocations: 0.6323 MB / 450.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1938, allocations: 7.875 kB / 450.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-05/0.1939, allocations: 16 kB / 450.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1939, allocations: 4 kB / 450.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.1939, allocations: 3.984 kB / 450.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1939, allocations: 7.938 kB / 450.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1939, allocations: 0 / 450.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004326/0.1944, allocations: 376.1 kB / 451.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.441e-05/0.1945, allocations: 96.83 kB / 451.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.1945, allocations: 4 kB / 451.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.1947, allocations: 11.98 kB / 451.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.364e-05/0.1947, allocations: 15.92 kB / 451.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.1948, allocations: 12 kB / 451.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003165/0.1951, allocations: 315 kB / 451.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1951, allocations: 4 kB / 451.5 MB, free: 12.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003531/0.1955, allocations: 39.98 kB / 451.6 MB, free: 12.13 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00132/0.1968, allocations: 466.6 kB / 452 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003281/0.1971, allocations: 115.8 kB / 452.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1971, allocations: 0 / 452.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.1973, allocations: 59.91 kB / 452.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005611/0.1979, allocations: 75.14 kB / 452.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008778/0.1987, allocations: 494.2 kB / 452.8 MB, free: 11 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.1992, allocations: 0.7632 MB / 453.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.904e-05/0.1993, allocations: 34.55 kB / 453.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.563e-05/0.1993, allocations: 27.44 kB / 453.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1994, allocations: 0 / 453.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of Templates: time 0.007769/0.2071, allocations: 2.728 MB / 456.3 MB, free: 7.434 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches