Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001808/0.001808, 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.002127/0.002127, 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 2.323/2.323, allocations: 227.4 MB / 246.9 MB, free: 8.887 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4194/0.4194, allocations: 46.11 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002785/0.002785, allocations: 77.72 kB / 417.5 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1708, allocations: 62.44 MB / 479.9 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.005444/0.1763, allocations: 2.021 MB / 482 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003255/0.1796, allocations: 1.185 MB / 483.1 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.1798, allocations: 3.938 kB / 483.2 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009965/0.1808, allocations: 195.5 kB / 483.3 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007149/0.1815, allocations: 175.5 kB / 483.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007163/0.1823, allocations: 135.1 kB / 483.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005702/0.1829, allocations: 263.2 kB / 483.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.1831, allocations: 36.3 kB / 483.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002809/0.1834, allocations: 107.4 kB / 484 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.1836, allocations: 99.53 kB / 484.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.466e-05/0.1837, allocations: 4 kB / 484.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002204/0.1839, allocations: 51.91 kB / 484.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.1841, allocations: 47.83 kB / 484.2 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.1843, allocations: 87.34 kB / 484.3 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003731/0.1847, allocations: 183.9 kB / 484.5 MB, free: 1.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1847, allocations: 0 / 484.5 MB, free: 1.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1847, allocations: 0 / 484.5 MB, free: 1.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.1847, allocations: 4 kB / 484.5 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001404/0.1861, allocations: 0.5622 MB / 485.1 MB, free: 476 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.088e-05/0.1862, allocations: 8.875 kB / 485.1 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.1864, allocations: 24.66 kB / 485.1 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005649/0.1869, allocations: 291.5 kB / 485.4 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.187, allocations: 4.375 kB / 485.4 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.187, allocations: 8.125 kB / 485.4 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003841/0.1874, allocations: 104.2 kB / 485.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1874, allocations: 0 / 485.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.1875, allocations: 7.984 kB / 485.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1875, allocations: 0 / 485.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/0.1877, allocations: 39.92 kB / 485.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008564/0.1886, allocations: 385.5 kB / 485.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000465/0.1891, allocations: 113.2 kB / 486 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.1893, allocations: 45.7 kB / 486.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.814e-05/0.1893, allocations: 7.984 kB / 486.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003807/0.1897, allocations: 125 kB / 486.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.954e-06/0.1897, allocations: 0 / 486.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007954/0.1905, allocations: 181.7 kB / 486.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.1907, allocations: 110.8 kB / 486.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006711/0.1913, allocations: 347.3 kB / 486.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.749e-05/0.1914, allocations: 33.7 kB / 486.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.1916, allocations: 140.1 kB / 487 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.342e-05/0.1917, allocations: 35.55 kB / 487 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.1918, allocations: 29.72 kB / 487.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.192, allocations: 338.7 kB / 487.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.1922, allocations: 39.98 kB / 487.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.1924, allocations: 71.53 kB / 487.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.1927, allocations: 95.34 kB / 487.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1927, allocations: 4.031 kB / 487.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005515/0.1933, allocations: 145.3 kB / 487.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.1933, allocations: 8 kB / 487.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1933, allocations: 3.984 kB / 487.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.1934, allocations: 0 / 487.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.1936, allocations: 24 kB / 487.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.1936, allocations: 0 / 487.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.1938, allocations: 19.83 kB / 487.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.1938, allocations: 7.938 kB / 487.8 MB, free: 13.48 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0002202/0.1941, allocations: 158.9 kB / 488 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.071e-05/0.1941, allocations: 23.72 kB / 488 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.1943, allocations: 30.02 kB / 488 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1943, allocations: 0 / 488 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.1943, allocations: 4 kB / 488 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.1943, allocations: 3.984 kB / 488 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003652/0.1947, allocations: 257.4 kB / 488.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1947, allocations: 0 / 488.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.854e-05/0.1948, allocations: 11.98 kB / 488.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1948, allocations: 4 kB / 488.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.1948, allocations: 8 kB / 488.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1948, allocations: 0 / 488.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1948, allocations: 0 / 488.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005157/0.1954, allocations: 193.4 kB / 488.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-05/0.1955, allocations: 92.83 kB / 488.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.331e-05/0.1956, allocations: 12 kB / 488.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.1957, allocations: 7.984 kB / 488.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.43e-05/0.1958, allocations: 11.98 kB / 488.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.1958, allocations: 7.938 kB / 488.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004576/0.1963, allocations: 257.9 kB / 488.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1963, allocations: 0 / 488.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004917/0.1968, allocations: 36 kB / 488.9 MB, free: 12.28 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.001686/0.1985, allocations: 423 kB / 489.3 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004365/0.199, allocations: 91.84 kB / 489.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.199, allocations: 0 / 489.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.1992, allocations: 47.97 kB / 489.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006687/0.1999, allocations: 64.53 kB / 489.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.2011, allocations: 468.2 kB / 490 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/0.2016, allocations: 0.7521 MB / 490.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.391e-05/0.2018, allocations: 27.42 kB / 490.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of SimCode: time 1.001e-06/0.2018, allocations: 4 kB / 490.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of Templates: time 0.00958/0.2114, allocations: 3.316 MB / 494.1 MB, free: 7.18 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches