Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001592/0.001592, allocations: 111 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002077/0.002077, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.956/1.956, allocations: 227.4 MB / 246.9 MB, free: 8.891 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4065/0.4065, allocations: 46.11 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002941/0.002941, allocations: 80.48 kB / 417.5 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1846, allocations: 62.45 MB / 479.9 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.005466/0.1901, allocations: 1.781 MB / 481.7 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003337/0.1935, allocations: 1.013 MB / 482.7 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.1937, allocations: 11.94 kB / 482.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004897/0.1942, allocations: 43.88 kB / 482.8 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005408/0.1948, allocations: 71.7 kB / 482.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004045/0.1952, allocations: 71.8 kB / 482.9 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002864/0.1955, allocations: 87.77 kB / 483 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.1957, allocations: 23.95 kB / 483 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.1959, allocations: 43.73 kB / 483.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.1961, allocations: 31.8 kB / 483.1 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.167e-05/0.1961, allocations: 4 kB / 483.1 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.1963, allocations: 43.97 kB / 483.2 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.969e-05/0.1964, allocations: 15.92 kB / 483.2 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.1965, allocations: 35.73 kB / 483.2 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.1968, allocations: 92.09 kB / 483.3 MB, free: 2.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/0.1968, allocations: 3.938 kB / 483.3 MB, free: 2.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1968, allocations: 3.938 kB / 483.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.1968, allocations: 0 / 483.3 MB, free: 2.281 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000795/0.1977, allocations: 426.9 kB / 483.7 MB, free: 1.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.1977, allocations: 12.88 kB / 483.7 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.644e-05/0.1978, allocations: 8.844 kB / 483.7 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.1982, allocations: 216 kB / 484 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.1983, allocations: 384 / 484 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.1983, allocations: 8.125 kB / 484 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.1986, allocations: 53.67 kB / 484 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.1986, allocations: 0 / 484 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.1987, allocations: 4 kB / 484 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.1987, allocations: 4 kB / 484 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.1988, allocations: 19.92 kB / 484 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000584/0.1994, allocations: 292.9 kB / 484.3 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003136/0.1998, allocations: 50.69 kB / 484.4 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.1999, allocations: 24.84 kB / 484.4 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.1999, allocations: 0 / 484.4 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003615/0.2003, allocations: 71.33 kB / 484.5 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.484e-06/0.2003, allocations: 0 / 484.5 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009826/0.2013, allocations: 185 kB / 484.7 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.2014, allocations: 51.41 kB / 484.7 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003357/0.2018, allocations: 214.8 kB / 484.9 MB, free: 492 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.2018, allocations: 25.7 kB / 484.9 MB, free: 460 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.665e-05/0.2019, allocations: 108.1 kB / 485 MB, free: 348 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/0.202, allocations: 23.7 kB / 485.1 MB, free: 324 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.906e-05/0.2021, allocations: 21.72 kB / 485.1 MB, free: 296 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.2023, allocations: 330.8 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.2024, allocations: 19.98 kB / 485.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.2026, allocations: 37.7 kB / 485.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.2028, allocations: 61.66 kB / 485.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2028, allocations: 0 / 485.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003714/0.2032, allocations: 101.4 kB / 485.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.2033, allocations: 8 kB / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2033, allocations: 0 / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.2033, allocations: 0 / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.2035, allocations: 20.17 kB / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.2035, allocations: 8.031 kB / 485.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.392e-05/0.2036, allocations: 7.875 kB / 485.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.2037, allocations: 4 kB / 485.7 MB, free: 15.68 MB / 366.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 (10): * Single equations (assignments): 10 * 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.0001837/0.2038, allocations: 129.8 kB / 485.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-05/0.2039, allocations: 11.91 kB / 485.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.534e-05/0.204, allocations: 13.41 kB / 485.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.204, allocations: 0 / 485.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.204, allocations: 4 kB / 485.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.2041, allocations: 7.922 kB / 485.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008303/0.2049, allocations: 399.4 kB / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.2049, allocations: 0 / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.755e-05/0.205, allocations: 11.94 kB / 486.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.205, allocations: 0 / 486.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.2051, allocations: 7.922 kB / 486.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2051, allocations: 4.078 kB / 486.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.2051, allocations: 3.984 kB / 486.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004268/0.2055, allocations: 208.3 kB / 486.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.645e-05/0.2056, allocations: 88.92 kB / 486.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.2057, allocations: 7.938 kB / 486.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.2059, allocations: 7.984 kB / 486.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.2059, allocations: 4.375 kB / 486.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.206, allocations: 11.88 kB / 486.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002347/0.2062, allocations: 156.3 kB / 486.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.2063, allocations: 0 / 486.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005377/0.2068, allocations: 23.98 kB / 486.8 MB, free: 14.49 MB / 366.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: 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 (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.002069/0.2089, allocations: 456.7 kB / 487.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003285/0.2092, allocations: 59.91 kB / 487.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.2093, allocations: 0 / 487.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.2094, allocations: 24 kB / 487.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006637/0.2101, allocations: 27.97 kB / 487.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008553/0.211, allocations: 294.5 kB / 487.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.2114, allocations: 0.7083 MB / 488.3 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.354e-05/0.2115, allocations: 19.42 kB / 488.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2115, allocations: 4 kB / 488.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of Templates: time 0.007102/0.2186, allocations: 1.963 MB / 490.3 MB, free: 11.05 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches