Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001537/0.001537, allocations: 102.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001746/0.001746, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2944/0.2944, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003027/0.003028, allocations: 74.84 kB / 417.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1808, allocations: 62.45 MB / 480 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.004355/0.1853, allocations: 1.906 MB / 481.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.1875, allocations: 1.138 MB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.1876, allocations: 0 / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005493/0.1882, allocations: 255.3 kB / 483.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004761/0.1887, allocations: 231.2 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.189, allocations: 115.6 kB / 483.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003377/0.1893, allocations: 271.2 kB / 483.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.1895, allocations: 37.66 kB / 484 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.1897, allocations: 131.5 kB / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002885/0.19, allocations: 187.4 kB / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.19, allocations: 8 kB / 484.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.1901, allocations: 63.97 kB / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.43e-05/0.1902, allocations: 63.77 kB / 484.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.1903, allocations: 99.16 kB / 484.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.1907, allocations: 251.4 kB / 484.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1907, allocations: 0 / 484.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.1907, allocations: 4 kB / 484.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1907, allocations: 0 / 484.8 MB, free: 0.5156 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008187/0.1915, allocations: 0.5796 MB / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.1916, allocations: 8.031 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.765e-05/0.1916, allocations: 32.56 kB / 485.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.192, allocations: 294.4 kB / 485.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.192, allocations: 4.375 kB / 485.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.1921, allocations: 20.11 kB / 485.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.1923, allocations: 103.4 kB / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.1924, allocations: 11.84 kB / 485.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.1924, allocations: 3.984 kB / 485.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.1924, allocations: 0 / 485.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.1925, allocations: 47.91 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005668/0.1931, allocations: 488.8 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.1935, allocations: 121.2 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.1936, allocations: 49.83 kB / 486.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.1936, allocations: 7.984 kB / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003178/0.194, allocations: 116.9 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.763e-06/0.194, allocations: 0 / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001298/0.1953, allocations: 0.5115 MB / 487.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.222e-05/0.1954, allocations: 77.11 kB / 487.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000711/0.1961, allocations: 497.6 kB / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.1961, allocations: 37.64 kB / 487.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.1962, allocations: 168.5 kB / 487.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.313e-05/0.1963, allocations: 70.98 kB / 488 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.113e-05/0.1964, allocations: 45.7 kB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.1966, allocations: 350.8 kB / 488.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.1967, allocations: 55.98 kB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.1968, allocations: 91.39 kB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/0.1972, allocations: 163.5 kB / 488.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1972, allocations: 0 / 488.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003804/0.1976, allocations: 237.1 kB / 488.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1976, allocations: 7.938 kB / 488.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1976, allocations: 0 / 488.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.1976, allocations: 4 kB / 488.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.1978, allocations: 47.92 kB / 488.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.1978, allocations: 0 / 488.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.276e-05/0.1979, allocations: 15.95 kB / 489 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.1979, allocations: 12 kB / 489 MB, free: 12.02 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 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001637/0.1981, allocations: 169.8 kB / 489.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/0.1981, allocations: 39.56 kB / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.843e-05/0.1982, allocations: 42.88 kB / 489.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1982, allocations: 4 kB / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1982, allocations: 0 / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1983, allocations: 0 / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008779/0.1991, allocations: 0.7427 MB / 490 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1991, allocations: 0 / 490 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.028e-05/0.1992, allocations: 31.98 kB / 490 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.1992, allocations: 4 kB / 490 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.1993, allocations: 16.05 kB / 490 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.1993, allocations: 0 / 490 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.1993, allocations: 4 kB / 490 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005583/0.1998, allocations: 425.6 kB / 490.4 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/0.2, allocations: 108.7 kB / 490.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.2001, allocations: 8 kB / 490.5 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.2002, allocations: 4 kB / 490.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/0.2003, allocations: 23.91 kB / 490.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.2003, allocations: 8 kB / 490.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005982/0.2009, allocations: 375.1 kB / 490.9 MB, free: 9.906 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.994e-06/0.2009, allocations: 4 kB / 490.9 MB, free: 9.902 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003806/0.2013, allocations: 55.92 kB / 491 MB, free: 9.848 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 (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.001346/0.2027, allocations: 0.5091 MB / 491.5 MB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003852/0.2031, allocations: 163.8 kB / 491.7 MB, free: 9.359 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2031, allocations: 0 / 491.7 MB, free: 9.359 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.2033, allocations: 88.09 kB / 491.8 MB, free: 9.273 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005907/0.2039, allocations: 61.45 kB / 491.8 MB, free: 9.215 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.2049, allocations: 0.6055 MB / 492.4 MB, free: 8.574 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006356/0.2056, allocations: 0.787 MB / 493.2 MB, free: 7.762 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000135/0.2057, allocations: 41.92 kB / 493.3 MB, free: 7.723 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.951e-05/0.2058, allocations: 31.42 kB / 493.3 MB, free: 7.691 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2058, allocations: 0 / 493.3 MB, free: 7.691 MB / 366.1 MB Notification: Performance of Templates: time 0.008227/0.2141, allocations: 3.177 MB / 496.5 MB, free: 4.547 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches