Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009117/0.0009117, allocations: 99.86 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.001029/0.001029, 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.273/1.273, allocations: 205.4 MB / 222.1 MB, free: 5.543 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.2836/0.2836, allocations: 39.99 MB / 310.4 MB, free: 10.11 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.0005459/0.0005459, allocations: 16 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09497/0.09553, allocations: 57.96 MB / 436.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.001741/0.09731, allocations: 1.37 MB / 438.1 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.0984, allocations: 0.7421 MB / 438.9 MB, free: 440 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.95e-05/0.09849, allocations: 0 / 438.9 MB, free: 440 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.09872, allocations: 35.81 kB / 438.9 MB, free: 404 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.0989, allocations: 39.89 kB / 439 MB, free: 364 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.09914, allocations: 71.78 kB / 439 MB, free: 292 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.09928, allocations: 63.84 kB / 439.1 MB, free: 228 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.394e-05/0.09937, allocations: 16.22 kB / 439.1 MB, free: 212 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.418e-05/0.09945, allocations: 35.84 kB / 439.1 MB, free: 176 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.357e-05/0.09952, allocations: 27.86 kB / 439.2 MB, free: 148 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.09954, allocations: 0 / 439.2 MB, free: 148 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.916e-05/0.09962, allocations: 31.92 kB / 439.2 MB, free: 116 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.765e-05/0.09967, allocations: 23.91 kB / 439.2 MB, free: 92 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.493e-05/0.09971, allocations: 37.64 kB / 439.3 MB, free: 48 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.09987, allocations: 84.25 kB / 439.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.09988, allocations: 0 / 439.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.09988, allocations: 0 / 439.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.0999, allocations: 4 kB / 439.3 MB, free: 15.96 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.0004598/0.1004, allocations: 406.6 kB / 439.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.1004, allocations: 12.03 kB / 439.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.1004, allocations: 11.91 kB / 439.8 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.1007, allocations: 211.5 kB / 440 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.1007, allocations: 0 / 440 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.1007, allocations: 7.906 kB / 440 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.1008, allocations: 53.67 kB / 440 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.1009, allocations: 4 kB / 440 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.1009, allocations: 0 / 440 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1009, allocations: 3.953 kB / 440 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.661e-05/0.101, allocations: 19.98 kB / 440.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.1013, allocations: 288.8 kB / 440.3 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.1015, allocations: 54.67 kB / 440.4 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.1015, allocations: 4 kB / 440.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.1016, allocations: 75.41 kB / 440.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.1017, allocations: 0 / 440.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004832/0.1021, allocations: 177.2 kB / 440.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.1022, allocations: 55.34 kB / 440.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.1024, allocations: 191.3 kB / 440.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.1024, allocations: 29.7 kB / 440.9 MB, free: 14.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.1025, allocations: 108.1 kB / 441 MB, free: 14.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.1025, allocations: 19.72 kB / 441 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.1025, allocations: 0 / 441 MB, free: 14.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1026, allocations: 326.8 kB / 441.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.132e-05/0.1027, allocations: 15.98 kB / 441.4 MB, free: 13.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.758e-05/0.1027, allocations: 33.7 kB / 441.4 MB, free: 13.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.523e-05/0.1028, allocations: 32 kB / 441.4 MB, free: 13.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1028, allocations: 0 / 441.4 MB, free: 13.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001747/0.103, allocations: 101.4 kB / 441.5 MB, free: 13.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.103, allocations: 7.953 kB / 441.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.103, allocations: 0 / 441.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.103, allocations: 4 kB / 441.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.114e-05/0.1031, allocations: 15.98 kB / 441.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.1031, allocations: 3.938 kB / 441.6 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.738e-05/0.1032, allocations: 8 kB / 441.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.1032, allocations: 8.031 kB / 441.6 MB, free: 13.5 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.869e-05/0.1033, allocations: 129.7 kB / 441.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.1033, allocations: 7.906 kB / 441.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.129e-05/0.1034, allocations: 25.5 kB / 441.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1034, allocations: 0 / 441.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1034, allocations: 0 / 441.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1034, allocations: 0 / 441.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004399/0.1038, allocations: 411.5 kB / 442.2 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1039, allocations: 0 / 442.2 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.38e-05/0.1039, allocations: 12 kB / 442.2 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1039, allocations: 0 / 442.2 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1039, allocations: 8 kB / 442.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1039, allocations: 192 / 442.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1039, allocations: 0 / 442.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.1042, allocations: 225.9 kB / 442.4 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.1042, allocations: 92.91 kB / 442.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.1042, allocations: 0 / 442.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.1043, allocations: 8 kB / 442.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.1044, allocations: 7.984 kB / 442.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.1044, allocations: 4 kB / 442.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.1045, allocations: 152.9 kB / 442.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1045, allocations: 0 / 442.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1048, allocations: 31.98 kB / 442.7 MB, free: 12.29 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.0009421/0.1058, allocations: 452.6 kB / 443.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001663/0.1059, allocations: 63.92 kB / 443.2 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.106, allocations: 0 / 443.2 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.721e-05/0.106, allocations: 27.92 kB / 443.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.1063, allocations: 27.94 kB / 443.2 MB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.1067, allocations: 242.5 kB / 443.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.107, allocations: 0.7082 MB / 444.2 MB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.193e-05/0.107, allocations: 21.17 kB / 444.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.1071, allocations: 15.44 kB / 444.2 MB, free: 10.71 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1071, allocations: 0 / 444.2 MB, free: 10.71 MB / 382.1 MB Notification: Performance of Templates: time 0.003986/0.1111, allocations: 1.599 MB / 445.8 MB, free: 9.117 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) Environment - environmentSimulation: