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.0008184/0.0008184, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0008741/0.0008741, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.042/1.042, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.00286/0.00286, allocations: 435.7 kB / 260.7 MB, free: 12.5 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.202e-06/1.202e-06, allocations: 0 / 277.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.046e-05, allocations: 2.312 kB / 277.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001036/0.001056, allocations: 0.5909 MB / 277.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001051/0.001161, allocations: 27.89 kB / 278 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.736e-05/0.001179, allocations: 3.938 kB / 278 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.839e-06/0.001188, allocations: 0 / 278 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.147e-05/0.00121, allocations: 0 / 278 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.815e-05/0.001288, allocations: 7.984 kB / 278 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.174e-05/0.00133, allocations: 23.91 kB / 278 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.589e-05/0.001356, allocations: 3.938 kB / 278 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.039e-05/0.001386, allocations: 15.98 kB / 278 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.409e-05/0.00143, allocations: 0 / 278 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.699e-06/0.00144, allocations: 8 kB / 278 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.041e-06/0.001446, allocations: 0 / 278 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.001461, allocations: 15.91 kB / 278 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.232e-05/0.001473, allocations: 4 kB / 278.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 3.57e-05/0.001509, allocations: 7.984 kB / 278.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/0.00151, allocations: 0 / 278.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.001511, allocations: 0 / 278.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.955e-06/0.001514, allocations: 0 / 278.1 MB, free: 11.12 MB / 266.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.0001854/0.001699, allocations: 240.9 kB / 278.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.743e-05/0.001727, allocations: 15.97 kB / 278.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.53e-05/0.001742, allocations: 8.938 kB / 278.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.365e-05/0.001806, allocations: 109.7 kB / 278.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.021e-06/0.001812, allocations: 384 / 278.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.001825, allocations: 8.375 kB / 278.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.207e-05/0.001877, allocations: 50.19 kB / 278.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.962e-06/0.001883, allocations: 192 / 278.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.48e-06/0.001889, allocations: 4.359 kB / 278.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-06/0.001891, allocations: 384 / 278.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.6e-05/0.001907, allocations: 11.94 kB / 278.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001258/0.002033, allocations: 152.3 kB / 278.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.585e-05/0.002089, allocations: 42.55 kB / 278.7 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.922e-05/0.002108, allocations: 20.98 kB / 278.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-06/0.002112, allocations: 0 / 278.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.002128, allocations: 34.56 kB / 278.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 5.51e-07/0.002129, allocations: 0 / 278.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003607/0.00249, allocations: 339.8 kB / 279.1 MB, free: 9.949 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.002516, allocations: 59.41 kB / 279.1 MB, free: 9.879 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.757e-05/0.002563, allocations: 110.7 kB / 279.2 MB, free: 9.758 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.002575, allocations: 29.7 kB / 279.3 MB, free: 9.723 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.109e-05/0.002596, allocations: 80.14 kB / 279.4 MB, free: 9.641 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.00262, allocations: 31.78 kB / 279.4 MB, free: 9.609 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.002644, allocations: 21.72 kB / 279.4 MB, free: 9.582 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.452e-05/0.002729, allocations: 314.8 kB / 279.7 MB, free: 9.266 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.124e-05/0.00274, allocations: 11.98 kB / 279.7 MB, free: 9.254 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.014e-05/0.00276, allocations: 17.72 kB / 279.7 MB, free: 9.23 MB / 266.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 9.058e-05/0.002851, allocations: 70.41 kB / 279.8 MB, free: 9.156 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.002852, allocations: 4.188 kB / 279.8 MB, free: 9.152 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.587e-05/0.002938, allocations: 86.39 kB / 279.9 MB, free: 9.059 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.002948, allocations: 10.97 kB / 279.9 MB, free: 9.051 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.002951, allocations: 0 / 279.9 MB, free: 9.051 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.032e-05/0.003021, allocations: 16.84 kB / 279.9 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.121e-05/0.003052, allocations: 15.94 kB / 279.9 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005434/0.003596, allocations: 1.182 MB / 281.1 MB, free: 7.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.143e-05/0.003607, allocations: 4.031 kB / 281.1 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-06/0.003609, allocations: 0 / 281.1 MB, free: 7.746 MB / 266.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 5.558e-05/0.003665, allocations: 120.8 kB / 281.2 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.00368, allocations: 4 kB / 281.2 MB, free: 7.617 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.078e-05/0.003691, allocations: 8.312 kB / 281.3 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.003693, allocations: 3.984 kB / 281.3 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.003697, allocations: 7.938 kB / 281.3 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.0037, allocations: 3.984 kB / 281.3 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.003907, allocations: 262 kB / 281.5 MB, free: 7.301 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.003908, allocations: 0 / 281.5 MB, free: 7.301 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.424e-05/0.003932, allocations: 8 kB / 281.5 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.335e-05/0.003976, allocations: 20.83 kB / 281.6 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.003981, allocations: 8 kB / 281.6 MB, free: 7.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005035/0.004485, allocations: 1.174 MB / 282.7 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.004486, allocations: 8.062 kB / 282.7 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.004614, allocations: 198.8 kB / 282.9 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.724e-06/0.004622, allocations: 7.953 kB / 282.9 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.502e-06/0.004629, allocations: 4 kB / 283 MB, free: 5.758 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.216e-05/0.004661, allocations: 4.078 kB / 283 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.004677, allocations: 15.97 kB / 283 MB, free: 5.738 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.00468, allocations: 0 / 283 MB, free: 5.738 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.494e-06/0.004687, allocations: 8.859 kB / 283 MB, free: 5.727 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004687, allocations: 0 / 283 MB, free: 5.727 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001372/0.004825, allocations: 12 kB / 283 MB, free: 5.715 MB / 266.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 5.913e-05/0.004884, allocations: 88.42 kB / 283.1 MB, free: 5.617 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001468/0.00503, allocations: 163.5 kB / 283.2 MB, free: 5.441 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.005033, allocations: 0 / 283.2 MB, free: 5.441 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.626e-05/0.005129, allocations: 151.4 kB / 283.4 MB, free: 5.277 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.895e-05/0.005218, allocations: 7.938 kB / 283.4 MB, free: 5.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000309/0.005527, allocations: 171.1 kB / 283.6 MB, free: 5.066 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.446e-05/0.005572, allocations: 63.34 kB / 283.6 MB, free: 4.984 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.842e-05/0.00559, allocations: 3.984 kB / 283.6 MB, free: 4.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.506e-05/0.005625, allocations: 55.38 kB / 283.7 MB, free: 4.926 MB / 266.7 MB Notification: Performance of SimCode: time 1.523e-06/0.005627, allocations: 0 / 283.7 MB, free: 4.926 MB / 266.7 MB Notification: Performance of Templates: time 0.002292/0.007919, allocations: 0.8152 MB / 284.5 MB, free: 4.176 MB / 266.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.613144965842366]