Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009555/0.0009556, allocations: 92.12 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001027/0.001027, allocations: 196.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.236/0.236, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002879/0.0002879, allocations: 8.281 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1817, allocations: 63.57 MB / 483.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002222/0.184, allocations: 1.442 MB / 484.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.1857, allocations: 0.9863 MB / 485.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.126e-05/0.1858, allocations: 0 / 485.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.1861, allocations: 43.83 kB / 485.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002779/0.1864, allocations: 83.73 kB / 485.6 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.1866, allocations: 59.88 kB / 485.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.1869, allocations: 95.69 kB / 485.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.187, allocations: 15.94 kB / 485.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.085e-05/0.1871, allocations: 35.8 kB / 485.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.588e-05/0.1872, allocations: 39.77 kB / 485.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.1872, allocations: 0 / 485.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.1873, allocations: 36 kB / 485.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.127e-05/0.1874, allocations: 27.92 kB / 485.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.182e-05/0.1875, allocations: 65.36 kB / 486 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.1877, allocations: 111.9 kB / 486.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.1877, allocations: 8 kB / 486.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1877, allocations: 0 / 486.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1877, allocations: 0 / 486.1 MB, free: 1.082 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.0007444/0.1885, allocations: 391.1 kB / 486.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.796e-05/0.1886, allocations: 8.875 kB / 486.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.855e-05/0.1886, allocations: 20.83 kB / 486.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/0.1891, allocations: 204.8 kB / 486.7 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.1891, allocations: 4.375 kB / 486.7 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.1892, allocations: 12.11 kB / 486.7 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.1894, allocations: 65.55 kB / 486.8 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.1894, allocations: 0 / 486.8 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.1894, allocations: 0 / 486.8 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.1895, allocations: 0 / 486.8 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.1896, allocations: 27.97 kB / 486.8 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006017/0.1902, allocations: 292.9 kB / 487.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.1904, allocations: 58.62 kB / 487.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.372e-05/0.1905, allocations: 20.84 kB / 487.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.1905, allocations: 0 / 487.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002669/0.1908, allocations: 71.39 kB / 487.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.492e-06/0.1908, allocations: 0 / 487.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006322/0.1914, allocations: 173.2 kB / 487.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.1915, allocations: 51.41 kB / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.1917, allocations: 194.9 kB / 487.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.1917, allocations: 25.7 kB / 487.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.953e-05/0.1918, allocations: 104.1 kB / 487.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.1919, allocations: 23.7 kB / 487.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.1919, allocations: 21.72 kB / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.192, allocations: 326.8 kB / 488.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.853e-05/0.1921, allocations: 23.98 kB / 488.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.669e-05/0.1922, allocations: 33.66 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.1923, allocations: 57.61 kB / 488.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.1923, allocations: 4 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002001/0.1925, allocations: 109.4 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.1925, allocations: 4 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.1926, allocations: 4 kB / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1926, allocations: 0 / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.474e-05/0.1927, allocations: 12 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1927, allocations: 0 / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.47e-05/0.1928, allocations: 11.92 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.1928, allocations: 8 kB / 488.4 MB, free: 14.53 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.0001101/0.1929, allocations: 125.8 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/0.1929, allocations: 7.906 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.379e-05/0.193, allocations: 21.58 kB / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.193, allocations: 0 / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.193, allocations: 3.938 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.193, allocations: 7.875 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005087/0.1935, allocations: 399.4 kB / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1936, allocations: 384 / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.315e-05/0.1936, allocations: 12.03 kB / 489 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.1936, allocations: 4 kB / 489 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.1936, allocations: 11.94 kB / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1936, allocations: 0 / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1936, allocations: 80 / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.1939, allocations: 200.2 kB / 489.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.651e-05/0.194, allocations: 96.91 kB / 489.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.194, allocations: 11.94 kB / 489.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.541e-05/0.1941, allocations: 0 / 489.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.1942, allocations: 11.98 kB / 489.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.1942, allocations: 4 kB / 489.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001651/0.1944, allocations: 152.7 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1944, allocations: 0 / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002927/0.1947, allocations: 20 kB / 489.5 MB, free: 13.36 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.001247/0.1959, allocations: 459.5 kB / 490 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.1962, allocations: 59.91 kB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.1962, allocations: 4 kB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.814e-05/0.1963, allocations: 28.05 kB / 490 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.1966, allocations: 31.92 kB / 490.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005245/0.1972, allocations: 254.2 kB / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.1975, allocations: 0.7043 MB / 491 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.129e-05/0.1976, allocations: 21.16 kB / 491 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.244e-05/0.1976, allocations: 19.44 kB / 491.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1976, allocations: 0 / 491.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of Templates: time 0.005155/0.2028, allocations: 1.636 MB / 492.7 MB, free: 10.27 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches