Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.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.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01066/0.01066, allocations: 170.8 kB / 15.11 MB, free: 5.969 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.573/1.573, allocations: 223.2 MB / 239 MB, free: 52 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.001266/0.001266, allocations: 101.4 kB / 290.2 MB, free: 4.566 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002578/0.002578, allocations: 0.5572 MB / 341.9 MB, free: 12.4 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004635/0.0004637, allocations: 8 kB / 402.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3667, allocations: 50.56 MB / 453.5 MB, free: 80.11 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.111/0.4777, allocations: 75.15 MB / 0.5163 GB, free: 4.855 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.478, allocations: 67.95 kB / 0.5163 GB, free: 4.789 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001282/0.4793, allocations: 0.5766 MB / 0.5169 GB, free: 4.211 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.4793, allocations: 7.938 kB / 0.5169 GB, free: 4.203 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.4793, allocations: 4 kB / 0.5169 GB, free: 4.199 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.0002827/0.4796, allocations: 323.4 kB / 0.5172 GB, free: 3.836 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.4797, allocations: 8.031 kB / 0.5172 GB, free: 3.828 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.4797, allocations: 19.84 kB / 0.5172 GB, free: 3.809 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.92e-05/0.4798, allocations: 159.1 kB / 0.5174 GB, free: 3.613 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.4798, allocations: 4.188 kB / 0.5174 GB, free: 3.609 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.4799, allocations: 11.92 kB / 0.5174 GB, free: 3.598 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.48, allocations: 45.69 kB / 0.5174 GB, free: 3.547 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.48, allocations: 0 / 0.5174 GB, free: 3.547 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.48, allocations: 8 kB / 0.5174 GB, free: 3.539 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.4801, allocations: 0 / 0.5174 GB, free: 3.539 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.176e-05/0.4801, allocations: 15.94 kB / 0.5175 GB, free: 3.523 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002669/0.4804, allocations: 244.9 kB / 0.5177 GB, free: 3.234 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.531e-05/0.4805, allocations: 58.56 kB / 0.5178 GB, free: 3.168 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.4805, allocations: 4 kB / 0.5178 GB, free: 3.164 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.4805, allocations: 33.91 kB / 0.5178 GB, free: 3.125 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.4805, allocations: 0 / 0.5178 GB, free: 3.125 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006601/0.4812, allocations: 0.4982 MB / 0.5183 GB, free: 2.531 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.4812, allocations: 51.41 kB / 0.5183 GB, free: 2.469 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.467e-05/0.4813, allocations: 96.98 kB / 0.5184 GB, free: 2.367 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.4813, allocations: 29.7 kB / 0.5184 GB, free: 2.332 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.597e-05/0.4813, allocations: 84.14 kB / 0.5185 GB, free: 2.246 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.4814, allocations: 27.56 kB / 0.5185 GB, free: 2.219 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-06/0.4814, allocations: 4 kB / 0.5186 GB, free: 2.215 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.357e-05/0.4814, allocations: 314.8 kB / 0.5189 GB, free: 1.898 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.451e-05/0.4815, allocations: 15.94 kB / 0.5189 GB, free: 1.883 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.713e-05/0.4815, allocations: 33.7 kB / 0.5189 GB, free: 1.844 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.4817, allocations: 202.1 kB / 0.5191 GB, free: 1.609 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4817, allocations: 0 / 0.5191 GB, free: 1.609 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000135/0.4819, allocations: 107.1 kB / 0.5192 GB, free: 1.496 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.4819, allocations: 5.562 kB / 0.5192 GB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.4819, allocations: 0 / 0.5192 GB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001107/0.482, allocations: 20.84 kB / 0.5192 GB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-05/0.4821, allocations: 8 kB / 0.5192 GB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007611/0.4829, allocations: 1.3 MB / 0.5205 GB, free: 24 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/0.4829, allocations: 0 / 0.5205 GB, free: 24 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.4829, allocations: 8.125 kB / 0.5205 GB, free: 16 kB / 346.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: x1 = 0.0 v1 = 0.0. 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 (8): * Single equations (assignments): 7 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001751/0.4831, allocations: 121.8 kB / 0.5206 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.4831, allocations: 3.906 kB / 0.5206 GB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.4832, allocations: 11.97 kB / 0.5206 GB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.4832, allocations: 0 / 0.5206 GB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-06/0.4832, allocations: 0 / 0.5206 GB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.4832, allocations: 3.984 kB / 0.5206 GB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004406/0.4836, allocations: 373.8 kB / 0.521 GB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.4836, allocations: 0 / 0.521 GB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.211e-05/0.4837, allocations: 11.94 kB / 0.521 GB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.71e-05/0.4838, allocations: 24.84 kB / 0.521 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.4838, allocations: 3.953 kB / 0.521 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009849/0.4848, allocations: 1.3 MB / 0.5223 GB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4848, allocations: 64 / 0.5223 GB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.4851, allocations: 264 kB / 0.5226 GB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.4851, allocations: 81.14 kB / 0.5226 GB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-06/0.4851, allocations: 0 / 0.5226 GB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-05/0.4852, allocations: 8.062 kB / 0.5226 GB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.4853, allocations: 11.94 kB / 0.5227 GB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.4853, allocations: 4 kB / 0.5227 GB, free: 13.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.323e-05/0.4853, allocations: 79.28 kB / 0.5227 GB, free: 13.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.415e-06/0.4853, allocations: 0 / 0.5227 GB, free: 13.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000232/0.4856, allocations: 19.94 kB / 0.5228 GB, free: 13.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001299/0.4857, allocations: 110.8 kB / 0.5229 GB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003146/0.486, allocations: 158.7 kB / 0.523 GB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.486, allocations: 0 / 0.523 GB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.4862, allocations: 146.6 kB / 0.5232 GB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.4864, allocations: 1.312 kB / 0.5232 GB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003604/0.4867, allocations: 206.1 kB / 0.5233 GB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.487, allocations: 0.6887 MB / 0.524 GB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.132e-05/0.4871, allocations: 192 / 0.524 GB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.694e-05/0.4871, allocations: 11.44 kB / 0.524 GB, free: 12.03 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4871, allocations: 0 / 0.524 GB, free: 12.03 MB / 362.7 MB Notification: Performance of Templates: time 0.002723/0.4898, allocations: 0.6337 MB / 0.5247 GB, free: 11.44 MB / 362.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1)