Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009443/0.0009443, allocations: 100 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.001218/0.001218, 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.285/1.285, allocations: 205.4 MB / 222.1 MB, free: 5.879 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.2837/0.2837, allocations: 40 MB / 310.4 MB, free: 9.828 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.0004862/0.0004866, allocations: 15.98 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09383/0.09433, allocations: 57.96 MB / 436.8 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.001958/0.09632, allocations: 1.374 MB / 438.2 MB, free: 1.211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.09744, allocations: 0.7344 MB / 438.9 MB, free: 480 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.447e-05/0.09753, allocations: 0 / 438.9 MB, free: 480 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.09775, allocations: 31.84 kB / 438.9 MB, free: 448 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.09793, allocations: 43.88 kB / 439 MB, free: 404 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.09816, allocations: 75.78 kB / 439 MB, free: 328 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.09831, allocations: 59.86 kB / 439.1 MB, free: 268 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.768e-05/0.09841, allocations: 24.19 kB / 439.1 MB, free: 244 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.483e-05/0.09849, allocations: 31.86 kB / 439.2 MB, free: 212 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.177e-05/0.09856, allocations: 27.84 kB / 439.2 MB, free: 184 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.09857, allocations: 0 / 439.2 MB, free: 184 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.968e-05/0.09866, allocations: 39.8 kB / 439.2 MB, free: 144 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.415e-05/0.09871, allocations: 19.98 kB / 439.2 MB, free: 124 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.268e-05/0.09876, allocations: 37.64 kB / 439.3 MB, free: 80 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.0989, allocations: 88.16 kB / 439.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.09891, allocations: 4 kB / 439.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.09892, allocations: 0 / 439.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.09893, allocations: 0 / 439.4 MB, free: 15.98 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.0004533/0.09939, allocations: 406.7 kB / 439.8 MB, free: 15.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.09942, allocations: 8.031 kB / 439.8 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.09947, allocations: 15.91 kB / 439.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.0997, allocations: 207.5 kB / 440 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.09973, allocations: 0 / 440 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.09975, allocations: 0 / 440 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.09991, allocations: 53.67 kB / 440 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.09997, allocations: 7.906 kB / 440 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.09998, allocations: 0 / 440 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.09999, allocations: 3.953 kB / 440.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.238e-05/0.1001, allocations: 27.92 kB / 440.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.1004, allocations: 281 kB / 440.4 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.1006, allocations: 54.67 kB / 440.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.1006, allocations: 0 / 440.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.1008, allocations: 71.41 kB / 440.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1008, allocations: 0 / 440.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004863/0.1013, allocations: 181.1 kB / 440.7 MB, free: 14.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.1013, allocations: 55.41 kB / 440.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.1015, allocations: 191.3 kB / 440.9 MB, free: 14.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.1015, allocations: 29.7 kB / 440.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/0.1016, allocations: 100.1 kB / 441 MB, free: 14.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.1016, allocations: 27.69 kB / 441 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.1017, allocations: 4 kB / 441.1 MB, free: 14.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1018, allocations: 326.8 kB / 441.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.167e-05/0.1018, allocations: 16 kB / 441.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.49e-05/0.1019, allocations: 33.7 kB / 441.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.554e-05/0.102, allocations: 24 kB / 441.4 MB, free: 13.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.102, allocations: 0 / 441.4 MB, free: 13.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001709/0.1021, allocations: 105.4 kB / 441.5 MB, free: 13.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1022, allocations: 8.141 kB / 441.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.1022, allocations: 32 / 441.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1022, allocations: 11.94 kB / 441.6 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.484e-05/0.1023, allocations: 16.36 kB / 441.6 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.1023, allocations: 0 / 441.6 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.987e-05/0.1024, allocations: 15.88 kB / 441.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.1024, allocations: 4 kB / 441.6 MB, free: 13.53 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.427e-05/0.1025, allocations: 129.8 kB / 441.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.1025, allocations: 7.906 kB / 441.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.1025, allocations: 25.36 kB / 441.8 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1026, allocations: 4 kB / 441.8 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1026, allocations: 0 / 441.8 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1026, allocations: 3.984 kB / 441.8 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.103, allocations: 395.2 kB / 442.2 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.103, allocations: 0 / 442.2 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.467e-05/0.103, allocations: 12 kB / 442.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1031, allocations: 0 / 442.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1031, allocations: 4 kB / 442.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1031, allocations: 4.031 kB / 442.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1031, allocations: 0 / 442.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.1033, allocations: 222.1 kB / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.1034, allocations: 85.02 kB / 442.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.1034, allocations: 3.984 kB / 442.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.919e-05/0.1035, allocations: 15.98 kB / 442.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.1035, allocations: 4 kB / 442.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.1036, allocations: 4 kB / 442.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.1037, allocations: 152.9 kB / 442.6 MB, free: 12.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1037, allocations: 0 / 442.6 MB, free: 12.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1039, allocations: 27.89 kB / 442.7 MB, free: 12.34 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.0009164/0.1049, allocations: 468.1 kB / 443.1 MB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.1051, allocations: 59.91 kB / 443.2 MB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1051, allocations: 0 / 443.2 MB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.012e-05/0.1051, allocations: 31.92 kB / 443.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.1054, allocations: 32.05 kB / 443.3 MB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.1058, allocations: 238.4 kB / 443.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.1061, allocations: 0.7121 MB / 444.2 MB, free: 10.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.275e-05/0.1061, allocations: 17.17 kB / 444.2 MB, free: 10.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/0.1061, allocations: 15.44 kB / 444.2 MB, free: 10.75 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1062, allocations: 0 / 444.2 MB, free: 10.75 MB / 382.1 MB Notification: Performance of Templates: time 0.003768/0.1099, allocations: 1.591 MB / 445.8 MB, free: 9.156 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) Environment - environmentSimulation: