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.001385/0.001385, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001602/0.001602, allocations: 169 kB / 23.02 MB, free: 1.547 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.921/0.921, allocations: 177.1 MB / 203.4 MB, free: 5.422 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.001955/0.001955, allocations: 422.6 kB / 260.4 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.282e-06/1.282e-06, allocations: 0 / 330.1 MB, free: 19.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.33e-05/1.458e-05, allocations: 6.312 kB / 330.1 MB, free: 19.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.0008735/0.000888, allocations: 0.5322 MB / 330.7 MB, free: 18.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000137/0.001025, allocations: 31.77 kB / 330.7 MB, free: 18.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.078e-05/0.001046, allocations: 0 / 330.7 MB, free: 18.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.083e-05/0.001067, allocations: 3.938 kB / 330.7 MB, free: 18.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.819e-05/0.001095, allocations: 8 kB / 330.7 MB, free: 18.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001147/0.00121, allocations: 0 / 330.7 MB, free: 18.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.071e-05/0.00126, allocations: 15.98 kB / 330.7 MB, free: 18.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.484e-05/0.001295, allocations: 4 kB / 330.7 MB, free: 18.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.657e-05/0.001332, allocations: 19.91 kB / 330.7 MB, free: 18.65 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.629e-05/0.001388, allocations: 11.92 kB / 330.7 MB, free: 18.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.001407, allocations: 0 / 330.7 MB, free: 18.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.755e-06/0.001415, allocations: 0 / 330.7 MB, free: 18.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.00143, allocations: 4 kB / 330.8 MB, free: 18.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.00145, allocations: 19.91 kB / 330.8 MB, free: 18.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.309e-05/0.001503, allocations: 7.984 kB / 330.8 MB, free: 18.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.001505, allocations: 4 kB / 330.8 MB, free: 18.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.001506, allocations: 0 / 330.8 MB, free: 18.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.001509, allocations: 0 / 330.8 MB, free: 18.61 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.0002601/0.001769, allocations: 352.4 kB / 331.1 MB, free: 18.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.001804, allocations: 11.98 kB / 331.1 MB, free: 18.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.001841, allocations: 9.234 kB / 331.1 MB, free: 18.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.127e-05/0.001902, allocations: 116.6 kB / 331.3 MB, free: 18.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.001913, allocations: 4.359 kB / 331.3 MB, free: 18.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.001935, allocations: 8.359 kB / 331.3 MB, free: 18.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.378e-05/0.002008, allocations: 46.25 kB / 331.3 MB, free: 18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.002018, allocations: 4.125 kB / 331.3 MB, free: 18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.002026, allocations: 4.375 kB / 331.3 MB, free: 17.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.002033, allocations: 384 / 331.3 MB, free: 17.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.786e-05/0.002061, allocations: 19.92 kB / 331.3 MB, free: 17.97 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002085/0.002269, allocations: 251.8 kB / 331.6 MB, free: 17.69 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.522e-05/0.002355, allocations: 51.05 kB / 331.6 MB, free: 17.63 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.418e-05/0.002379, allocations: 23.75 kB / 331.7 MB, free: 17.6 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.002386, allocations: 0 / 331.7 MB, free: 17.6 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.0024, allocations: 33.39 kB / 331.7 MB, free: 17.56 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.002401, allocations: 4 kB / 331.7 MB, free: 17.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004719/0.002873, allocations: 371.7 kB / 332.1 MB, free: 17.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/0.002892, allocations: 55.34 kB / 332.1 MB, free: 17.06 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.365e-05/0.002936, allocations: 157.9 kB / 332.3 MB, free: 16.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.55e-06/0.002942, allocations: 25.7 kB / 332.3 MB, free: 16.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.049e-05/0.002962, allocations: 126.9 kB / 332.4 MB, free: 16.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.002987, allocations: 35.69 kB / 332.5 MB, free: 16.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.003012, allocations: 31.38 kB / 332.5 MB, free: 16.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.957e-05/0.003051, allocations: 0.4884 MB / 333 MB, free: 16.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.644e-05/0.003078, allocations: 12 kB / 333 MB, free: 16.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.893e-05/0.003107, allocations: 35.36 kB / 333 MB, free: 16.1 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 0.000143/0.00325, allocations: 75.3 kB / 333.1 MB, free: 16.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.003251, allocations: 4.75 kB / 333.1 MB, free: 16.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.914e-05/0.00335, allocations: 93.3 kB / 333.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.00336, allocations: 4 kB / 333.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.003364, allocations: 0 / 333.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001092/0.003474, allocations: 23.67 kB / 333.2 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.787e-05/0.003521, allocations: 20.05 kB / 333.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005998/0.004121, allocations: 1.756 MB / 335 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.234e-05/0.004134, allocations: 0 / 335 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.00414, allocations: 4 kB / 335 MB, free: 13.97 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 7.271e-05/0.004212, allocations: 160.5 kB / 335.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.004229, allocations: 8 kB / 335.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.966e-05/0.004248, allocations: 20.09 kB / 335.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.91e-07/0.004249, allocations: 0 / 335.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.004253, allocations: 3.984 kB / 335.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.004256, allocations: 0 / 335.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.004532, allocations: 376 kB / 335.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.004534, allocations: 0 / 335.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.347e-05/0.004578, allocations: 8 kB / 335.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-05/0.004649, allocations: 27.67 kB / 335.6 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.004658, allocations: 4.094 kB / 335.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004899/0.005148, allocations: 1.764 MB / 337.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.00515, allocations: 0 / 337.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.005289, allocations: 278.4 kB / 337.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-06/0.005294, allocations: 8 kB / 337.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-06/0.005303, allocations: 7.984 kB / 337.6 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.045e-05/0.005334, allocations: 4 kB / 337.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/0.005357, allocations: 15.98 kB / 337.7 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.005361, allocations: 0 / 337.7 MB, free: 11.08 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.172e-05/0.005383, allocations: 127.2 kB / 337.8 MB, free: 10.95 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005383, allocations: 0 / 337.8 MB, free: 10.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001557/0.005539, allocations: 8 kB / 337.8 MB, free: 10.95 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 7.423e-05/0.005613, allocations: 99.19 kB / 337.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002587/0.005872, allocations: 225.4 kB / 338.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.005874, allocations: 0 / 338.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.686e-05/0.005971, allocations: 213.4 kB / 338.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.006135, allocations: 11.94 kB / 338.3 MB, free: 10.35 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002817/0.006417, allocations: 187.2 kB / 338.5 MB, free: 10.13 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.122e-05/0.006448, allocations: 63.34 kB / 338.6 MB, free: 10.05 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.232e-05/0.00647, allocations: 4 kB / 338.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.356e-05/0.006494, allocations: 8.5 kB / 338.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.006495, allocations: 0 / 338.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of Templates: time 0.00219/0.008685, allocations: 0.8077 MB / 339.4 MB, free: 9.293 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 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.537316258996725]