Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008339/0.0008341, allocations: 98.47 kB / 17 MB, free: 6.398 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.0008056/0.0008056, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.622/1.622, allocations: 223.3 MB / 241.9 MB, free: 236 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.23/0.23, allocations: 44.25 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006109/0.0006114, allocations: 8 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1812, allocations: 61.94 MB / 471.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002728/0.184, allocations: 1.468 MB / 473.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.1856, allocations: 0.8855 MB / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.148e-05/0.1857, allocations: 3.938 kB / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005489/0.1863, allocations: 299.4 kB / 474.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.1866, allocations: 183.5 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.187, allocations: 147.2 kB / 474.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.1873, allocations: 211.4 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.786e-05/0.1874, allocations: 13.55 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.1876, allocations: 115.6 kB / 474.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.1878, allocations: 159.6 kB / 475.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.1878, allocations: 4 kB / 475.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.912e-05/0.1879, allocations: 31.94 kB / 475.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.1881, allocations: 139.6 kB / 475.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.561e-05/0.1882, allocations: 81.44 kB / 475.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.1885, allocations: 275.8 kB / 475.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.1885, allocations: 4 kB / 475.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.1885, allocations: 0 / 475.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1885, allocations: 0 / 475.6 MB, free: 9.664 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001073/0.1896, allocations: 0.6687 MB / 476.3 MB, free: 8.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.1897, allocations: 8.562 kB / 476.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.339e-05/0.1898, allocations: 47.44 kB / 476.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005957/0.1904, allocations: 430.9 kB / 476.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.1904, allocations: 3.984 kB / 476.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.1905, allocations: 8 kB / 476.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.1907, allocations: 83.33 kB / 476.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.1908, allocations: 0 / 476.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.1908, allocations: 4 kB / 476.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.1908, allocations: 3.984 kB / 476.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.1909, allocations: 31.92 kB / 476.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005185/0.1915, allocations: 374.4 kB / 477.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.1917, allocations: 101.2 kB / 477.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.1919, allocations: 37.7 kB / 477.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.1919, allocations: 11.98 kB / 477.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003054/0.1922, allocations: 113 kB / 477.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.1922, allocations: 0 / 477.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005202/0.1927, allocations: 201.3 kB / 477.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.126e-05/0.1928, allocations: 77.11 kB / 477.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.194, allocations: 1.046 MB / 478.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.1941, allocations: 29.7 kB / 478.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.1943, allocations: 228.1 kB / 479.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.345e-05/0.1944, allocations: 35.62 kB / 479.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/0.1944, allocations: 0 / 479.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.1946, allocations: 366.8 kB / 479.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.828e-05/0.1947, allocations: 27.98 kB / 479.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.734e-05/0.1948, allocations: 59.41 kB / 479.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.776e-05/0.1949, allocations: 31.98 kB / 479.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1949, allocations: 0 / 479.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003069/0.1952, allocations: 168.9 kB / 479.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.1952, allocations: 11.95 kB / 479.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1952, allocations: 0 / 479.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1953, allocations: 4.062 kB / 479.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.1954, allocations: 23.98 kB / 479.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1954, allocations: 0 / 479.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.928e-05/0.1955, allocations: 11.91 kB / 479.8 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.1956, allocations: 11.98 kB / 479.8 MB, free: 5.188 MB / 350.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 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002545/0.1958, allocations: 221.6 kB / 480 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.1959, allocations: 47.44 kB / 480.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.065e-05/0.196, allocations: 63.95 kB / 480.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.196, allocations: 7.984 kB / 480.1 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.196, allocations: 0 / 480.1 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.196, allocations: 4 kB / 480.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.1963, allocations: 333.4 kB / 480.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1964, allocations: 0 / 480.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.712e-05/0.1964, allocations: 11.98 kB / 480.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1964, allocations: 0 / 480.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.1964, allocations: 8 kB / 480.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1964, allocations: 4.203 kB / 480.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.1964, allocations: 4 kB / 480.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.1968, allocations: 205.2 kB / 480.7 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.1969, allocations: 144.4 kB / 480.8 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.023e-05/0.197, allocations: 0 / 480.8 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.676e-05/0.197, allocations: 7.984 kB / 480.8 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.1971, allocations: 15.94 kB / 480.9 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.1971, allocations: 4 kB / 480.9 MB, free: 4.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007785/0.1979, allocations: 0.776 MB / 481.6 MB, free: 3.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1979, allocations: 0 / 481.6 MB, free: 3.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.1982, allocations: 44 kB / 481.7 MB, free: 3.207 MB / 350.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00108/0.1993, allocations: 418.4 kB / 482.1 MB, free: 2.953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002646/0.1996, allocations: 87.83 kB / 482.2 MB, free: 2.867 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1996, allocations: 0 / 482.2 MB, free: 2.867 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.1997, allocations: 48.05 kB / 482.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.2001, allocations: 70.17 kB / 482.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.2017, allocations: 0.9088 MB / 483.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005753/0.2023, allocations: 0.8351 MB / 484 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001451/0.2025, allocations: 50.95 kB / 484.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.468e-05/0.2025, allocations: 35.44 kB / 484.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2025, allocations: 0 / 484.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of Templates: time 0.007832/0.2104, allocations: 3.388 MB / 487.5 MB, free: 13.5 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches