Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.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.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 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.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 100.9 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.001426/0.001426, allocations: 177.3 kB / 15.94 MB, free: 228 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.305/1.305, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2936/0.2936, allocations: 39.99 MB / 310.4 MB, free: 9.996 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.2. 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.0004962/0.0004963, allocations: 16 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09327/0.09378, allocations: 57.96 MB / 436.8 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002011/0.09584, allocations: 1.374 MB / 438.1 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.09701, allocations: 0.7421 MB / 438.9 MB, free: 420 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.09716, allocations: 0 / 438.9 MB, free: 420 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.09745, allocations: 31.83 kB / 438.9 MB, free: 388 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.09769, allocations: 51.88 kB / 439 MB, free: 336 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.09798, allocations: 79.77 kB / 439 MB, free: 256 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.09814, allocations: 59.88 kB / 439.1 MB, free: 196 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.578e-05/0.09824, allocations: 12.2 kB / 439.1 MB, free: 184 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.265e-05/0.09833, allocations: 39.84 kB / 439.2 MB, free: 144 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.062e-05/0.09841, allocations: 35.84 kB / 439.2 MB, free: 108 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.09843, allocations: 0 / 439.2 MB, free: 108 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.402e-05/0.09852, allocations: 31.92 kB / 439.2 MB, free: 76 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.844e-05/0.09856, allocations: 19.92 kB / 439.2 MB, free: 56 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.116e-05/0.09861, allocations: 49.56 kB / 439.3 MB, free: 0 / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.09878, allocations: 100.1 kB / 439.4 MB, free: 15.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.09879, allocations: 0 / 439.4 MB, free: 15.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.09879, allocations: 0 / 439.4 MB, free: 15.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.0988, allocations: 0 / 439.4 MB, free: 15.9 MB / 382.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.0004777/0.09928, allocations: 426.6 kB / 439.8 MB, free: 15.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.09933, allocations: 12.02 kB / 439.8 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.09938, allocations: 15.81 kB / 439.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.0996, allocations: 206.9 kB / 440 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.09963, allocations: 4 kB / 440 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.09965, allocations: 0 / 440 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.09978, allocations: 57.61 kB / 440.1 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.0998, allocations: 7.906 kB / 440.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.09982, allocations: 0 / 440.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.09983, allocations: 3.953 kB / 440.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.803e-05/0.0999, allocations: 23.98 kB / 440.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003332/0.1002, allocations: 288.9 kB / 440.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.1004, allocations: 58.61 kB / 440.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.1004, allocations: 0 / 440.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.1006, allocations: 71.47 kB / 440.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1006, allocations: 0 / 440.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004757/0.1011, allocations: 189 kB / 440.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.1011, allocations: 51.41 kB / 440.8 MB, free: 14.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.1014, allocations: 258.5 kB / 441 MB, free: 14.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.1014, allocations: 25.7 kB / 441 MB, free: 14.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/0.1015, allocations: 116 kB / 441.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.1015, allocations: 27.73 kB / 441.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/0.1015, allocations: 4 kB / 441.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1016, allocations: 322.8 kB / 441.5 MB, free: 13.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.373e-05/0.1017, allocations: 23.98 kB / 441.5 MB, free: 13.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.685e-05/0.1018, allocations: 37.64 kB / 441.6 MB, free: 13.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.394e-05/0.1018, allocations: 20 kB / 441.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1018, allocations: 0 / 441.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001659/0.102, allocations: 105.5 kB / 441.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.102, allocations: 15.38 kB / 441.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.102, allocations: 4 kB / 441.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.1021, allocations: 0 / 441.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.007e-05/0.1022, allocations: 16.31 kB / 441.7 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1022, allocations: 3.938 kB / 441.7 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.971e-05/0.1022, allocations: 8 kB / 441.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.1022, allocations: 7.984 kB / 441.7 MB, free: 13.31 MB / 382.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 9.634e-05/0.1023, allocations: 141.8 kB / 441.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.921e-05/0.1024, allocations: 11.81 kB / 441.9 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.423e-05/0.1024, allocations: 21.36 kB / 441.9 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1024, allocations: 0 / 441.9 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1024, allocations: 4 kB / 441.9 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1024, allocations: 3.984 kB / 441.9 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004168/0.1029, allocations: 407.2 kB / 442.3 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1029, allocations: 0 / 442.3 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.161e-05/0.1029, allocations: 16.02 kB / 442.3 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.1029, allocations: 0 / 442.3 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.1029, allocations: 3.938 kB / 442.3 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1029, allocations: 4.422 kB / 442.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.103, allocations: 0 / 442.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.1032, allocations: 221.9 kB / 442.6 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.617e-05/0.1032, allocations: 100.9 kB / 442.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.1033, allocations: 4 kB / 442.7 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/0.1034, allocations: 0 / 442.7 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.1034, allocations: 7.984 kB / 442.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.1034, allocations: 8 kB / 442.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001526/0.1036, allocations: 196 kB / 442.9 MB, free: 12.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1036, allocations: 0 / 442.9 MB, free: 12.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.1038, allocations: 27.98 kB / 442.9 MB, free: 12.05 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.000921/0.1048, allocations: 467 kB / 443.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001517/0.1049, allocations: 51.98 kB / 443.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1049, allocations: 0 / 443.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.628e-05/0.105, allocations: 35.98 kB / 443.4 MB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.1052, allocations: 27.92 kB / 443.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004664/0.1057, allocations: 295 kB / 443.8 MB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.106, allocations: 0.7199 MB / 444.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.39e-05/0.1061, allocations: 25.17 kB / 444.5 MB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/0.1061, allocations: 15.44 kB / 444.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of SimCode: time 2.335e-06/0.1061, allocations: 4 kB / 444.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of Templates: time 0.004027/0.1101, allocations: 1.614 MB / 446.1 MB, free: 8.777 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) Environment - environmentSimulation: