Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001082/0.001082, allocations: 187.3 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.396/1.396, allocations: 194.3 MB / 202.4 MB, free: 8.535 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001687/0.001688, allocations: 118 kB / 247.4 MB, free: 6.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2002/0.2002, allocations: 39.94 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.599e-05/1.6e-05, allocations: 0.5469 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09244/0.09247, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.36/0.4525, allocations: 79.05 MB / 0.5149 GB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001901/0.4527, allocations: 63.33 kB / 0.5149 GB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003564/0.4563, allocations: 1.651 MB / 0.5165 GB, free: 10 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4563, allocations: 0 / 0.5165 GB, free: 10 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.4564, allocations: 4 kB / 0.5165 GB, free: 9.996 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001911/0.4565, allocations: 353.8 kB / 0.5169 GB, free: 9.613 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.4566, allocations: 11.53 kB / 0.5169 GB, free: 9.613 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.4566, allocations: 7.859 kB / 0.5169 GB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.996e-05/0.4567, allocations: 159.1 kB / 0.5171 GB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.4567, allocations: 0 / 0.5171 GB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.4567, allocations: 0 / 0.5171 GB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.178e-05/0.4568, allocations: 3.969 kB / 0.5171 GB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.527e-05/0.4568, allocations: 28.09 kB / 0.5171 GB, free: 9.379 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.4568, allocations: 4 kB / 0.5171 GB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.4568, allocations: 0 / 0.5171 GB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.4568, allocations: 3.953 kB / 0.5171 GB, free: 9.371 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.45e-05/0.4569, allocations: 137.9 kB / 0.5172 GB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.032e-05/0.457, allocations: 17.16 kB / 0.5172 GB, free: 9.184 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.103e-05/0.457, allocations: 4.859 kB / 0.5172 GB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.502e-06/0.457, allocations: 0 / 0.5172 GB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.457, allocations: 64.11 kB / 0.5173 GB, free: 9.102 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.457, allocations: 0 / 0.5173 GB, free: 9.102 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001478/0.4572, allocations: 36.38 kB / 0.5173 GB, free: 9.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.4572, allocations: 80.95 kB / 0.5174 GB, free: 8.977 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.79e-05/0.4573, allocations: 85 kB / 0.5175 GB, free: 8.887 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.343e-06/0.4573, allocations: 26.69 kB / 0.5175 GB, free: 8.855 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.384e-05/0.4573, allocations: 80.14 kB / 0.5176 GB, free: 8.773 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.4573, allocations: 3.938 kB / 0.5176 GB, free: 8.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-06/0.4573, allocations: 4.031 kB / 0.5176 GB, free: 8.766 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.354e-05/0.4574, allocations: 314.8 kB / 0.5179 GB, free: 8.449 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.951e-06/0.4574, allocations: 0 / 0.5179 GB, free: 8.449 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.088e-06/0.4574, allocations: 3.844 kB / 0.5179 GB, free: 8.449 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.433e-05/0.4574, allocations: 0 / 0.5179 GB, free: 8.449 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4574, allocations: 0 / 0.5179 GB, free: 8.449 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.113e-05/0.4575, allocations: 41.11 kB / 0.5179 GB, free: 8.418 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.4575, allocations: 29.55 kB / 0.518 GB, free: 8.387 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.4575, allocations: 0 / 0.518 GB, free: 8.387 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.4575, allocations: 4.094 kB / 0.518 GB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.694e-06/0.4575, allocations: 3.234 kB / 0.518 GB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.4575, allocations: 4.391 kB / 0.518 GB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.203e-05/0.4576, allocations: 0 / 0.518 GB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.4576, allocations: 0 / 0.518 GB, free: 8.383 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 4.764e-05/0.4576, allocations: 134.5 kB / 0.5181 GB, free: 8.242 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-06/0.4576, allocations: 0 / 0.5181 GB, free: 8.242 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.159e-05/0.4577, allocations: 11.64 kB / 0.5181 GB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.91e-07/0.4577, allocations: 0 / 0.5181 GB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.4577, allocations: 6.016 kB / 0.5181 GB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.4577, allocations: 0 / 0.5181 GB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.409e-05/0.4577, allocations: 136.2 kB / 0.5183 GB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4577, allocations: 0 / 0.5183 GB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.323e-06/0.4577, allocations: 7.891 kB / 0.5183 GB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.4577, allocations: 0 / 0.5183 GB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.4578, allocations: 0 / 0.5183 GB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.4578, allocations: 0 / 0.5183 GB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4578, allocations: 0 / 0.5183 GB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.764e-05/0.4578, allocations: 66.89 kB / 0.5183 GB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.351e-05/0.4579, allocations: 77.11 kB / 0.5184 GB, free: 7.902 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.4579, allocations: 6.25 kB / 0.5184 GB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.135e-06/0.4579, allocations: 0 / 0.5184 GB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.158e-05/0.4579, allocations: 3.844 kB / 0.5184 GB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-06/0.4579, allocations: 0 / 0.5184 GB, free: 7.898 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.453e-05/0.4579, allocations: 79.03 kB / 0.5185 GB, free: 7.824 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4579, allocations: 0 / 0.5185 GB, free: 7.824 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002519/0.4582, allocations: 25.66 kB / 0.5185 GB, free: 7.816 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0004225/0.4586, allocations: 280.2 kB / 0.5188 GB, free: 7.637 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.284e-05/0.4587, allocations: 59.25 kB / 0.5188 GB, free: 7.574 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4587, allocations: 0 / 0.5188 GB, free: 7.574 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.429e-05/0.4587, allocations: 57.64 kB / 0.5189 GB, free: 7.512 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.589e-05/0.4588, allocations: 0 / 0.5189 GB, free: 7.512 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001104/0.4589, allocations: 42.03 kB / 0.5189 GB, free: 7.453 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.246e-05/0.459, allocations: 0.6753 MB / 0.5196 GB, free: 6.758 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.829e-06/0.459, allocations: 0 / 0.5196 GB, free: 6.758 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.364e-06/0.4591, allocations: 7.562 kB / 0.5196 GB, free: 6.75 MB / 346.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4591, allocations: 4 kB / 0.5196 GB, free: 6.746 MB / 346.7 MB Notification: Performance of Templates: time 0.002376/0.4614, allocations: 0.7571 MB / 0.5203 GB, free: 6.621 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.sim & ./ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.pipe 2>&1)