Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01254/0.01254, allocations: 173.5 kB / 15.12 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.975/1.975, allocations: 194.5 MB / 210.3 MB, free: 7.543 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001743/0.001743, allocations: 128.5 kB / 255.6 MB, free: 10.16 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2213/0.2213, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004898/0.0004899, allocations: 13.59 kB / 406.2 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1342, allocations: 54.88 MB / 461 MB, free: 3.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.2732, allocations: 81.98 MB / 0.5303 GB, free: 1.219 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.2735, allocations: 75.91 kB / 0.5304 GB, free: 1.145 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.2483/0.5219, allocations: 4.423 MB / 0.5347 GB, free: 82.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.5219, allocations: 0 / 0.5347 GB, free: 82.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.5219, allocations: 5.625 kB / 0.5347 GB, free: 82.96 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005232/0.5224, allocations: 463.7 kB / 0.5351 GB, free: 82.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.5225, allocations: 10.33 kB / 0.5351 GB, free: 82.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.082e-05/0.5226, allocations: 12.84 kB / 0.5352 GB, free: 82.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.5228, allocations: 200.8 kB / 0.5353 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.5229, allocations: 3.297 kB / 0.5353 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.5229, allocations: 7.594 kB / 0.5354 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.523, allocations: 48.22 kB / 0.5354 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.523, allocations: 4 kB / 0.5354 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.5231, allocations: 4.656 kB / 0.5354 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.5231, allocations: 6.281 kB / 0.5354 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.916e-05/0.5232, allocations: 15.61 kB / 0.5354 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/0.5234, allocations: 196.2 kB / 0.5356 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.5235, allocations: 53.3 kB / 0.5357 GB, free: 82.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.5235, allocations: 8.5 kB / 0.5357 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/0.5237, allocations: 68.09 kB / 0.5357 GB, free: 81.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.5237, allocations: 0 / 0.5357 GB, free: 81.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003082/0.524, allocations: 100.3 kB / 0.5358 GB, free: 81.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.5241, allocations: 57.83 kB / 0.5359 GB, free: 81.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.5243, allocations: 170.9 kB / 0.5361 GB, free: 81.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.5243, allocations: 28.02 kB / 0.5361 GB, free: 81.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.877e-05/0.5244, allocations: 102.2 kB / 0.5362 GB, free: 81.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.5244, allocations: 16.17 kB / 0.5362 GB, free: 81.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-06/0.5244, allocations: 1.969 kB / 0.5362 GB, free: 81.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.075e-05/0.5245, allocations: 322.8 kB / 0.5365 GB, free: 81.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.508e-05/0.5246, allocations: 31.56 kB / 0.5365 GB, free: 81.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.085e-05/0.5247, allocations: 50.66 kB / 0.5366 GB, free: 81.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.5248, allocations: 64.2 kB / 0.5366 GB, free: 81.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.5248, allocations: 4 kB / 0.5366 GB, free: 81.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002586/0.5251, allocations: 165 kB / 0.5368 GB, free: 81.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/0.5251, allocations: 38.58 kB / 0.5368 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.5251, allocations: 0.7031 kB / 0.5368 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.5252, allocations: 1.062 kB / 0.5368 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.144e-05/0.5252, allocations: 10.12 kB / 0.5369 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.5253, allocations: 1.781 kB / 0.5369 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.937e-05/0.5253, allocations: 9.969 kB / 0.5369 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.5253, allocations: 4.953 kB / 0.5369 GB, free: 81.16 MB / 378.7 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 9.572e-05/0.5254, allocations: 129.2 kB / 0.537 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.5255, allocations: 16.59 kB / 0.537 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.5257, allocations: 90.81 kB / 0.5371 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.5257, allocations: 0.9375 kB / 0.5371 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5257, allocations: 0 / 0.5371 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.5257, allocations: 1.859 kB / 0.5371 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.5259, allocations: 195.1 kB / 0.5373 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5259, allocations: 0 / 0.5373 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.794e-05/0.5259, allocations: 9.578 kB / 0.5373 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.5259, allocations: 5.844 kB / 0.5373 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.526, allocations: 4.328 kB / 0.5373 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.526, allocations: 0 / 0.5373 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.526, allocations: 1.188 kB / 0.5373 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.5262, allocations: 120.1 kB / 0.5374 GB, free: 80.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.447e-05/0.5263, allocations: 93 kB / 0.5375 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.5263, allocations: 10.84 kB / 0.5375 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.131e-05/0.5263, allocations: 7.359 kB / 0.5375 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.5264, allocations: 3.078 kB / 0.5375 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.128e-06/0.5264, allocations: 2.641 kB / 0.5375 GB, free: 80.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001242/0.5265, allocations: 141.8 kB / 0.5377 GB, free: 80.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5265, allocations: 0 / 0.5377 GB, free: 80.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002397/0.5268, allocations: 28.55 kB / 0.5377 GB, free: 80.53 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0009339/0.5277, allocations: 381.4 kB / 0.5381 GB, free: 80.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002672/0.528, allocations: 146.5 kB / 0.5382 GB, free: 80.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.528, allocations: 1.062 kB / 0.5382 GB, free: 80.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.455e-05/0.5281, allocations: 24.55 kB / 0.5382 GB, free: 80.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.5283, allocations: 23.72 kB / 0.5382 GB, free: 80.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004293/0.5287, allocations: 215.5 kB / 0.5384 GB, free: 80.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.5289, allocations: 0.7063 MB / 0.5391 GB, free: 79.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.079e-05/0.529, allocations: 17.72 kB / 0.5392 GB, free: 79.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.253e-05/0.529, allocations: 17.09 kB / 0.5392 GB, free: 79.34 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.529, allocations: 0 / 0.5392 GB, free: 79.34 MB / 378.7 MB Notification: Performance of Templates: time 0.005061/0.5341, allocations: 1.511 MB / 0.5406 GB, free: 79.16 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1)