Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTestOverdetermined 4.0.0-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008022/0.008022, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 223.2 MB / 239 MB, free: 72 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 96.7 kB / 290.2 MB, free: 4.551 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003831/0.003831, allocations: 0.5623 MB / 341.9 MB, free: 12.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004629/0.0004631, allocations: 12 kB / 402.9 MB, free: 15.28 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3666, allocations: 50.55 MB / 453.5 MB, free: 80.11 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1083/0.475, allocations: 75.2 MB / 0.5163 GB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.4753, allocations: 71.58 kB / 0.5164 GB, free: 4.746 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001567/0.4769, allocations: 0.6197 MB / 0.517 GB, free: 4.125 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4769, allocations: 0 / 0.517 GB, free: 4.125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.477, allocations: 4 kB / 0.517 GB, free: 4.121 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003268/0.4773, allocations: 327.4 kB / 0.5173 GB, free: 3.754 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.4774, allocations: 8.031 kB / 0.5173 GB, free: 3.746 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.4774, allocations: 11.86 kB / 0.5173 GB, free: 3.734 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.4775, allocations: 171 kB / 0.5175 GB, free: 3.527 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.4776, allocations: 0 / 0.5175 GB, free: 3.527 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.4776, allocations: 8 kB / 0.5175 GB, free: 3.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.4777, allocations: 41.69 kB / 0.5175 GB, free: 3.473 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.4778, allocations: 0 / 0.5175 GB, free: 3.473 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.4778, allocations: 3.984 kB / 0.5175 GB, free: 3.469 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4778, allocations: 3.938 kB / 0.5175 GB, free: 3.465 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.387e-05/0.4778, allocations: 15.95 kB / 0.5175 GB, free: 3.449 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.4782, allocations: 298.6 kB / 0.5178 GB, free: 3.102 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.458e-05/0.4783, allocations: 45.84 kB / 0.5179 GB, free: 3.051 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.216e-06/0.4784, allocations: 0 / 0.5179 GB, free: 3.051 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.4784, allocations: 34.56 kB / 0.5179 GB, free: 3.008 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4784, allocations: 0 / 0.5179 GB, free: 3.008 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003877/0.4788, allocations: 171.6 kB / 0.5181 GB, free: 2.812 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.4788, allocations: 55.41 kB / 0.5181 GB, free: 2.746 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.315e-05/0.4789, allocations: 89 kB / 0.5182 GB, free: 2.652 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.4789, allocations: 29.7 kB / 0.5182 GB, free: 2.617 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.4789, allocations: 84.12 kB / 0.5183 GB, free: 2.531 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.479, allocations: 15.75 kB / 0.5183 GB, free: 2.516 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.479, allocations: 4 kB / 0.5183 GB, free: 2.512 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.644e-05/0.4791, allocations: 310.8 kB / 0.5186 GB, free: 2.199 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/0.4791, allocations: 15.98 kB / 0.5186 GB, free: 2.184 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/0.4791, allocations: 21.72 kB / 0.5187 GB, free: 2.156 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.813e-05/0.4792, allocations: 8 kB / 0.5187 GB, free: 2.148 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4792, allocations: 0 / 0.5187 GB, free: 2.148 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.298e-05/0.4793, allocations: 65.53 kB / 0.5187 GB, free: 2.078 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.4793, allocations: 7.953 kB / 0.5187 GB, free: 2.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.4793, allocations: 4.125 kB / 0.5187 GB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.4793, allocations: 0 / 0.5187 GB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.815e-05/0.4794, allocations: 24.02 kB / 0.5188 GB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.4794, allocations: 0 / 0.5188 GB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.338e-05/0.4795, allocations: 3.938 kB / 0.5188 GB, free: 2.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.4795, allocations: 4 kB / 0.5188 GB, free: 2.035 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 6.737e-05/0.4795, allocations: 109.8 kB / 0.5189 GB, free: 1.918 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.419e-05/0.4796, allocations: 0 / 0.5189 GB, free: 1.918 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.4796, allocations: 19.44 kB / 0.5189 GB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4797, allocations: 0 / 0.5189 GB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4797, allocations: 0 / 0.5189 GB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4797, allocations: 4 kB / 0.5189 GB, free: 1.891 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.4798, allocations: 157.7 kB / 0.5191 GB, free: 1.688 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4798, allocations: 0 / 0.5191 GB, free: 1.688 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.663e-05/0.4799, allocations: 0 / 0.5191 GB, free: 1.688 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001276/0.48, allocations: 20.84 kB / 0.5191 GB, free: 1.664 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.48, allocations: 0 / 0.5191 GB, free: 1.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007673/0.4808, allocations: 1.261 MB / 0.5203 GB, free: 276 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4808, allocations: 0 / 0.5203 GB, free: 276 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.481, allocations: 172.6 kB / 0.5205 GB, free: 84 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.4811, allocations: 89.11 kB / 0.5206 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.4811, allocations: 7.891 kB / 0.5206 GB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.802e-05/0.4811, allocations: 3.984 kB / 0.5206 GB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/0.4812, allocations: 4 kB / 0.5206 GB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.4812, allocations: 0 / 0.5206 GB, free: 15.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.531e-05/0.4812, allocations: 75.28 kB / 0.5206 GB, free: 15.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.984e-06/0.4812, allocations: 4 kB / 0.5206 GB, free: 15.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002134/0.4814, allocations: 11.94 kB / 0.5207 GB, free: 15.87 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001281/0.4816, allocations: 99.23 kB / 0.5207 GB, free: 15.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.202e-05/0.4817, allocations: 23.94 kB / 0.5208 GB, free: 15.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4817, allocations: 0 / 0.5208 GB, free: 15.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.4819, allocations: 126.7 kB / 0.5209 GB, free: 15.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.482, allocations: 13.25 kB / 0.5209 GB, free: 15.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002817/0.4823, allocations: 147.5 kB / 0.521 GB, free: 15.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.4827, allocations: 0.6887 MB / 0.5217 GB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.937e-05/0.4827, allocations: 0 / 0.5217 GB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.81e-05/0.4828, allocations: 7.438 kB / 0.5217 GB, free: 14.7 MB / 362.7 MB Notification: Performance of SimCode: time 4.9e-07/0.4828, allocations: 4 kB / 0.5217 GB, free: 14.69 MB / 362.7 MB Notification: Performance of Templates: time 0.002483/0.4853, allocations: 438.8 kB / 0.5221 GB, free: 14.3 MB / 362.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1)