Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 100.3 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.836/1.836, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3678/0.3677, allocations: 38.03 MB / 308.4 MB, free: 10.39 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008683/0.0008683, allocations: 20 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1843, allocations: 57.52 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002237/0.1865, allocations: 1.366 MB / 435.3 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.1879, allocations: 0.7382 MB / 436 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.188, allocations: 0 / 436 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003106/0.1884, allocations: 31.83 kB / 436.1 MB, free: 3.426 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002713/0.1887, allocations: 43.88 kB / 436.1 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.189, allocations: 75.8 kB / 436.2 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.1892, allocations: 63.84 kB / 436.2 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.85e-05/0.1893, allocations: 12.22 kB / 436.3 MB, free: 3.234 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.312e-05/0.1894, allocations: 39.84 kB / 436.3 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.469e-05/0.1895, allocations: 23.86 kB / 436.3 MB, free: 3.172 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.1895, allocations: 4 kB / 436.3 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.1896, allocations: 31.86 kB / 436.4 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.178e-05/0.1897, allocations: 23.91 kB / 436.4 MB, free: 3.113 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.283e-05/0.1897, allocations: 37.64 kB / 436.4 MB, free: 3.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.1899, allocations: 88.08 kB / 436.5 MB, free: 2.984 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.1899, allocations: 4 kB / 436.5 MB, free: 2.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1899, allocations: 0 / 436.5 MB, free: 2.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.1899, allocations: 0 / 436.5 MB, free: 2.98 MB / 366.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.0005851/0.1905, allocations: 398.9 kB / 436.9 MB, free: 2.543 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1905, allocations: 8.031 kB / 436.9 MB, free: 2.535 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.1906, allocations: 15.77 kB / 436.9 MB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.1909, allocations: 207.6 kB / 437.1 MB, free: 2.277 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.1909, allocations: 4 kB / 437.1 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.1909, allocations: 0 / 437.1 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.1911, allocations: 61.61 kB / 437.2 MB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1911, allocations: 0 / 437.2 MB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1911, allocations: 0 / 437.2 MB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1911, allocations: 4 kB / 437.2 MB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.252e-05/0.1912, allocations: 23.88 kB / 437.2 MB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.1916, allocations: 285 kB / 437.5 MB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.1918, allocations: 54.67 kB / 437.5 MB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.1918, allocations: 4 kB / 437.5 MB, free: 1.785 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.192, allocations: 75.44 kB / 437.6 MB, free: 1.699 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.1921, allocations: 0 / 437.6 MB, free: 1.699 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005925/0.1927, allocations: 185 kB / 437.8 MB, free: 1.512 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.1927, allocations: 51.41 kB / 437.9 MB, free: 1.449 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.1929, allocations: 195.3 kB / 438 MB, free: 1.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.193, allocations: 29.7 kB / 438.1 MB, free: 1.215 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.558e-05/0.193, allocations: 104.1 kB / 438.2 MB, free: 1.109 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.1931, allocations: 23.7 kB / 438.2 MB, free: 1.086 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-06/0.1931, allocations: 0 / 438.2 MB, free: 1.086 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1933, allocations: 326.8 kB / 438.5 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.233e-05/0.1933, allocations: 16 kB / 438.5 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-05/0.1934, allocations: 37.7 kB / 438.6 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.26e-05/0.1935, allocations: 24 kB / 438.6 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1935, allocations: 0 / 438.6 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002209/0.1937, allocations: 101.5 kB / 438.7 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.1938, allocations: 8.188 kB / 438.7 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.1938, allocations: 3.953 kB / 438.7 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.1938, allocations: 3.938 kB / 438.7 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.1939, allocations: 15.98 kB / 438.7 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.1939, allocations: 8.031 kB / 438.7 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.157e-05/0.194, allocations: 7.938 kB / 438.7 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.194, allocations: 4 kB / 438.7 MB, free: 0.5195 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000177/0.1942, allocations: 130.8 kB / 438.9 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.1942, allocations: 11.81 kB / 438.9 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.859e-05/0.1943, allocations: 13.41 kB / 438.9 MB, free: 364 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.1943, allocations: 7.953 kB / 438.9 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1943, allocations: 0 / 438.9 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.1943, allocations: 3.984 kB / 438.9 MB, free: 352 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006207/0.195, allocations: 391.3 kB / 439.3 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.195, allocations: 4 kB / 439.3 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.626e-05/0.195, allocations: 11.95 kB / 439.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.195, allocations: 0 / 439.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.1951, allocations: 4 kB / 439.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.1951, allocations: 0 / 439.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1951, allocations: 4 kB / 439.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.1953, allocations: 229.8 kB / 439.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.1954, allocations: 85.02 kB / 439.6 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.1954, allocations: 0 / 439.6 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.275e-05/0.1955, allocations: 12.36 kB / 439.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.1956, allocations: 0 / 439.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.1956, allocations: 8 kB / 439.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.1957, allocations: 160.9 kB / 439.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1957, allocations: 0 / 439.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002904/0.196, allocations: 27.98 kB / 439.8 MB, free: 15.32 MB / 382.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 (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.001086/0.1971, allocations: 473 kB / 440.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.1973, allocations: 55.92 kB / 440.3 MB, free: 14.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1973, allocations: 0 / 440.3 MB, free: 14.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.633e-05/0.1974, allocations: 27.92 kB / 440.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.1977, allocations: 31.92 kB / 440.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005288/0.1982, allocations: 242.5 kB / 440.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.1985, allocations: 0.7082 MB / 441.3 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.867e-05/0.1986, allocations: 16.88 kB / 441.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.814e-05/0.1986, allocations: 15.44 kB / 441.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1987, allocations: 0 / 441.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of Templates: time 0.004926/0.2036, allocations: 1.588 MB / 443 MB, free: 12.14 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) Environment - environmentSimulation: