Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002394/0.002394, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001143/0.001142, allocations: 94.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2907/0.2907, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007084/0.0007087, allocations: 15.98 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1814, allocations: 58.86 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003968/0.1855, allocations: 1.379 MB / 491.6 MB, free: 7.949 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002987/0.1885, allocations: 0.7345 MB / 492.3 MB, free: 7.207 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.1888, allocations: 7.938 kB / 492.3 MB, free: 7.199 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004024/0.1892, allocations: 23.84 kB / 492.4 MB, free: 7.176 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003986/0.1896, allocations: 47.81 kB / 492.4 MB, free: 7.129 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006344/0.1903, allocations: 75.78 kB / 492.5 MB, free: 7.055 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002986/0.1906, allocations: 59.86 kB / 492.6 MB, free: 6.996 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.1908, allocations: 12.23 kB / 492.6 MB, free: 6.984 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.191, allocations: 35.84 kB / 492.6 MB, free: 6.949 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.1911, allocations: 27.84 kB / 492.6 MB, free: 6.922 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.1911, allocations: 0 / 492.6 MB, free: 6.922 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.1914, allocations: 31.92 kB / 492.7 MB, free: 6.891 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.583e-05/0.1915, allocations: 19.92 kB / 492.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.162e-05/0.1916, allocations: 37.64 kB / 492.7 MB, free: 6.828 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000323/0.1919, allocations: 80.09 kB / 492.8 MB, free: 6.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1919, allocations: 0 / 492.8 MB, free: 6.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.192, allocations: 4 kB / 492.8 MB, free: 6.746 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.192, allocations: 0 / 492.8 MB, free: 6.746 MB / 330.7 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.0008953/0.1929, allocations: 402.9 kB / 493.2 MB, free: 6.305 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.309e-05/0.193, allocations: 12.02 kB / 493.2 MB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.008e-05/0.1931, allocations: 11.86 kB / 493.2 MB, free: 6.281 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004523/0.1936, allocations: 198.9 kB / 493.4 MB, free: 6.047 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.1936, allocations: 0 / 493.4 MB, free: 6.047 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.326e-05/0.1937, allocations: 7.984 kB / 493.4 MB, free: 6.039 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.194, allocations: 65.59 kB / 493.5 MB, free: 5.969 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.194, allocations: 0 / 493.5 MB, free: 5.969 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.1941, allocations: 0 / 493.5 MB, free: 5.969 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.1941, allocations: 0 / 493.5 MB, free: 5.969 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.1943, allocations: 23.94 kB / 493.5 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006889/0.195, allocations: 284.8 kB / 493.8 MB, free: 5.617 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003801/0.1954, allocations: 62.62 kB / 493.8 MB, free: 5.547 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.691e-05/0.1954, allocations: 0 / 493.8 MB, free: 5.547 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003324/0.1958, allocations: 67.5 kB / 493.9 MB, free: 5.469 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 3.407e-06/0.1958, allocations: 0 / 493.9 MB, free: 5.469 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.001151/0.197, allocations: 173.2 kB / 494.1 MB, free: 5.293 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.1971, allocations: 55.41 kB / 494.1 MB, free: 5.227 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004192/0.1975, allocations: 194.1 kB / 494.3 MB, free: 5.027 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.1976, allocations: 29.7 kB / 494.3 MB, free: 4.992 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.1978, allocations: 162.6 kB / 494.5 MB, free: 4.832 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.749e-05/0.1979, allocations: 27.64 kB / 494.5 MB, free: 4.805 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.188e-06/0.1979, allocations: 0 / 494.5 MB, free: 4.805 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.1981, allocations: 314.8 kB / 494.8 MB, free: 4.488 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.1983, allocations: 19.98 kB / 494.9 MB, free: 4.469 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.1985, allocations: 41.58 kB / 494.9 MB, free: 4.422 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.1987, allocations: 28 kB / 494.9 MB, free: 4.395 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1987, allocations: 3.938 kB / 494.9 MB, free: 4.391 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004755/0.1992, allocations: 89.66 kB / 495 MB, free: 4.297 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.1993, allocations: 11.44 kB / 495 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.1993, allocations: 384 / 495 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.1994, allocations: 3.953 kB / 495 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.1996, allocations: 19.94 kB / 495.1 MB, free: 4.266 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.1996, allocations: 4 kB / 495.1 MB, free: 4.262 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.1998, allocations: 12.02 kB / 495.1 MB, free: 4.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.1998, allocations: 4 kB / 495.1 MB, free: 4.246 MB / 330.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 (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.0002158/0.2001, allocations: 120.9 kB / 495.2 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.763e-05/0.2002, allocations: 15.81 kB / 495.2 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.019e-05/0.2003, allocations: 16.7 kB / 495.2 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/0.2003, allocations: 3.953 kB / 495.2 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.2003, allocations: 0 / 495.2 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.2003, allocations: 0 / 495.2 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.2014, allocations: 395.3 kB / 495.6 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.2015, allocations: 0 / 495.6 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.856e-05/0.2016, allocations: 11.98 kB / 495.6 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.729e-05/0.2016, allocations: 3.953 kB / 495.6 MB, free: 3.617 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.2016, allocations: 11.94 kB / 495.6 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.2017, allocations: 0 / 495.6 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2017, allocations: 0 / 495.6 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005489/0.2022, allocations: 210.3 kB / 495.8 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.2024, allocations: 100.9 kB / 495.9 MB, free: 3.258 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.998e-05/0.2024, allocations: 0 / 495.9 MB, free: 3.258 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.2027, allocations: 4 kB / 495.9 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.013e-05/0.2028, allocations: 11.98 kB / 496 MB, free: 3.242 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/0.2028, allocations: 4 kB / 496 MB, free: 3.238 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002704/0.2031, allocations: 135.2 kB / 496.1 MB, free: 3.105 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.2031, allocations: 4 kB / 496.1 MB, free: 3.102 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005912/0.2037, allocations: 23.98 kB / 496.1 MB, free: 3.078 MB / 330.7 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.002126/0.2059, allocations: 464.5 kB / 496.6 MB, free: 2.672 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004492/0.2064, allocations: 59.97 kB / 496.6 MB, free: 2.613 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.2064, allocations: 0 / 496.6 MB, free: 2.613 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002198/0.2066, allocations: 27.94 kB / 496.7 MB, free: 2.586 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005843/0.2073, allocations: 23.97 kB / 496.7 MB, free: 2.562 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009931/0.2083, allocations: 264.2 kB / 496.9 MB, free: 2.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.2088, allocations: 0.7121 MB / 497.7 MB, free: 1.531 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.2089, allocations: 19.44 kB / 497.7 MB, free: 1.512 MB / 330.7 MB Notification: Performance of SimCode: time 5.3e-06/0.209, allocations: 0 / 497.7 MB, free: 1.512 MB / 330.7 MB Notification: Performance of Templates: time 0.008839/0.2178, allocations: 1.895 MB / 499.6 MB, free: 15.62 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches