Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008637/0.0008637, allocations: 176.2 kB / 16.07 MB, free: 5.602 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.6 MB / 222.4 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007975/0.0007976, allocations: 96.02 kB / 270.8 MB, free: 8.113 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3818/0.3818, allocations: 43.68 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005028/0.0005029, allocations: 12 kB / 432.3 MB, free: 5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1804, allocations: 58.85 MB / 491.2 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.0032/0.1837, allocations: 1.365 MB / 492.5 MB, free: 8.645 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002308/0.186, allocations: 0.8187 MB / 493.4 MB, free: 7.801 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1862, allocations: 0 / 493.4 MB, free: 7.801 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000439/0.1866, allocations: 47.86 kB / 493.4 MB, free: 7.754 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000369/0.187, allocations: 55.77 kB / 493.5 MB, free: 7.699 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004161/0.1875, allocations: 71.91 kB / 493.5 MB, free: 7.629 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.1877, allocations: 95.62 kB / 493.6 MB, free: 7.535 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.969e-05/0.1878, allocations: 7.984 kB / 493.6 MB, free: 7.527 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.188, allocations: 43.78 kB / 493.7 MB, free: 7.484 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.1881, allocations: 27.86 kB / 493.7 MB, free: 7.457 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.1881, allocations: 0 / 493.7 MB, free: 7.457 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.1882, allocations: 27.98 kB / 493.7 MB, free: 7.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.149e-05/0.1883, allocations: 27.84 kB / 493.7 MB, free: 7.402 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.77e-05/0.1885, allocations: 61.39 kB / 493.8 MB, free: 7.336 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.1887, allocations: 115.9 kB / 493.9 MB, free: 7.223 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1887, allocations: 0 / 493.9 MB, free: 7.223 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1888, allocations: 0 / 493.9 MB, free: 7.223 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.1888, allocations: 0 / 493.9 MB, free: 7.223 MB / 378.7 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.0007361/0.1895, allocations: 422.5 kB / 494.3 MB, free: 6.766 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.1896, allocations: 8.031 kB / 494.3 MB, free: 6.758 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.824e-05/0.1897, allocations: 20.75 kB / 494.4 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.19, allocations: 215.8 kB / 494.6 MB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.19, allocations: 12.3 kB / 494.6 MB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.19, allocations: 8.125 kB / 494.6 MB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.1902, allocations: 41.69 kB / 494.6 MB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1902, allocations: 0 / 494.6 MB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.1903, allocations: 3.984 kB / 494.6 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.1903, allocations: 4 kB / 494.6 MB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.471e-05/0.1904, allocations: 12 kB / 494.7 MB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000273/0.1907, allocations: 189.7 kB / 494.8 MB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/0.191, allocations: 54.56 kB / 494.9 MB, free: 6.105 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.256e-05/0.1911, allocations: 24.78 kB / 494.9 MB, free: 6.078 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.1911, allocations: 0 / 494.9 MB, free: 6.078 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.1914, allocations: 63.39 kB / 495 MB, free: 6.004 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.894e-06/0.1914, allocations: 4 kB / 495 MB, free: 6 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003906/0.1918, allocations: 101.4 kB / 495.1 MB, free: 5.895 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.1918, allocations: 51.41 kB / 495.1 MB, free: 5.832 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003695/0.1922, allocations: 255.7 kB / 495.4 MB, free: 5.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.1923, allocations: 25.7 kB / 495.4 MB, free: 5.539 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.715e-05/0.1924, allocations: 112.1 kB / 495.5 MB, free: 5.426 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.753e-05/0.1924, allocations: 19.83 kB / 495.5 MB, free: 5.406 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.1924, allocations: 3.938 kB / 495.5 MB, free: 5.402 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1926, allocations: 326.8 kB / 495.9 MB, free: 5.074 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.689e-05/0.1927, allocations: 16 kB / 495.9 MB, free: 5.059 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.599e-05/0.1928, allocations: 29.69 kB / 495.9 MB, free: 5.023 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.193, allocations: 45.7 kB / 495.9 MB, free: 4.973 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.193, allocations: 0 / 495.9 MB, free: 4.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002539/0.1933, allocations: 85.38 kB / 496 MB, free: 4.883 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.1933, allocations: 8 kB / 496 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.1933, allocations: 3.984 kB / 496 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1933, allocations: 4.031 kB / 496 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.1935, allocations: 11.98 kB / 496.1 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.1935, allocations: 7.938 kB / 496.1 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.075e-05/0.1936, allocations: 7.938 kB / 496.1 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.1936, allocations: 4 kB / 496.1 MB, free: 4.836 MB / 378.7 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 (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.0001535/0.1938, allocations: 129.8 kB / 496.2 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.1938, allocations: 15.81 kB / 496.2 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.365e-05/0.1939, allocations: 20.98 kB / 496.2 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1939, allocations: 4 kB / 496.2 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.194, allocations: 320 / 496.2 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.194, allocations: 0 / 496.2 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.1942, allocations: 205.5 kB / 496.4 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1942, allocations: 0 / 496.4 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.037e-05/0.1943, allocations: 4 kB / 496.4 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1943, allocations: 0 / 496.4 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.1943, allocations: 4 kB / 496.5 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1943, allocations: 0 / 496.5 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1943, allocations: 0 / 496.5 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.1946, allocations: 120.8 kB / 496.6 MB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-05/0.1947, allocations: 92.91 kB / 496.7 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.1948, allocations: 4 kB / 496.7 MB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.345e-05/0.1949, allocations: 0 / 496.7 MB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.1949, allocations: 11.98 kB / 496.7 MB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.195, allocations: 0 / 496.7 MB, free: 4.137 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002644/0.1952, allocations: 199 kB / 496.9 MB, free: 3.941 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.066e-06/0.1953, allocations: 0 / 496.9 MB, free: 3.941 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003533/0.1956, allocations: 23.94 kB / 496.9 MB, free: 3.918 MB / 378.7 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.001471/0.1971, allocations: 461.2 kB / 497.3 MB, free: 3.582 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.1973, allocations: 43.91 kB / 497.4 MB, free: 3.539 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1974, allocations: 4 kB / 497.4 MB, free: 3.535 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.697e-05/0.1975, allocations: 12 kB / 497.4 MB, free: 3.523 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.1979, allocations: 39.3 kB / 497.4 MB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006895/0.1986, allocations: 281.9 kB / 497.7 MB, free: 3.188 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.199, allocations: 0.7121 MB / 498.4 MB, free: 2.449 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.063e-05/0.1991, allocations: 16.64 kB / 498.4 MB, free: 2.434 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.768e-05/0.1992, allocations: 23.42 kB / 498.5 MB, free: 2.414 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.1992, allocations: 0 / 498.5 MB, free: 2.414 MB / 378.7 MB Notification: Performance of Templates: time 0.00689/0.2061, allocations: 1.439 MB / 499.9 MB, free: 0.9805 MB / 378.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches