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.001695/0.001695, allocations: 84.73 kB / 19.44 MB, free: 352 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.002426/0.002426, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.491/1.491, allocations: 177.1 MB / 203.1 MB, free: 5.371 MB / 186.7 MB " [Timeout remaining time 178] 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.004813/0.004813, allocations: 423 kB / 260 MB, free: 12.53 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.372e-06/1.372e-06, allocations: 0 / 329.4 MB, free: 19.63 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.578e-05, allocations: 2.312 kB / 329.4 MB, free: 19.63 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.00147/0.001495, allocations: 0.5215 MB / 329.9 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001638/0.001659, allocations: 27.83 kB / 329.9 MB, free: 19.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.886e-05/0.001688, allocations: 4 kB / 329.9 MB, free: 19.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.482e-05/0.001703, allocations: 3.938 kB / 330 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.796e-05/0.001751, allocations: 0 / 330 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.001874, allocations: 7.984 kB / 330 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.328e-05/0.001927, allocations: 15.98 kB / 330 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.673e-05/0.001974, allocations: 3.984 kB / 330 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.127e-05/0.002015, allocations: 19.88 kB / 330 MB, free: 19.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.595e-05/0.002081, allocations: 3.984 kB / 330 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.002098, allocations: 4 kB / 330 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.776e-06/0.002107, allocations: 0 / 330 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.002123, allocations: 11.98 kB / 330 MB, free: 19.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.002151, allocations: 7.922 kB / 330 MB, free: 19 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.045e-05/0.002211, allocations: 15.92 kB / 330 MB, free: 18.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.002213, allocations: 0 / 330 MB, free: 18.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.002213, allocations: 0 / 330 MB, free: 18.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.002219, allocations: 4 kB / 330 MB, free: 18.98 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.0003182/0.002537, allocations: 250.4 kB / 330.3 MB, free: 18.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.002577, allocations: 11.98 kB / 330.3 MB, free: 18.69 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.002621, allocations: 8.891 kB / 330.3 MB, free: 18.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.649e-05/0.002698, allocations: 109.7 kB / 330.4 MB, free: 18.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.002713, allocations: 12.38 kB / 330.4 MB, free: 18.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.002742, allocations: 8.359 kB / 330.4 MB, free: 18.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.35e-05/0.002835, allocations: 46.19 kB / 330.5 MB, free: 18.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.002847, allocations: 4.188 kB / 330.5 MB, free: 18.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.002856, allocations: 384 / 330.5 MB, free: 18.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.00286, allocations: 384 / 330.5 MB, free: 18.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.738e-05/0.002898, allocations: 15.92 kB / 330.5 MB, free: 18.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002355/0.003133, allocations: 200.5 kB / 330.7 MB, free: 18.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.264e-05/0.003226, allocations: 46.62 kB / 330.7 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.188e-05/0.003258, allocations: 20.92 kB / 330.8 MB, free: 18.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.003273, allocations: 8 kB / 330.8 MB, free: 18.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.003296, allocations: 34.56 kB / 330.8 MB, free: 18.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.42e-07/0.003296, allocations: 0 / 330.8 MB, free: 18.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006275/0.003924, allocations: 364.3 kB / 331.2 MB, free: 17.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.003948, allocations: 51.41 kB / 331.2 MB, free: 17.63 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.965e-05/0.003998, allocations: 101.8 kB / 331.3 MB, free: 17.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.004007, allocations: 25.7 kB / 331.3 MB, free: 17.49 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.14e-05/0.004029, allocations: 84.14 kB / 331.4 MB, free: 17.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.004057, allocations: 35.69 kB / 331.5 MB, free: 17.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.004088, allocations: 25.72 kB / 331.5 MB, free: 17.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.229e-05/0.00414, allocations: 318.8 kB / 331.8 MB, free: 17.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.695e-05/0.004167, allocations: 12 kB / 331.8 MB, free: 17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.379e-05/0.004201, allocations: 33.7 kB / 331.8 MB, free: 16.96 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.0002921/0.004493, allocations: 97.61 kB / 331.9 MB, free: 16.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.004494, allocations: 3.938 kB / 331.9 MB, free: 16.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001488/0.004643, allocations: 94.47 kB / 332 MB, free: 16.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.004657, allocations: 4 kB / 332 MB, free: 16.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.004663, allocations: 4 kB / 332 MB, free: 16.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001328/0.004795, allocations: 24.84 kB / 332.1 MB, free: 16.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.09e-05/0.004856, allocations: 12 kB / 332.1 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007142/0.00557, allocations: 1.265 MB / 333.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.518e-05/0.005596, allocations: 8.031 kB / 333.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.005601, allocations: 0 / 333.3 MB, free: 15.33 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.652e-05/0.005667, allocations: 121.8 kB / 333.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.005693, allocations: 4 kB / 333.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.29e-05/0.005716, allocations: 16.06 kB / 333.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.005717, allocations: 0 / 333.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.005721, allocations: 4 kB / 333.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.005724, allocations: 0 / 333.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.006038, allocations: 309.5 kB / 333.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.006041, allocations: 3.984 kB / 333.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.915e-05/0.00609, allocations: 8 kB / 333.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.599e-05/0.006166, allocations: 28.94 kB / 333.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.006174, allocations: 0 / 333.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006109/0.006785, allocations: 1.268 MB / 335.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.006787, allocations: 0 / 335.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.006965, allocations: 234.8 kB / 335.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-06/0.006972, allocations: 7.969 kB / 335.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.197e-06/0.006982, allocations: 0 / 335.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.864e-05/0.00704, allocations: 12.06 kB / 335.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.007064, allocations: 11.98 kB / 335.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.007068, allocations: 0 / 335.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.95e-05/0.007087, allocations: 83.27 kB / 335.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007087, allocations: 0 / 335.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002443/0.007332, allocations: 12 kB / 335.5 MB, free: 13.04 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 8.767e-05/0.007419, allocations: 95.25 kB / 335.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002581/0.007677, allocations: 166.5 kB / 335.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.00768, allocations: 4 kB / 335.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.007819, allocations: 146.7 kB / 335.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.008044, allocations: 7.938 kB / 335.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/0.008321, allocations: 176.8 kB / 336 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.417e-05/0.008375, allocations: 71.33 kB / 336.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.943e-05/0.008395, allocations: 4 kB / 336.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.008421, allocations: 12.69 kB / 336.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.008421, allocations: 0 / 336.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of Templates: time 0.003299/0.01172, allocations: 0.7785 MB / 336.9 MB, free: 11.56 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=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.377240755944513]