Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009997/0.0009997, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009508/0.0009508, allocations: 173.7 kB / 23.28 MB, free: 1.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9842/0.9842, allocations: 177.1 MB / 203.7 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.002268/0.002268, allocations: 428.2 kB / 260.7 MB, free: 12.46 MB / 250.7 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 330.6 MB, free: 4.082 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.273e-05, allocations: 2.312 kB / 330.6 MB, free: 4.078 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001034/0.001057, allocations: 0.5452 MB / 331.1 MB, free: 3.535 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001543/0.001212, allocations: 27.84 kB / 331.1 MB, free: 3.508 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.056e-05/0.001242, allocations: 0 / 331.1 MB, free: 3.508 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.981e-05/0.001262, allocations: 3.938 kB / 331.1 MB, free: 3.504 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.674e-05/0.001299, allocations: 0 / 331.1 MB, free: 3.504 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001242/0.001423, allocations: 3.984 kB / 331.1 MB, free: 3.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.113e-05/0.001474, allocations: 19.92 kB / 331.2 MB, free: 3.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.071e-05/0.001515, allocations: 7.984 kB / 331.2 MB, free: 3.473 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.274e-05/0.001557, allocations: 15.98 kB / 331.2 MB, free: 3.457 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.517e-05/0.001623, allocations: 7.984 kB / 331.2 MB, free: 3.449 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.001639, allocations: 0 / 331.2 MB, free: 3.449 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.616e-06/0.001648, allocations: 4 kB / 331.2 MB, free: 3.445 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.001664, allocations: 3.938 kB / 331.2 MB, free: 3.441 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.846e-05/0.001683, allocations: 11.98 kB / 331.2 MB, free: 3.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.671e-05/0.00174, allocations: 15.92 kB / 331.2 MB, free: 3.414 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.001742, allocations: 0 / 331.2 MB, free: 3.414 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.001743, allocations: 0 / 331.2 MB, free: 3.414 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.001746, allocations: 0 / 331.2 MB, free: 3.414 MB / 298.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.0002948/0.002041, allocations: 368.6 kB / 331.6 MB, free: 3.016 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.002078, allocations: 11.98 kB / 331.6 MB, free: 3.004 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.277e-05/0.002101, allocations: 4.938 kB / 331.6 MB, free: 3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.225e-05/0.002173, allocations: 112.6 kB / 331.7 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.002184, allocations: 384 / 331.7 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.002202, allocations: 8.375 kB / 331.7 MB, free: 2.855 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.978e-05/0.002272, allocations: 38.25 kB / 331.8 MB, free: 2.812 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.002283, allocations: 4.141 kB / 331.8 MB, free: 2.809 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.002289, allocations: 4.375 kB / 331.8 MB, free: 2.805 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.002295, allocations: 384 / 331.8 MB, free: 2.805 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.445e-05/0.00232, allocations: 23.8 kB / 331.8 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002081/0.002528, allocations: 236.4 kB / 332 MB, free: 2.523 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.979e-05/0.002598, allocations: 47.11 kB / 332.1 MB, free: 2.465 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.955e-05/0.002617, allocations: 19.67 kB / 332.1 MB, free: 2.441 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.971e-06/0.002623, allocations: 0 / 332.1 MB, free: 2.441 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.002646, allocations: 41.33 kB / 332.1 MB, free: 2.391 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.002647, allocations: 3.984 kB / 332.1 MB, free: 2.387 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004325/0.00308, allocations: 356.2 kB / 332.5 MB, free: 1.973 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.003105, allocations: 59.41 kB / 332.5 MB, free: 1.902 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.911e-05/0.003174, allocations: 157.9 kB / 332.7 MB, free: 1.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.003186, allocations: 29.7 kB / 332.7 MB, free: 1.695 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.145e-05/0.003228, allocations: 130.9 kB / 332.8 MB, free: 1.562 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.003259, allocations: 27.75 kB / 332.9 MB, free: 1.535 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.003291, allocations: 35.34 kB / 332.9 MB, free: 1.492 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.003402, allocations: 492.1 kB / 333.4 MB, free: 1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/0.003416, allocations: 11.98 kB / 333.4 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.577e-05/0.003442, allocations: 31.34 kB / 333.4 MB, free: 0.9453 MB / 298.7 MB Error: The initialization problem is inconsistent due to the following equation: x1 = 0.0 (1.0 = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.003564, allocations: 71.48 kB / 333.5 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.003565, allocations: 4 kB / 333.5 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.395e-05/0.003659, allocations: 93.19 kB / 333.6 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.00367, allocations: 8 kB / 333.6 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.748e-06/0.003674, allocations: 0 / 333.6 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.104e-05/0.003765, allocations: 23.66 kB / 333.6 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.945e-05/0.003804, allocations: 12 kB / 333.6 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006873/0.004491, allocations: 1.725 MB / 335.4 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.929e-06/0.004501, allocations: 4.031 kB / 335.4 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-06/0.004504, allocations: 4 kB / 335.4 MB, free: 14.86 MB / 314.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.438e-05/0.004569, allocations: 164.5 kB / 335.5 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.004583, allocations: 7.953 kB / 335.5 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.477e-05/0.004597, allocations: 12.11 kB / 335.6 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.82e-07/0.004598, allocations: 0 / 335.6 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.004601, allocations: 7.875 kB / 335.6 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.004604, allocations: 0 / 335.6 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.004863, allocations: 364.9 kB / 335.9 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.004865, allocations: 0 / 335.9 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.796e-05/0.004893, allocations: 8 kB / 335.9 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.093e-05/0.004944, allocations: 23.67 kB / 335.9 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-06/0.004948, allocations: 4 kB / 336 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005941/0.005542, allocations: 1.725 MB / 337.7 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.005543, allocations: 8.125 kB / 337.7 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.005676, allocations: 282.5 kB / 338 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-06/0.005682, allocations: 7.953 kB / 338 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-06/0.005686, allocations: 0 / 338 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.088e-05/0.005717, allocations: 7.938 kB / 338 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.292e-05/0.00573, allocations: 11.92 kB / 338 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.005733, allocations: 4 kB / 338 MB, free: 12.03 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.205e-05/0.005765, allocations: 127.2 kB / 338.1 MB, free: 11.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.005765, allocations: 0 / 338.1 MB, free: 11.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001462/0.005912, allocations: 12 kB / 338.1 MB, free: 11.89 MB / 314.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 6.387e-05/0.005976, allocations: 99.22 kB / 338.2 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001698/0.006145, allocations: 225.4 kB / 338.4 MB, free: 11.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.006147, allocations: 0 / 338.4 MB, free: 11.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.051e-05/0.006237, allocations: 205.5 kB / 338.6 MB, free: 11.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.006372, allocations: 0 / 338.6 MB, free: 11.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000204/0.006576, allocations: 186.2 kB / 338.8 MB, free: 11.1 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.29e-05/0.006608, allocations: 63.34 kB / 338.9 MB, free: 11.02 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.361e-05/0.006622, allocations: 4 kB / 338.9 MB, free: 11.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.006653, allocations: 70.2 kB / 339 MB, free: 10.95 MB / 314.7 MB Notification: Performance of SimCode: time 7.32e-07/0.006654, allocations: 0 / 339 MB, free: 10.95 MB / 314.7 MB Notification: Performance of Templates: time 0.001996/0.00865, allocations: 0.8137 MB / 339.8 MB, free: 10.19 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.8930945079773664]