Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008316/0.0008314, allocations: 97.48 kB / 16.02 MB, free: 84 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.001048/0.001048, allocations: 182.2 kB / 16.91 MB, free: 6.914 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.987/1.987, 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.5392/0.5392, allocations: 43.58 MB / 315 MB, free: 8.75 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.0005998/0.0005998, allocations: 16.47 kB / 384.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1839, allocations: 58.87 MB / 443.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002842/0.1868, allocations: 1.503 MB / 445 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002736/0.1896, allocations: 1.426 MB / 446.4 MB, free: 9.723 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.1898, allocations: 3.938 kB / 446.4 MB, free: 9.719 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004227/0.1902, allocations: 51.83 kB / 446.4 MB, free: 9.668 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003916/0.1906, allocations: 79.67 kB / 446.5 MB, free: 9.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004785/0.1911, allocations: 123.8 kB / 446.6 MB, free: 9.469 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003969/0.1915, allocations: 171.4 kB / 446.8 MB, free: 9.301 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.44e-05/0.1916, allocations: 17.53 kB / 446.8 MB, free: 9.281 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.1918, allocations: 75.56 kB / 446.9 MB, free: 9.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.1921, allocations: 71.62 kB / 447 MB, free: 9.137 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.1922, allocations: 8 kB / 447 MB, free: 9.129 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.1924, allocations: 55.97 kB / 447 MB, free: 9.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.969e-05/0.1924, allocations: 35.84 kB / 447.1 MB, free: 9.039 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.796e-05/0.1926, allocations: 73.36 kB / 447.1 MB, free: 8.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.1929, allocations: 167.6 kB / 447.3 MB, free: 8.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1929, allocations: 0 / 447.3 MB, free: 8.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1929, allocations: 0 / 447.3 MB, free: 8.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.1929, allocations: 0 / 447.3 MB, free: 8.797 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007905/0.1937, allocations: 446.9 kB / 447.7 MB, free: 8.312 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.1938, allocations: 8.031 kB / 447.7 MB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.659e-05/0.1939, allocations: 16.75 kB / 447.8 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.1943, allocations: 247.5 kB / 448 MB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.1943, allocations: 12.31 kB / 448 MB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.1943, allocations: 8.125 kB / 448 MB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.1946, allocations: 97.08 kB / 448.1 MB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1946, allocations: 7.984 kB / 448.1 MB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.1947, allocations: 4 kB / 448.1 MB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.1947, allocations: 0 / 448.1 MB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.1948, allocations: 31.92 kB / 448.2 MB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.1952, allocations: 214.5 kB / 448.4 MB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.1955, allocations: 105.2 kB / 448.5 MB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.1956, allocations: 41.64 kB / 448.5 MB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/0.1956, allocations: 4 kB / 448.5 MB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003249/0.196, allocations: 109.1 kB / 448.6 MB, free: 7.273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.196, allocations: 0 / 448.6 MB, free: 7.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004918/0.1965, allocations: 161.4 kB / 448.8 MB, free: 7.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.1966, allocations: 132.5 kB / 448.9 MB, free: 6.949 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.1969, allocations: 219.7 kB / 449.1 MB, free: 6.723 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.1969, allocations: 25.7 kB / 449.1 MB, free: 6.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.621e-05/0.197, allocations: 116.1 kB / 449.3 MB, free: 6.574 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.231e-05/0.1971, allocations: 31.66 kB / 449.3 MB, free: 6.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.364e-05/0.1972, allocations: 21.7 kB / 449.3 MB, free: 6.516 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1973, allocations: 322.8 kB / 449.6 MB, free: 6.191 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.1975, allocations: 27.98 kB / 449.7 MB, free: 6.164 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.1976, allocations: 77.06 kB / 449.7 MB, free: 6.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.1979, allocations: 91.39 kB / 449.8 MB, free: 5.969 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1979, allocations: 0 / 449.8 MB, free: 5.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000306/0.1982, allocations: 141.8 kB / 450 MB, free: 5.824 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.1982, allocations: 4 kB / 450 MB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.1982, allocations: 0 / 450 MB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.1983, allocations: 4.062 kB / 450 MB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.1984, allocations: 27.94 kB / 450 MB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.1984, allocations: 7.984 kB / 450 MB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.947e-05/0.1985, allocations: 8.062 kB / 450 MB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.1985, allocations: 4 kB / 450 MB, free: 5.77 MB / 382.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 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001596/0.1987, allocations: 137.8 kB / 450.1 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.958e-05/0.1987, allocations: 19.75 kB / 450.2 MB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.708e-05/0.1988, allocations: 20.98 kB / 450.2 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.1988, allocations: 11.98 kB / 450.2 MB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.1988, allocations: 0 / 450.2 MB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.1989, allocations: 0 / 450.2 MB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.1991, allocations: 229.3 kB / 450.4 MB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1991, allocations: 0 / 450.4 MB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.524e-05/0.1991, allocations: 8 kB / 450.4 MB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1991, allocations: 0 / 450.4 MB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.1992, allocations: 7.984 kB / 450.4 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1992, allocations: 0 / 450.4 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1992, allocations: 0 / 450.4 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.1995, allocations: 173.6 kB / 450.6 MB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.405e-05/0.1996, allocations: 100.9 kB / 450.7 MB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.059e-05/0.1997, allocations: 0 / 450.7 MB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.822e-05/0.1998, allocations: 7.984 kB / 450.7 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.1998, allocations: 11.98 kB / 450.7 MB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/0.1998, allocations: 8 kB / 450.7 MB, free: 4.949 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000169/0.2, allocations: 161.5 kB / 450.9 MB, free: 4.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2, allocations: 0 / 450.9 MB, free: 4.793 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.2003, allocations: 39.98 kB / 450.9 MB, free: 4.754 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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 (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.001177/0.2015, allocations: 456.5 kB / 451.4 MB, free: 4.344 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002753/0.2018, allocations: 91.83 kB / 451.5 MB, free: 4.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2018, allocations: 0 / 451.5 MB, free: 4.254 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.2019, allocations: 31.98 kB / 451.5 MB, free: 4.223 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.2023, allocations: 63.81 kB / 451.6 MB, free: 4.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006519/0.203, allocations: 295.6 kB / 451.8 MB, free: 3.844 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.2033, allocations: 0.7127 MB / 452.6 MB, free: 3.105 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.085e-05/0.2034, allocations: 37.52 kB / 452.6 MB, free: 3.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.014e-05/0.2035, allocations: 23.42 kB / 452.6 MB, free: 3.047 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2035, allocations: 0 / 452.6 MB, free: 3.047 MB / 382.1 MB Notification: Performance of Templates: time 0.006061/0.2096, allocations: 2.515 MB / 455.1 MB, free: 0.5352 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches