Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009203/0.0009204, allocations: 181.2 kB / 15.43 MB, free: 5.773 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 225.7 MB / 241.9 MB, free: 388 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007541/0.0007542, allocations: 85.91 kB / 293.1 MB, free: 12.91 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002197/0.002197, allocations: 0.5551 MB / 344.7 MB, free: 9.148 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003097, allocations: 10.69 kB / 406 MB, free: 97.05 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08228/0.0826, allocations: 50.58 MB / 456.6 MB, free: 56.85 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.0004804/0.08312, allocations: 266.3 kB / 456.9 MB, free: 56.6 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001141/0.08325, allocations: 19.92 kB / 456.9 MB, free: 56.58 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.914e-05/0.08328, allocations: 0 / 456.9 MB, free: 56.58 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.312e-05/0.0833, allocations: 0 / 456.9 MB, free: 56.58 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 2.24e-05/0.08333, allocations: 0 / 456.9 MB, free: 56.58 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.919e-05/0.08343, allocations: 11.98 kB / 456.9 MB, free: 56.57 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 4.088e-05/0.08348, allocations: 19.92 kB / 456.9 MB, free: 56.55 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.08353, allocations: 0 / 456.9 MB, free: 56.55 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.647e-05/0.08355, allocations: 11.94 kB / 456.9 MB, free: 56.54 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.045e-05/0.08361, allocations: 11.98 kB / 456.9 MB, free: 56.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.08363, allocations: 0 / 456.9 MB, free: 56.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.455e-06/0.08365, allocations: 4 kB / 456.9 MB, free: 56.52 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.08367, allocations: 7.922 kB / 456.9 MB, free: 56.51 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.613e-05/0.0837, allocations: 37.64 kB / 457 MB, free: 56.47 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 3.938e-05/0.08374, allocations: 15.92 kB / 457 MB, free: 56.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.08375, allocations: 0 / 457 MB, free: 56.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.08376, allocations: 0 / 457 MB, free: 56.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.006e-06/0.08377, allocations: 0 / 457 MB, free: 56.45 MB / 330.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.0002429/0.08401, allocations: 331.8 kB / 457.3 MB, free: 56.08 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.08405, allocations: 11.97 kB / 457.3 MB, free: 56.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.532e-05/0.08408, allocations: 8.844 kB / 457.3 MB, free: 56.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.563e-05/0.08415, allocations: 160.4 kB / 457.5 MB, free: 55.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.08417, allocations: 4.375 kB / 457.5 MB, free: 55.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.0842, allocations: 8.375 kB / 457.5 MB, free: 55.85 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.337e-05/0.08429, allocations: 46.19 kB / 457.6 MB, free: 55.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.08431, allocations: 192 / 457.6 MB, free: 55.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.08432, allocations: 3.938 kB / 457.6 MB, free: 55.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.08433, allocations: 4 kB / 457.6 MB, free: 55.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.48e-05/0.08437, allocations: 15.98 kB / 457.6 MB, free: 55.78 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002207/0.08459, allocations: 248.8 kB / 457.8 MB, free: 55.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.9e-05/0.08468, allocations: 58.55 kB / 457.9 MB, free: 55.42 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.817e-05/0.08472, allocations: 20.92 kB / 457.9 MB, free: 55.39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/0.08474, allocations: 0 / 457.9 MB, free: 55.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.309e-05/0.08476, allocations: 42.55 kB / 457.9 MB, free: 55.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.08476, allocations: 0 / 457.9 MB, free: 55.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005128/0.08528, allocations: 0.4903 MB / 458.4 MB, free: 54.76 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.747e-05/0.08531, allocations: 51.41 kB / 458.5 MB, free: 54.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.018e-05/0.08535, allocations: 97.86 kB / 458.6 MB, free: 54.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.304e-06/0.08537, allocations: 33.64 kB / 458.6 MB, free: 54.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.686e-05/0.08539, allocations: 84.12 kB / 458.7 MB, free: 54.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.08542, allocations: 23.62 kB / 458.7 MB, free: 54.44 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.08543, allocations: 4 kB / 458.7 MB, free: 54.44 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.681e-05/0.08547, allocations: 322.8 kB / 459 MB, free: 54.11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.334e-05/0.0855, allocations: 12 kB / 459 MB, free: 54.1 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.002e-05/0.08553, allocations: 33.64 kB / 459.1 MB, free: 54.06 MB / 330.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.000263/0.0858, allocations: 264.6 kB / 459.3 MB, free: 53.76 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.08581, allocations: 0 / 459.3 MB, free: 53.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001294/0.08595, allocations: 98.31 kB / 459.4 MB, free: 53.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.08597, allocations: 8 kB / 459.4 MB, free: 53.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.08598, allocations: 0 / 459.4 MB, free: 53.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.42e-05/0.08608, allocations: 24.78 kB / 459.5 MB, free: 53.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.259e-05/0.08616, allocations: 16 kB / 459.5 MB, free: 53.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006263/0.08679, allocations: 1.28 MB / 460.8 MB, free: 52.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.955e-05/0.08683, allocations: 0 / 460.8 MB, free: 52.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.08684, allocations: 8.094 kB / 460.8 MB, free: 52.18 MB / 330.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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.764e-05/0.0869, allocations: 121.8 kB / 460.9 MB, free: 52.05 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.08693, allocations: 7.844 kB / 460.9 MB, free: 52.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.757e-05/0.08695, allocations: 7.969 kB / 460.9 MB, free: 52.03 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.08696, allocations: 7.984 kB / 460.9 MB, free: 52.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.08697, allocations: 0 / 460.9 MB, free: 52.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.08698, allocations: 192 / 460.9 MB, free: 52.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002937/0.08727, allocations: 369.8 kB / 461.3 MB, free: 51.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.08729, allocations: 4 kB / 461.3 MB, free: 51.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.474e-05/0.08734, allocations: 11.98 kB / 461.3 MB, free: 51.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.779e-05/0.0874, allocations: 20.84 kB / 461.3 MB, free: 51.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.08742, allocations: 4 kB / 461.3 MB, free: 51.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005244/0.08795, allocations: 1.297 MB / 462.6 MB, free: 50.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.08797, allocations: 0 / 462.6 MB, free: 50.12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.08814, allocations: 238.8 kB / 462.8 MB, free: 49.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.401e-05/0.08816, allocations: 77.11 kB / 462.9 MB, free: 49.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.288e-06/0.08818, allocations: 4 kB / 462.9 MB, free: 49.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.387e-05/0.08824, allocations: 0 / 462.9 MB, free: 49.76 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.08826, allocations: 16.05 kB / 462.9 MB, free: 49.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.08828, allocations: 4 kB / 462.9 MB, free: 49.74 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.644e-05/0.0883, allocations: 79.31 kB / 463 MB, free: 49.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0883, allocations: 3.938 kB / 463 MB, free: 49.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002137/0.08852, allocations: 19.94 kB / 463 MB, free: 49.64 MB / 330.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.325e-05/0.08859, allocations: 99.19 kB / 463.1 MB, free: 49.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002247/0.08882, allocations: 170.9 kB / 463.3 MB, free: 49.36 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.08883, allocations: 0 / 463.3 MB, free: 49.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.08897, allocations: 150.6 kB / 463.5 MB, free: 49.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.08918, allocations: 7.922 kB / 463.5 MB, free: 49.19 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002142/0.0894, allocations: 194.8 kB / 463.6 MB, free: 48.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.254e-05/0.08951, allocations: 0.6809 MB / 464.3 MB, free: 48.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.664e-05/0.08953, allocations: 7.984 kB / 464.3 MB, free: 48.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.77e-05/0.08955, allocations: 11.44 kB / 464.3 MB, free: 48.23 MB / 330.7 MB Notification: Performance of SimCode: time 2.61e-07/0.08956, allocations: 0 / 464.3 MB, free: 48.23 MB / 330.7 MB Notification: Performance of Templates: time 0.002228/0.09179, allocations: 0.646 MB / 465 MB, free: 47.59 MB / 330.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.makefile (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)