Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009116/0.0009117, allocations: 96.62 kB / 17 MB, free: 6.836 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009626/0.0009625, allocations: 198.2 kB / 17.91 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.231/0.231, allocations: 46.19 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004386/0.0004386, allocations: 8 kB / 418.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1822, allocations: 63.58 MB / 482.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002577/0.1849, allocations: 1.587 MB / 484 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.1872, allocations: 1.042 MB / 485.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002034/0.1874, allocations: 4 kB / 485.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006641/0.1881, allocations: 243.4 kB / 485.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005436/0.1887, allocations: 203.4 kB / 485.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.1891, allocations: 91.77 kB / 485.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004937/0.1896, allocations: 235.2 kB / 485.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.1898, allocations: 21.67 kB / 485.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003414/0.1901, allocations: 119.5 kB / 485.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.1904, allocations: 163.5 kB / 486.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.72e-05/0.1905, allocations: 4 kB / 486.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.1907, allocations: 47.98 kB / 486.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.74e-05/0.1908, allocations: 59.75 kB / 486.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.09e-05/0.1909, allocations: 61.58 kB / 486.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.1912, allocations: 179.9 kB / 486.5 MB, free: 492 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.1912, allocations: 0 / 486.5 MB, free: 492 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1912, allocations: 0 / 486.5 MB, free: 492 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.1912, allocations: 0 / 486.5 MB, free: 492 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000892/0.1921, allocations: 0.5446 MB / 487 MB, free: 15.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.1922, allocations: 12.03 kB / 487 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.645e-05/0.1923, allocations: 27.62 kB / 487 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004776/0.1928, allocations: 281.3 kB / 487.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.1928, allocations: 8 kB / 487.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.1928, allocations: 7.938 kB / 487.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.1931, allocations: 109.7 kB / 487.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.1931, allocations: 4 kB / 487.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.078e-05/0.1932, allocations: 11.98 kB / 487.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.1932, allocations: 0 / 487.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.1934, allocations: 39.97 kB / 487.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009025/0.1943, allocations: 496.5 kB / 488 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004902/0.1948, allocations: 125.2 kB / 488.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.1949, allocations: 49.81 kB / 488.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.1949, allocations: 0 / 488.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002818/0.1952, allocations: 121.2 kB / 488.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.1952, allocations: 0 / 488.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.00137/0.1966, allocations: 0.5043 MB / 488.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.1967, allocations: 77.11 kB / 488.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005278/0.1972, allocations: 0.4976 MB / 489.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.1973, allocations: 29.7 kB / 489.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.1974, allocations: 168.5 kB / 489.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.692e-05/0.1975, allocations: 71.02 kB / 489.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.899e-06/0.1975, allocations: 4 kB / 489.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1976, allocations: 346.8 kB / 489.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.1978, allocations: 55.97 kB / 490 MB, free: 12.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.1979, allocations: 95.41 kB / 490.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.1981, allocations: 71.86 kB / 490.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-05/0.1981, allocations: 0 / 490.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004547/0.1986, allocations: 229.4 kB / 490.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.1986, allocations: 11.95 kB / 490.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.1986, allocations: 64 / 490.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.1987, allocations: 8 kB / 490.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.1988, allocations: 47.91 kB / 490.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.1988, allocations: 4.234 kB / 490.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.1989, allocations: 8 kB / 490.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.199, allocations: 8 kB / 490.5 MB, free: 12.19 MB / 366.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 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0003059/0.1993, allocations: 182.2 kB / 490.7 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.1993, allocations: 35.53 kB / 490.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.1995, allocations: 50.83 kB / 490.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.1995, allocations: 4 kB / 490.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.1995, allocations: 0 / 490.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.1995, allocations: 3.984 kB / 490.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.2005, allocations: 0.7428 MB / 491.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.2006, allocations: 4 kB / 491.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.043e-05/0.2006, allocations: 27.98 kB / 491.5 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.2007, allocations: 0 / 491.5 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.2007, allocations: 8 kB / 491.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.2007, allocations: 4 kB / 491.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.2007, allocations: 4.125 kB / 491.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004724/0.2012, allocations: 432.7 kB / 492 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.423e-05/0.2013, allocations: 108.7 kB / 492.1 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.169e-05/0.2013, allocations: 7.938 kB / 492.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.2015, allocations: 15.98 kB / 492.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.322e-05/0.2015, allocations: 23.92 kB / 492.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.2016, allocations: 8 kB / 492.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003631/0.2019, allocations: 379.1 kB / 492.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2019, allocations: 0 / 492.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003921/0.2023, allocations: 51.98 kB / 492.5 MB, free: 9.996 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001239/0.2036, allocations: 0.4924 MB / 493 MB, free: 9.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004642/0.2041, allocations: 163.8 kB / 493.2 MB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2041, allocations: 0 / 493.2 MB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.2042, allocations: 79.84 kB / 493.3 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005384/0.2048, allocations: 57.52 kB / 493.3 MB, free: 9.387 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.206, allocations: 0.645 MB / 494 MB, free: 8.703 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004393/0.2064, allocations: 0.7833 MB / 494.8 MB, free: 7.895 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001419/0.2066, allocations: 45.83 kB / 494.8 MB, free: 7.848 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.374e-05/0.2067, allocations: 31.44 kB / 494.8 MB, free: 7.816 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2067, allocations: 0 / 494.8 MB, free: 7.816 MB / 366.1 MB Notification: Performance of Templates: time 0.00806/0.2147, allocations: 2.919 MB / 497.7 MB, free: 4.934 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches