Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009351/0.0009357, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0011/0.0011, allocations: 168.7 kB / 15.95 MB, free: 204 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.95/1.95, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.5269/0.5269, allocations: 40 MB / 310.4 MB, free: 9.949 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.0008591/0.0008594, allocations: 20 kB / 378.9 MB, free: 12.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2111, allocations: 57.94 MB / 436.8 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003338/0.2145, allocations: 1.475 MB / 438.3 MB, free: 1.078 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.2167, allocations: 0.8163 MB / 439.1 MB, free: 260 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000226/0.217, allocations: 3.938 kB / 439.1 MB, free: 256 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008353/0.2179, allocations: 299.4 kB / 439.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005214/0.2184, allocations: 191.5 kB / 439.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000505/0.2189, allocations: 127.7 kB / 439.7 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003355/0.2193, allocations: 203.4 kB / 439.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.2194, allocations: 21.53 kB / 439.9 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.2196, allocations: 111.6 kB / 440 MB, free: 15.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002534/0.2199, allocations: 167.5 kB / 440.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.2199, allocations: 4 kB / 440.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.22, allocations: 43.92 kB / 440.2 MB, free: 15.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.2202, allocations: 131.6 kB / 440.4 MB, free: 14.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.778e-05/0.2203, allocations: 77.45 kB / 440.4 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.2207, allocations: 267.8 kB / 440.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.292e-05/0.2207, allocations: 7.984 kB / 440.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.2208, allocations: 0 / 440.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.2208, allocations: 0 / 440.7 MB, free: 14.62 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001127/0.2219, allocations: 0.6803 MB / 441.4 MB, free: 13.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/0.222, allocations: 8.031 kB / 441.4 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.81e-05/0.2221, allocations: 55.34 kB / 441.4 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006064/0.2227, allocations: 423.1 kB / 441.9 MB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.2227, allocations: 4 kB / 441.9 MB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.2228, allocations: 3.984 kB / 441.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.223, allocations: 79.38 kB / 441.9 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.223, allocations: 8 kB / 442 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.223, allocations: 0 / 442 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.2231, allocations: 3.953 kB / 442 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.2232, allocations: 35.91 kB / 442 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004705/0.2237, allocations: 378.3 kB / 442.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.224, allocations: 101.2 kB / 442.5 MB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.141e-05/0.2241, allocations: 45.64 kB / 442.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.2241, allocations: 7.984 kB / 442.5 MB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002993/0.2244, allocations: 101.1 kB / 442.6 MB, free: 12.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.2244, allocations: 4 kB / 442.6 MB, free: 12.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.000519/0.2249, allocations: 189 kB / 442.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.532e-05/0.225, allocations: 85.06 kB / 442.9 MB, free: 12.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.2262, allocations: 1.042 MB / 443.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.2263, allocations: 33.64 kB / 444 MB, free: 11.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.2265, allocations: 232.1 kB / 444.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.084e-05/0.2266, allocations: 35.62 kB / 444.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.2266, allocations: 0 / 444.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.2268, allocations: 370.8 kB / 444.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.504e-05/0.2269, allocations: 23.98 kB / 444.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.352e-05/0.227, allocations: 55.41 kB / 444.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.319e-05/0.2271, allocations: 32 kB / 444.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.2271, allocations: 0 / 444.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002899/0.2274, allocations: 176.9 kB / 444.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.2274, allocations: 7.938 kB / 444.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2274, allocations: 0 / 444.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.2275, allocations: 4 kB / 444.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.2276, allocations: 20.61 kB / 444.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.2276, allocations: 3.953 kB / 444.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.872e-05/0.2277, allocations: 16 kB / 444.9 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.2277, allocations: 11.98 kB / 444.9 MB, free: 10.12 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000235/0.228, allocations: 225.6 kB / 445.1 MB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.541e-05/0.228, allocations: 47.34 kB / 445.2 MB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.593e-05/0.2281, allocations: 64 kB / 445.3 MB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2281, allocations: 0 / 445.3 MB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.2282, allocations: 7.984 kB / 445.3 MB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.2282, allocations: 3.953 kB / 445.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.2285, allocations: 329.5 kB / 445.6 MB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2285, allocations: 8 kB / 445.6 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.273e-05/0.2286, allocations: 7.984 kB / 445.6 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.2286, allocations: 4 kB / 445.6 MB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.2286, allocations: 0 / 445.6 MB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2286, allocations: 0 / 445.6 MB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2286, allocations: 4 kB / 445.6 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.2289, allocations: 201.2 kB / 445.8 MB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.2291, allocations: 144.5 kB / 446 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.2291, allocations: 0 / 446 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.567e-05/0.2292, allocations: 11.98 kB / 446 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/0.2293, allocations: 7.984 kB / 446 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.2293, allocations: 8 kB / 446 MB, free: 8.969 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008224/0.2301, allocations: 0.7683 MB / 446.7 MB, free: 8.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2301, allocations: 3.938 kB / 446.8 MB, free: 8.199 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003174/0.2305, allocations: 47.86 kB / 446.8 MB, free: 8.152 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001023/0.2315, allocations: 429.5 kB / 447.2 MB, free: 7.758 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002634/0.2318, allocations: 83.89 kB / 447.3 MB, free: 7.676 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2318, allocations: 0 / 447.3 MB, free: 7.676 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.833e-05/0.2319, allocations: 39.92 kB / 447.3 MB, free: 7.637 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.2323, allocations: 66.06 kB / 447.4 MB, free: 7.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.2337, allocations: 0.9128 MB / 448.3 MB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005249/0.2342, allocations: 0.843 MB / 449.2 MB, free: 5.758 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.2343, allocations: 58.94 kB / 449.2 MB, free: 5.699 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.865e-05/0.2344, allocations: 23.44 kB / 449.2 MB, free: 5.676 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2344, allocations: 0 / 449.2 MB, free: 5.676 MB / 382.1 MB Notification: Performance of Templates: time 0.008036/0.2425, allocations: 3.403 MB / 452.6 MB, free: 2.277 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) Environment - environmentSimulation: