Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001105, allocations: 96.7 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000928/0.0009281, allocations: 170.2 kB / 16.57 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.185/2.185, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5543/0.5543, allocations: 43.57 MB / 314.6 MB, free: 8.777 MB / 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.0006118/0.0006121, allocations: 15.98 kB / 384 MB, free: 7.977 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1829, allocations: 58.86 MB / 442.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002873/0.1859, allocations: 1.391 MB / 444.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.1875, allocations: 0.7384 MB / 444.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.1876, allocations: 3.938 kB / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003785/0.188, allocations: 35.89 kB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.1883, allocations: 43.83 kB / 445 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.1887, allocations: 71.8 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.189, allocations: 87.69 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.1891, allocations: 20.19 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.1893, allocations: 35.8 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.819e-05/0.1894, allocations: 35.78 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1894, allocations: 0 / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.1895, allocations: 35.98 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.527e-05/0.1896, allocations: 19.92 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.597e-05/0.1897, allocations: 41.58 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.1899, allocations: 84.08 kB / 445.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1899, allocations: 4 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1899, allocations: 0 / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.1899, allocations: 0 / 445.5 MB, free: 10.34 MB / 382.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.0006743/0.1906, allocations: 402.8 kB / 445.9 MB, free: 9.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.1907, allocations: 8.031 kB / 445.9 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.593e-05/0.1907, allocations: 7.906 kB / 445.9 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.1911, allocations: 210.8 kB / 446.1 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.1911, allocations: 0 / 446.1 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.1911, allocations: 4 kB / 446.1 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.1913, allocations: 61.61 kB / 446.1 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1913, allocations: 0 / 446.1 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1914, allocations: 0 / 446.1 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.1914, allocations: 3.953 kB / 446.1 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.799e-05/0.1915, allocations: 19.98 kB / 446.2 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004883/0.192, allocations: 281 kB / 446.4 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.1922, allocations: 66.61 kB / 446.5 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.41e-05/0.1922, allocations: 16.86 kB / 446.5 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.1923, allocations: 0 / 446.5 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/0.1925, allocations: 83.22 kB / 446.6 MB, free: 9.035 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1925, allocations: 0 / 446.6 MB, free: 9.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000638/0.1932, allocations: 161.3 kB / 446.8 MB, free: 8.871 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.1932, allocations: 55.41 kB / 446.8 MB, free: 8.805 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.1934, allocations: 186.1 kB / 447 MB, free: 8.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.1935, allocations: 29.7 kB / 447 MB, free: 8.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.627e-05/0.1936, allocations: 104.1 kB / 447.1 MB, free: 8.473 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.1936, allocations: 19.72 kB / 447.1 MB, free: 8.453 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.1936, allocations: 4 kB / 447.1 MB, free: 8.449 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1938, allocations: 318.8 kB / 447.5 MB, free: 8.129 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.018e-05/0.1938, allocations: 27.98 kB / 447.5 MB, free: 8.102 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.768e-05/0.1939, allocations: 37.64 kB / 447.5 MB, free: 8.059 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.373e-05/0.194, allocations: 24.06 kB / 447.5 MB, free: 8.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.194, allocations: 4 kB / 447.5 MB, free: 8.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001873/0.1942, allocations: 109.5 kB / 447.7 MB, free: 7.918 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.1942, allocations: 4 kB / 447.7 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.1942, allocations: 192 / 447.7 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1943, allocations: 4 kB / 447.7 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.1944, allocations: 23.95 kB / 447.7 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.1944, allocations: 0 / 447.7 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.1945, allocations: 4 kB / 447.7 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1945, allocations: 0 / 447.7 MB, free: 7.883 MB / 382.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.1946, allocations: 129.8 kB / 447.8 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.1946, allocations: 15.84 kB / 447.8 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.993e-05/0.1947, allocations: 16.66 kB / 447.8 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1947, allocations: 4 kB / 447.9 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1947, allocations: 4 kB / 447.9 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1947, allocations: 0 / 447.9 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004992/0.1952, allocations: 391.2 kB / 448.2 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1952, allocations: 0 / 448.2 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.929e-05/0.1953, allocations: 15.92 kB / 448.3 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1953, allocations: 3.984 kB / 448.3 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.1953, allocations: 4 kB / 448.3 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1953, allocations: 0 / 448.3 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1953, allocations: 4.406 kB / 448.3 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.1956, allocations: 200.3 kB / 448.5 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-05/0.1957, allocations: 96.86 kB / 448.6 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.1957, allocations: 8 kB / 448.6 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/0.1958, allocations: 4 kB / 448.6 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.1958, allocations: 7.984 kB / 448.6 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.1959, allocations: 8 kB / 448.6 MB, free: 6.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.196, allocations: 148 kB / 448.7 MB, free: 6.742 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.196, allocations: 0 / 448.7 MB, free: 6.742 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002776/0.1963, allocations: 24 kB / 448.8 MB, free: 6.719 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001147/0.1974, allocations: 468.5 kB / 449.2 MB, free: 6.293 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.1976, allocations: 55.91 kB / 449.3 MB, free: 6.238 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1977, allocations: 0 / 449.3 MB, free: 6.238 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.098e-05/0.1977, allocations: 28.16 kB / 449.3 MB, free: 6.211 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.1981, allocations: 28.11 kB / 449.3 MB, free: 6.184 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005332/0.1986, allocations: 238.4 kB / 449.6 MB, free: 5.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004654/0.1991, allocations: 0.7043 MB / 450.3 MB, free: 5.191 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.257e-05/0.1992, allocations: 16.88 kB / 450.3 MB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.1992, allocations: 15.44 kB / 450.3 MB, free: 5.156 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1993, allocations: 0 / 450.3 MB, free: 5.156 MB / 382.1 MB Notification: Performance of Templates: time 0.005131/0.2044, allocations: 1.592 MB / 451.9 MB, free: 3.566 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches