Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009158/0.0009161, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009796/0.009796, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.106/2.106, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.4301/0.4301, allocations: 40 MB / 310.7 MB, free: 9.91 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.0006953/0.0006954, allocations: 12 kB / 379.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.1996, allocations: 57.96 MB / 437.4 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.004368/0.2041, allocations: 1.374 MB / 438.8 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002685/0.2068, allocations: 0.7573 MB / 439.6 MB, free: 44 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.207, allocations: 4 kB / 439.6 MB, free: 40 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000629/0.2077, allocations: 51.91 kB / 439.6 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005055/0.2082, allocations: 63.81 kB / 439.7 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005781/0.2089, allocations: 75.78 kB / 439.7 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003775/0.2093, allocations: 87.59 kB / 439.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.2094, allocations: 11.97 kB / 439.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.2096, allocations: 43.78 kB / 439.9 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.2098, allocations: 39.84 kB / 439.9 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.2099, allocations: 0 / 439.9 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.21, allocations: 31.98 kB / 440 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.7e-05/0.2102, allocations: 23.84 kB / 440 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.2103, allocations: 53.52 kB / 440 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003589/0.2107, allocations: 99.91 kB / 440.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.2107, allocations: 0 / 440.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.2107, allocations: 0 / 440.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.2108, allocations: 0 / 440.1 MB, free: 15.46 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.0009191/0.2117, allocations: 395.1 kB / 440.5 MB, free: 15.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.523e-05/0.2118, allocations: 8.031 kB / 440.5 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.498e-05/0.2119, allocations: 8.844 kB / 440.5 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004181/0.2123, allocations: 212.1 kB / 440.7 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.2123, allocations: 4.312 kB / 440.7 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.2124, allocations: 4.125 kB / 440.7 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.2126, allocations: 53.66 kB / 440.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2127, allocations: 0 / 440.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.2127, allocations: 0 / 440.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.2127, allocations: 0 / 440.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.2129, allocations: 15.98 kB / 440.8 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.2132, allocations: 181.6 kB / 441 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.2135, allocations: 58.56 kB / 441 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.792e-05/0.2137, allocations: 24.78 kB / 441.1 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-05/0.2137, allocations: 0 / 441.1 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002865/0.214, allocations: 63.39 kB / 441.1 MB, free: 14.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.124e-06/0.214, allocations: 0 / 441.1 MB, free: 14.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005227/0.2146, allocations: 101.5 kB / 441.2 MB, free: 14.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.2147, allocations: 55.39 kB / 441.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003434/0.215, allocations: 178.2 kB / 441.5 MB, free: 13.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.2151, allocations: 25.7 kB / 441.5 MB, free: 13.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.404e-05/0.2152, allocations: 100.1 kB / 441.6 MB, free: 13.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.255e-05/0.2152, allocations: 19.8 kB / 441.6 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.2153, allocations: 13.72 kB / 441.6 MB, free: 13.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002761/0.2156, allocations: 318.8 kB / 441.9 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.082e-05/0.2157, allocations: 23.92 kB / 441.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.2158, allocations: 33.7 kB / 442 MB, free: 13.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.216, allocations: 37.97 kB / 442 MB, free: 13.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.2161, allocations: 0 / 442 MB, free: 13.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003216/0.2164, allocations: 93.45 kB / 442.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.2164, allocations: 4 kB / 442.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.2165, allocations: 4.031 kB / 442.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.767e-05/0.2165, allocations: 0 / 442.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.2167, allocations: 12 kB / 442.1 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.2167, allocations: 3.938 kB / 442.1 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.234e-05/0.2168, allocations: 7.906 kB / 442.1 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.2168, allocations: 3.984 kB / 442.1 MB, free: 13.2 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.000204/0.217, allocations: 125.8 kB / 442.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.2171, allocations: 7.906 kB / 442.3 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.83e-05/0.2172, allocations: 16.3 kB / 442.3 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2172, allocations: 4 kB / 442.3 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.2172, allocations: 0 / 442.3 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.2173, allocations: 0 / 442.3 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/0.2176, allocations: 189.5 kB / 442.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2176, allocations: 0 / 442.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.211e-05/0.2176, allocations: 0 / 442.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.427e-06/0.2177, allocations: 4 kB / 442.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.2177, allocations: 7.922 kB / 442.5 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2177, allocations: 0 / 442.5 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2177, allocations: 0 / 442.5 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004468/0.2182, allocations: 116.9 kB / 442.6 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.519e-05/0.2183, allocations: 88.92 kB / 442.7 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.2184, allocations: 4 kB / 442.7 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.2185, allocations: 4 kB / 442.7 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.2185, allocations: 3.984 kB / 442.7 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.2186, allocations: 4 kB / 442.7 MB, free: 12.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002117/0.2188, allocations: 144 kB / 442.8 MB, free: 12.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.2188, allocations: 4 kB / 442.9 MB, free: 12.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003768/0.2192, allocations: 16 kB / 442.9 MB, free: 12.38 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.001684/0.2209, allocations: 413.3 kB / 443.3 MB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002671/0.2212, allocations: 43.92 kB / 443.3 MB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2212, allocations: 0 / 443.3 MB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.2213, allocations: 19.98 kB / 443.3 MB, free: 11.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.2218, allocations: 27.98 kB / 443.4 MB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007857/0.2226, allocations: 221 kB / 443.6 MB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000573/0.2232, allocations: 0.7043 MB / 444.3 MB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.2233, allocations: 12.8 kB / 444.3 MB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.402e-05/0.2234, allocations: 19.42 kB / 444.3 MB, free: 10.9 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2234, allocations: 0 / 444.3 MB, free: 10.9 MB / 382.1 MB Notification: Performance of Templates: time 0.00744/0.2309, allocations: 1.401 MB / 445.7 MB, free: 9.5 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) Environment - environmentSimulation: