Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.008751/0.008751, allocations: 173.7 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.4 MB / 222.5 MB, free: 5.785 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.4262/0.4262, allocations: 39.99 MB / 310.7 MB, free: 9.734 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.0006121/0.0006123, allocations: 12.52 kB / 379.5 MB, free: 12.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1977, allocations: 57.96 MB / 437.4 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.004797/0.2026, allocations: 1.37 MB / 438.8 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.2054, allocations: 0.7574 MB / 439.5 MB, free: 92 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.2056, allocations: 4 kB / 439.5 MB, free: 88 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000602/0.2063, allocations: 55.8 kB / 439.6 MB, free: 32 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004363/0.2067, allocations: 59.89 kB / 439.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005155/0.2073, allocations: 75.7 kB / 439.7 MB, free: 15.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003396/0.2076, allocations: 91.69 kB / 439.8 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.798e-05/0.2077, allocations: 15.97 kB / 439.8 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.208, allocations: 39.8 kB / 439.9 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.2082, allocations: 47.81 kB / 439.9 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.2082, allocations: 0 / 439.9 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.2084, allocations: 24 kB / 439.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.2085, allocations: 19.86 kB / 440 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.2087, allocations: 53.5 kB / 440 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003493/0.2091, allocations: 99.92 kB / 440.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2091, allocations: 0 / 440.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.098e-06/0.2091, allocations: 0 / 440.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.2091, allocations: 4 kB / 440.1 MB, free: 15.5 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0009796/0.2101, allocations: 399.1 kB / 440.5 MB, free: 15.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.899e-05/0.2102, allocations: 8.031 kB / 440.5 MB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.522e-05/0.2103, allocations: 8.844 kB / 440.5 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005671/0.2109, allocations: 204.1 kB / 440.7 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.211, allocations: 384 / 440.7 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.211, allocations: 8.062 kB / 440.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/0.2114, allocations: 53.67 kB / 440.8 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.2114, allocations: 4 kB / 440.8 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.2114, allocations: 0 / 440.8 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.2115, allocations: 0 / 440.8 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.2116, allocations: 15.98 kB / 440.8 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.212, allocations: 181.6 kB / 441 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.2123, allocations: 54.55 kB / 441 MB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.2124, allocations: 28.8 kB / 441.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.2125, allocations: 0 / 441.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003239/0.2128, allocations: 67.39 kB / 441.1 MB, free: 14.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.645e-06/0.2129, allocations: 0 / 441.1 MB, free: 14.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000534/0.2134, allocations: 93.56 kB / 441.2 MB, free: 14.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.622e-05/0.2135, allocations: 59.34 kB / 441.3 MB, free: 14.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003277/0.2138, allocations: 178.2 kB / 441.5 MB, free: 13.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.2139, allocations: 29.7 kB / 441.5 MB, free: 13.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.855e-05/0.214, allocations: 100.1 kB / 441.6 MB, free: 13.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.359e-05/0.2141, allocations: 11.81 kB / 441.6 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/0.2141, allocations: 17.7 kB / 441.6 MB, free: 13.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.2143, allocations: 322.8 kB / 441.9 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.087e-05/0.2144, allocations: 12 kB / 441.9 MB, free: 13.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.2145, allocations: 29.7 kB / 442 MB, free: 13.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.2148, allocations: 45.7 kB / 442 MB, free: 13.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.2148, allocations: 0 / 442 MB, free: 13.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002693/0.2151, allocations: 97.39 kB / 442.1 MB, free: 13.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.2151, allocations: 4 kB / 442.1 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.2151, allocations: 0 / 442.1 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.2152, allocations: 0 / 442.1 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.2153, allocations: 12 kB / 442.1 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/0.2153, allocations: 7.922 kB / 442.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.13e-05/0.2154, allocations: 7.938 kB / 442.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.2154, allocations: 4 kB / 442.1 MB, free: 13.24 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001646/0.2156, allocations: 121.8 kB / 442.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.2157, allocations: 7.906 kB / 442.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.634e-05/0.2157, allocations: 16.45 kB / 442.3 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.2158, allocations: 4 kB / 442.3 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.2158, allocations: 0 / 442.3 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.2158, allocations: 0 / 442.3 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.2162, allocations: 185.5 kB / 442.5 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2162, allocations: 8 kB / 442.5 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.701e-05/0.2162, allocations: 3.984 kB / 442.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.259e-05/0.2163, allocations: 4 kB / 442.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.2163, allocations: 3.938 kB / 442.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.2163, allocations: 320 / 442.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.2163, allocations: 3.984 kB / 442.5 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.2167, allocations: 116.9 kB / 442.6 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.961e-05/0.2168, allocations: 88.92 kB / 442.7 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.2168, allocations: 4 kB / 442.7 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.78e-05/0.2169, allocations: 7.984 kB / 442.7 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.97e-05/0.217, allocations: 4 kB / 442.7 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.217, allocations: 4 kB / 442.7 MB, free: 12.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002195/0.2173, allocations: 144 kB / 442.9 MB, free: 12.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.2173, allocations: 0 / 442.9 MB, free: 12.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000383/0.2177, allocations: 12 kB / 442.9 MB, free: 12.42 MB / 382.1 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.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001843/0.2195, allocations: 417 kB / 443.3 MB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002836/0.2198, allocations: 39.92 kB / 443.3 MB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2199, allocations: 0 / 443.3 MB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.22, allocations: 19.98 kB / 443.3 MB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004865/0.2205, allocations: 27.92 kB / 443.4 MB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008261/0.2213, allocations: 225.1 kB / 443.6 MB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005565/0.2219, allocations: 0.6965 MB / 444.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.101e-05/0.222, allocations: 12.55 kB / 444.3 MB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.2221, allocations: 15.44 kB / 444.3 MB, free: 10.95 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.2221, allocations: 4 kB / 444.3 MB, free: 10.95 MB / 382.1 MB Notification: Performance of Templates: time 0.007888/0.23, allocations: 1.409 MB / 445.7 MB, free: 9.539 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) Environment - environmentSimulation: