Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,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.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001458/0.001458, allocations: 117.7 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00174/0.00174, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 246.4 MB, free: 9.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2141/0.2141, allocations: 46.11 MB / 343.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002766/0.002766, allocations: 72.58 kB / 417 MB, free: 20.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1743, allocations: 62.45 MB / 479.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.006237/0.1806, allocations: 1.971 MB / 481.5 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003337/0.184, allocations: 1.111 MB / 482.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002619/0.1843, allocations: 4 kB / 482.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000682/0.185, allocations: 147.6 kB / 482.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007344/0.1859, allocations: 175.5 kB / 482.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005352/0.1864, allocations: 99.78 kB / 483 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004938/0.1869, allocations: 239.3 kB / 483.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.1871, allocations: 25.67 kB / 483.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000291/0.1874, allocations: 115.5 kB / 483.4 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003253/0.1878, allocations: 139.5 kB / 483.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.324e-05/0.1878, allocations: 8 kB / 483.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002255/0.1881, allocations: 67.97 kB / 483.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.1882, allocations: 51.77 kB / 483.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.1884, allocations: 87.34 kB / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005586/0.1889, allocations: 215.5 kB / 483.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.189, allocations: 0 / 483.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.189, allocations: 0 / 483.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.189, allocations: 4 kB / 483.9 MB, free: 1.102 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.001133/0.1902, allocations: 0.5432 MB / 484.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.1902, allocations: 11.97 kB / 484.5 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.1904, allocations: 24.66 kB / 484.5 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004763/0.1908, allocations: 275.5 kB / 484.8 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.1909, allocations: 4.375 kB / 484.8 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.144e-05/0.1909, allocations: 12.12 kB / 484.8 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/0.1913, allocations: 115.3 kB / 484.9 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.1913, allocations: 7.922 kB / 484.9 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.1914, allocations: 0 / 484.9 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.1914, allocations: 4 kB / 484.9 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.1916, allocations: 44.05 kB / 485 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008044/0.1924, allocations: 472.5 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005385/0.193, allocations: 121.2 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.1932, allocations: 49.77 kB / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.1932, allocations: 0 / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004162/0.1937, allocations: 121 kB / 485.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.753e-06/0.1937, allocations: 0 / 485.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.002049/0.1957, allocations: 496.9 kB / 486.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.317e-05/0.1958, allocations: 85.11 kB / 486.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005799/0.1964, allocations: 375.3 kB / 486.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.1965, allocations: 29.7 kB / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.1967, allocations: 144.5 kB / 486.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.1968, allocations: 71.09 kB / 486.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.1969, allocations: 41.7 kB / 486.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.1971, allocations: 342.8 kB / 487.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.1973, allocations: 63.92 kB / 487.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.1975, allocations: 91.39 kB / 487.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004032/0.198, allocations: 155.5 kB / 487.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.198, allocations: 0 / 487.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006441/0.1986, allocations: 237.1 kB / 487.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.1987, allocations: 7.938 kB / 487.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.1987, allocations: 4 kB / 487.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1987, allocations: 0 / 487.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.199, allocations: 43.98 kB / 487.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.199, allocations: 3.938 kB / 487.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.1991, allocations: 15.92 kB / 487.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.1992, allocations: 8 kB / 487.9 MB, free: 12.87 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.0002054/0.1994, allocations: 158.4 kB / 488 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.1995, allocations: 35.56 kB / 488.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.1996, allocations: 38.05 kB / 488.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/0.1996, allocations: 7.984 kB / 488.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1997, allocations: 0 / 488.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1997, allocations: 0 / 488.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.2011, allocations: 0.7232 MB / 488.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/0.2011, allocations: 0 / 488.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.2012, allocations: 39.86 kB / 488.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.836e-06/0.2013, allocations: 4 kB / 488.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.2013, allocations: 7.984 kB / 488.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.373e-06/0.2013, allocations: 4 kB / 488.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.2013, allocations: 128 / 488.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007193/0.2021, allocations: 421 kB / 489.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.2022, allocations: 108.8 kB / 489.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.782e-05/0.2023, allocations: 8 kB / 489.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.2025, allocations: 4 kB / 489.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.641e-05/0.2026, allocations: 31.89 kB / 489.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/0.2027, allocations: 12 kB / 489.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004416/0.2032, allocations: 273.9 kB / 489.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2032, allocations: 0 / 489.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006608/0.2038, allocations: 47.98 kB / 489.8 MB, free: 10.85 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.001952/0.2058, allocations: 0.5131 MB / 490.3 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006049/0.2064, allocations: 171.7 kB / 490.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.2064, allocations: 0 / 490.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.2067, allocations: 79.91 kB / 490.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009391/0.2076, allocations: 53 kB / 490.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.209, allocations: 0.5748 MB / 491.2 MB, free: 9.602 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000507/0.2095, allocations: 0.7635 MB / 491.9 MB, free: 8.809 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001863/0.2097, allocations: 41.92 kB / 492 MB, free: 8.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.2098, allocations: 31.42 kB / 492 MB, free: 8.738 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2098, allocations: 0 / 492 MB, free: 8.738 MB / 366.1 MB Notification: Performance of Templates: time 0.006938/0.2168, allocations: 3.081 MB / 495.1 MB, free: 5.695 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches