Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.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.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 182.5 kB / 15.43 MB, free: 5.77 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.38/1.38, allocations: 225.7 MB / 241.9 MB, free: 408 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.0007571/0.0007571, allocations: 100.2 kB / 293.1 MB, free: 12.92 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.002238/0.002238, allocations: 0.5533 MB / 344.7 MB, free: 9.16 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002895/0.0002895, allocations: 8.844 kB / 406 MB, free: 97.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07071/0.07102, allocations: 50.58 MB / 456.6 MB, free: 56.88 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.001321/0.07238, allocations: 1.325 MB / 457.9 MB, free: 55.55 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002184/0.07262, allocations: 92.19 kB / 458 MB, free: 55.46 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.344e-05/0.07269, allocations: 4 kB / 458 MB, free: 55.45 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.07273, allocations: 7.922 kB / 458 MB, free: 55.45 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 9.128e-05/0.07283, allocations: 27.78 kB / 458 MB, free: 55.42 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001169/0.07295, allocations: 27.91 kB / 458.1 MB, free: 55.39 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 9.762e-05/0.07306, allocations: 99.53 kB / 458.2 MB, free: 55.29 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.0732, allocations: 27.92 kB / 458.2 MB, free: 55.27 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.529e-05/0.07326, allocations: 39.8 kB / 458.2 MB, free: 55.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.675e-05/0.07334, allocations: 47.77 kB / 458.3 MB, free: 55.18 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.07337, allocations: 4 kB / 458.3 MB, free: 55.18 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.893e-05/0.0734, allocations: 4 kB / 458.3 MB, free: 55.17 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.022e-05/0.07342, allocations: 15.94 kB / 458.3 MB, free: 55.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.465e-05/0.07348, allocations: 73.44 kB / 458.4 MB, free: 55.08 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.07359, allocations: 107.8 kB / 458.5 MB, free: 54.97 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.0736, allocations: 0 / 458.5 MB, free: 54.97 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.07361, allocations: 0 / 458.5 MB, free: 54.97 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.07362, allocations: 0 / 458.5 MB, free: 54.97 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000346/0.07397, allocations: 379.4 kB / 458.9 MB, free: 54.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.07401, allocations: 19.97 kB / 458.9 MB, free: 54.53 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.07405, allocations: 8.844 kB / 458.9 MB, free: 54.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.07417, allocations: 196.2 kB / 459.1 MB, free: 54.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.07419, allocations: 4.562 kB / 459.1 MB, free: 54.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.07422, allocations: 12.38 kB / 459.1 MB, free: 54.28 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.07438, allocations: 93.97 kB / 459.2 MB, free: 54.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.0744, allocations: 0 / 459.2 MB, free: 54.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.07442, allocations: 3.984 kB / 459.2 MB, free: 54.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.07443, allocations: 4 kB / 459.2 MB, free: 54.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.962e-05/0.07453, allocations: 55.95 kB / 459.2 MB, free: 54.12 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.07495, allocations: 396.5 kB / 459.6 MB, free: 53.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.07517, allocations: 106.4 kB / 459.7 MB, free: 53.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.602e-05/0.07524, allocations: 40.84 kB / 459.8 MB, free: 53.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.07526, allocations: 4 kB / 459.8 MB, free: 53.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.07528, allocations: 30.56 kB / 459.8 MB, free: 53.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.07529, allocations: 0 / 459.8 MB, free: 53.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008946/0.07619, allocations: 0.6776 MB / 460.5 MB, free: 52.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.885e-05/0.07622, allocations: 63.39 kB / 460.6 MB, free: 52.63 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.164e-05/0.0763, allocations: 122.9 kB / 460.7 MB, free: 52.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.296e-06/0.07631, allocations: 25.7 kB / 460.7 MB, free: 52.47 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.07635, allocations: 104.3 kB / 460.8 MB, free: 52.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.07639, allocations: 59.11 kB / 460.9 MB, free: 52.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.0764, allocations: 0 / 460.9 MB, free: 52.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.942e-05/0.07644, allocations: 318.8 kB / 461.2 MB, free: 51.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.259e-05/0.0765, allocations: 35.98 kB / 461.2 MB, free: 51.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.655e-05/0.07657, allocations: 68.06 kB / 461.3 MB, free: 51.88 MB / 330.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.v = $START.mass2.v ($START.mass1.v = $START.mass2.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005996/0.07718, allocations: 402.3 kB / 461.7 MB, free: 51.44 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.07719, allocations: 7.938 kB / 461.7 MB, free: 51.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002239/0.07742, allocations: 170.2 kB / 461.8 MB, free: 51.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.07744, allocations: 4 kB / 461.8 MB, free: 51.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.07745, allocations: 0 / 461.8 MB, free: 51.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000115/0.07757, allocations: 28.88 kB / 461.9 MB, free: 51.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.051e-05/0.07767, allocations: 27.98 kB / 461.9 MB, free: 51.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007719/0.07845, allocations: 1.456 MB / 463.4 MB, free: 49.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.07851, allocations: 4 kB / 463.4 MB, free: 49.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.07853, allocations: 7.938 kB / 463.4 MB, free: 49.58 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: mass2.v = $START.mass2.v mass2.s = $START.mass2.s. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 15 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.85e-05/0.07863, allocations: 129.8 kB / 463.5 MB, free: 49.45 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.07866, allocations: 11.84 kB / 463.5 MB, free: 49.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.254e-05/0.0787, allocations: 20.84 kB / 463.5 MB, free: 49.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.07871, allocations: 0 / 463.5 MB, free: 49.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.07872, allocations: 0 / 463.5 MB, free: 49.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.07873, allocations: 8.062 kB / 463.5 MB, free: 49.4 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005547/0.07929, allocations: 0.5945 MB / 464.1 MB, free: 48.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.0793, allocations: 0 / 464.1 MB, free: 48.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.07944, allocations: 35.95 kB / 464.2 MB, free: 48.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.59e-05/0.07951, allocations: 20.84 kB / 464.2 MB, free: 48.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.07953, allocations: 8 kB / 464.2 MB, free: 48.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005876/0.08013, allocations: 1.268 MB / 465.5 MB, free: 47.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.08014, allocations: 0 / 465.5 MB, free: 47.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.08043, allocations: 315 kB / 465.8 MB, free: 46.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.722e-05/0.08046, allocations: 88.92 kB / 465.8 MB, free: 46.81 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.08048, allocations: 4 kB / 465.9 MB, free: 46.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.441e-05/0.08056, allocations: 0 / 465.9 MB, free: 46.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.0806, allocations: 15.98 kB / 465.9 MB, free: 46.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.08062, allocations: 4 kB / 465.9 MB, free: 46.79 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.002e-05/0.08066, allocations: 91.7 kB / 466 MB, free: 46.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.08067, allocations: 0 / 466 MB, free: 46.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002842/0.08096, allocations: 36.06 kB / 466 MB, free: 46.66 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.v) * 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 (15): * Single equations (assignments): 14 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.65e-05/0.08106, allocations: 115.1 kB / 466.1 MB, free: 46.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003548/0.08142, allocations: 230.6 kB / 466.3 MB, free: 46.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.08144, allocations: 0 / 466.3 MB, free: 46.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.08158, allocations: 166.9 kB / 466.5 MB, free: 46.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.08191, allocations: 16.31 kB / 466.5 MB, free: 46.11 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/0.08245, allocations: 480.6 kB / 467 MB, free: 45.6 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.08257, allocations: 0.7088 MB / 467.7 MB, free: 44.87 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.564e-05/0.08263, allocations: 13.08 kB / 467.7 MB, free: 44.85 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.08266, allocations: 19.38 kB / 467.7 MB, free: 44.84 MB / 330.7 MB Notification: Performance of SimCode: time 2.01e-07/0.08266, allocations: 0 / 467.7 MB, free: 44.84 MB / 330.7 MB Notification: Performance of Templates: time 0.003314/0.08598, allocations: 1.364 MB / 469.1 MB, free: 43.48 MB / 330.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1)