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.0009782/0.0009782, allocations: 92.22 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.0009656/0.0009656, 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 1.072/1.072, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.003709/0.003709, allocations: 424 kB / 260.4 MB, free: 12.62 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.423e-06/1.423e-06, allocations: 0 / 330.1 MB, free: 19.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.43e-05, allocations: 2.312 kB / 330.1 MB, free: 19.29 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001195/0.001219, allocations: 0.5454 MB / 330.7 MB, free: 18.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001644/0.001383, allocations: 23.86 kB / 330.7 MB, free: 18.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.408e-05/0.001408, allocations: 4 kB / 330.7 MB, free: 18.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.092e-05/0.001428, allocations: 3.938 kB / 330.7 MB, free: 18.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.289e-05/0.001461, allocations: 0 / 330.7 MB, free: 18.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.001612, allocations: 7.969 kB / 330.7 MB, free: 18.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.011e-05/0.001672, allocations: 19.92 kB / 330.7 MB, free: 18.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.522e-05/0.001727, allocations: 4 kB / 330.7 MB, free: 18.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.403e-05/0.001771, allocations: 7.984 kB / 330.7 MB, free: 18.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.325e-05/0.001844, allocations: 15.97 kB / 330.8 MB, free: 18.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.001866, allocations: 0 / 330.8 MB, free: 18.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.001877, allocations: 4 kB / 330.8 MB, free: 18.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.001894, allocations: 7.938 kB / 330.8 MB, free: 18.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.001916, allocations: 7.938 kB / 330.8 MB, free: 18.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.741e-05/0.001983, allocations: 11.97 kB / 330.8 MB, free: 18.63 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.001987, allocations: 3.984 kB / 330.8 MB, free: 18.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.001989, allocations: 0 / 330.8 MB, free: 18.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.001994, allocations: 0 / 330.8 MB, free: 18.62 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.0003112/0.002306, allocations: 356.4 kB / 331.1 MB, free: 18.24 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.002354, allocations: 11.98 kB / 331.1 MB, free: 18.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.002394, allocations: 9.234 kB / 331.2 MB, free: 18.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.44e-05/0.002468, allocations: 112.6 kB / 331.3 MB, free: 18.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.00248, allocations: 8.375 kB / 331.3 MB, free: 18.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.002511, allocations: 4.375 kB / 331.3 MB, free: 18.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.881e-05/0.0026, allocations: 42.25 kB / 331.3 MB, free: 18.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.002611, allocations: 192 / 331.3 MB, free: 18.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.002623, allocations: 4.359 kB / 331.3 MB, free: 18.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.002632, allocations: 4.312 kB / 331.3 MB, free: 18.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.24e-05/0.002665, allocations: 15.94 kB / 331.3 MB, free: 18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002755/0.00294, allocations: 247.8 kB / 331.6 MB, free: 17.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.828e-05/0.003039, allocations: 71.02 kB / 331.7 MB, free: 17.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.72e-05/0.003066, allocations: 19.69 kB / 331.7 MB, free: 17.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.003074, allocations: 4.062 kB / 331.7 MB, free: 17.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.003089, allocations: 37.39 kB / 331.7 MB, free: 17.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.044e-06/0.003091, allocations: 4 kB / 331.7 MB, free: 17.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005871/0.003678, allocations: 363.7 kB / 332.1 MB, free: 17.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.003702, allocations: 51.41 kB / 332.1 MB, free: 17.08 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.014e-05/0.003762, allocations: 157.9 kB / 332.3 MB, free: 16.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.003771, allocations: 29.7 kB / 332.3 MB, free: 16.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.462e-05/0.003796, allocations: 126.9 kB / 332.4 MB, free: 16.74 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.003826, allocations: 39.69 kB / 332.5 MB, free: 16.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.003862, allocations: 31.38 kB / 332.5 MB, free: 16.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.24e-05/0.003924, allocations: 0.4884 MB / 333 MB, free: 16.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.925e-05/0.003943, allocations: 4 kB / 333 MB, free: 16.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.021e-05/0.003973, allocations: 35.36 kB / 333 MB, free: 16.12 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.0001849/0.004158, allocations: 75.3 kB / 333.1 MB, free: 16.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.004161, allocations: 3.938 kB / 333.1 MB, free: 16.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001292/0.00429, allocations: 94.11 kB / 333.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.004304, allocations: 4 kB / 333.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.004309, allocations: 8 kB / 333.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001424/0.004452, allocations: 23.67 kB / 333.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.576e-05/0.004508, allocations: 12 kB / 333.2 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006272/0.005135, allocations: 1.76 MB / 335 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.714e-05/0.005152, allocations: 0 / 335 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.005157, allocations: 4 kB / 335 MB, free: 13.99 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 6.901e-05/0.005226, allocations: 168.5 kB / 335.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.005244, allocations: 0 / 335.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.352e-05/0.005257, allocations: 16.06 kB / 335.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.005259, allocations: 0 / 335.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.005262, allocations: 0 / 335.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.005265, allocations: 0 / 335.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.005534, allocations: 380 kB / 335.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.005537, allocations: 11.92 kB / 335.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.965e-05/0.005577, allocations: 8.094 kB / 335.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.568e-05/0.005643, allocations: 23.67 kB / 335.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.005651, allocations: 4 kB / 335.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004596/0.006111, allocations: 1.752 MB / 337.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.006113, allocations: 0 / 337.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.006268, allocations: 286.5 kB / 337.6 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.006281, allocations: 8 kB / 337.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-06/0.006289, allocations: 4.062 kB / 337.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.426e-05/0.006323, allocations: 8 kB / 337.7 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.168e-05/0.006345, allocations: 11.92 kB / 337.7 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.006349, allocations: 0 / 337.7 MB, free: 11.1 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.935e-05/0.006368, allocations: 127.2 kB / 337.8 MB, free: 10.97 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006368, allocations: 0 / 337.8 MB, free: 10.97 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001673/0.006536, allocations: 12 kB / 337.8 MB, free: 10.96 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.076e-05/0.006606, allocations: 99.19 kB / 337.9 MB, free: 10.85 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002281/0.006834, allocations: 229.4 kB / 338.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.006837, allocations: 0 / 338.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.254e-05/0.006929, allocations: 213.4 kB / 338.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.007091, allocations: 3.938 kB / 338.3 MB, free: 10.37 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000272/0.007363, allocations: 191.2 kB / 338.5 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.333e-05/0.007396, allocations: 59.34 kB / 338.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.263e-05/0.007419, allocations: 4.188 kB / 338.6 MB, free: 10.06 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.007447, allocations: 12.5 kB / 338.6 MB, free: 10.05 MB / 266.7 MB Notification: Performance of SimCode: time 1.112e-06/0.007448, allocations: 0 / 338.6 MB, free: 10.05 MB / 266.7 MB Notification: Performance of Templates: time 0.002465/0.009912, allocations: 0.775 MB / 339.4 MB, free: 9.336 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.9909412879496813]