Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007608/0.0007611, allocations: 102 kB / 16.02 MB, free: 76 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.0009835/0.0009833, allocations: 185.2 kB / 16.92 MB, free: 6.918 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.942/1.942, allocations: 205.4 MB / 223.1 MB, free: 5.531 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.4828/0.4828, allocations: 43.58 MB / 315 MB, free: 9.062 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.0006137/0.0006136, allocations: 16 kB / 384.6 MB, free: 7.867 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1866, allocations: 58.86 MB / 443.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002511/0.1892, allocations: 1.382 MB / 444.8 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.1907, allocations: 0.7536 MB / 445.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.509e-05/0.1908, allocations: 0 / 445.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003654/0.1911, allocations: 55.8 kB / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.1913, allocations: 51.81 kB / 445.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.1916, allocations: 75.84 kB / 445.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.1918, allocations: 99.69 kB / 445.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.7e-05/0.1918, allocations: 15.92 kB / 445.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.325e-05/0.1919, allocations: 35.8 kB / 445.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.313e-05/0.192, allocations: 31.83 kB / 445.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.192, allocations: 0 / 445.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.612e-05/0.1921, allocations: 31.94 kB / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.209e-05/0.1922, allocations: 27.91 kB / 446 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.72e-05/0.1923, allocations: 61.38 kB / 446.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.1925, allocations: 107.9 kB / 446.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1925, allocations: 0 / 446.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1925, allocations: 3.938 kB / 446.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1925, allocations: 4 kB / 446.2 MB, free: 10.15 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006118/0.1931, allocations: 410.9 kB / 446.6 MB, free: 9.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.1932, allocations: 16.02 kB / 446.6 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.856e-05/0.1933, allocations: 12.75 kB / 446.6 MB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.1935, allocations: 219.7 kB / 446.8 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.1935, allocations: 4.375 kB / 446.8 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.1936, allocations: 8.109 kB / 446.8 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.1937, allocations: 45.69 kB / 446.9 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1937, allocations: 4 kB / 446.9 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1938, allocations: 0 / 446.9 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1938, allocations: 0 / 446.9 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.407e-05/0.1938, allocations: 15.98 kB / 446.9 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002347/0.1941, allocations: 193.7 kB / 447.1 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.1943, allocations: 50.56 kB / 447.1 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.447e-05/0.1943, allocations: 28.78 kB / 447.2 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.1944, allocations: 4 kB / 447.2 MB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.1946, allocations: 63.39 kB / 447.2 MB, free: 8.934 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.1946, allocations: 0 / 447.2 MB, free: 8.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000304/0.1949, allocations: 101.4 kB / 447.3 MB, free: 8.828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.195, allocations: 51.41 kB / 447.4 MB, free: 8.766 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.1952, allocations: 259.7 kB / 447.6 MB, free: 8.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.1952, allocations: 29.64 kB / 447.7 MB, free: 8.465 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.985e-05/0.1953, allocations: 112.1 kB / 447.8 MB, free: 8.352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.2e-05/0.1954, allocations: 19.88 kB / 447.8 MB, free: 8.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.1954, allocations: 9.719 kB / 447.8 MB, free: 8.316 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1956, allocations: 326.8 kB / 448.1 MB, free: 7.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.929e-05/0.1956, allocations: 15.98 kB / 448.1 MB, free: 7.973 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.106e-05/0.1957, allocations: 25.72 kB / 448.2 MB, free: 7.941 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.1958, allocations: 49.64 kB / 448.2 MB, free: 7.887 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1958, allocations: 0 / 448.2 MB, free: 7.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001501/0.196, allocations: 89.44 kB / 448.3 MB, free: 7.793 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.196, allocations: 4 kB / 448.3 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.196, allocations: 3.938 kB / 448.3 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.196, allocations: 4 kB / 448.3 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.001e-05/0.1961, allocations: 15.92 kB / 448.3 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1961, allocations: 4.344 kB / 448.3 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.728e-05/0.1962, allocations: 7.938 kB / 448.3 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.1962, allocations: 4 kB / 448.3 MB, free: 7.75 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 ($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 (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.0001212/0.1963, allocations: 137.8 kB / 448.5 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.1963, allocations: 15.81 kB / 448.5 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.064e-05/0.1964, allocations: 16.98 kB / 448.5 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1964, allocations: 0 / 448.5 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1964, allocations: 4 kB / 448.5 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.1964, allocations: 0 / 448.5 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.1966, allocations: 197.6 kB / 448.7 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1966, allocations: 0 / 448.7 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.915e-05/0.1966, allocations: 4 kB / 448.7 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.1966, allocations: 0 / 448.7 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.1967, allocations: 0 / 448.7 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1967, allocations: 0 / 448.7 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/0.1967, allocations: 3.984 kB / 448.7 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.1969, allocations: 116.8 kB / 448.8 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.192e-05/0.197, allocations: 96.91 kB / 448.9 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.197, allocations: 4 kB / 448.9 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.806e-05/0.1971, allocations: 4 kB / 448.9 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.1971, allocations: 3.984 kB / 448.9 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.1971, allocations: 4 kB / 448.9 MB, free: 7.055 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001792/0.1973, allocations: 207 kB / 449.1 MB, free: 6.852 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1973, allocations: 0 / 449.1 MB, free: 6.852 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002098/0.1975, allocations: 12 kB / 449.1 MB, free: 6.84 MB / 382.1 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.001043/0.1986, allocations: 425.2 kB / 449.6 MB, free: 6.449 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001575/0.1988, allocations: 43.91 kB / 449.6 MB, free: 6.406 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1988, allocations: 0 / 449.6 MB, free: 6.406 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.039e-05/0.1988, allocations: 19.98 kB / 449.6 MB, free: 6.387 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.1991, allocations: 35.89 kB / 449.7 MB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005233/0.1997, allocations: 281.9 kB / 449.9 MB, free: 6.051 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.2, allocations: 0.7199 MB / 450.7 MB, free: 5.305 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.074e-05/0.2, allocations: 12.55 kB / 450.7 MB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.2001, allocations: 15.44 kB / 450.7 MB, free: 5.281 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2001, allocations: 0 / 450.7 MB, free: 5.281 MB / 382.1 MB Notification: Performance of Templates: time 0.004406/0.2045, allocations: 1.416 MB / 452.1 MB, free: 3.871 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches