Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.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.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 179 kB / 15.43 MB, free: 5.766 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.454/1.454, allocations: 225.7 MB / 241.9 MB, free: 14.66 MB / 202.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.0008116/0.0008115, allocations: 96.58 kB / 293 MB, free: 4.844 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.002249/0.002249, allocations: 0.5638 MB / 344.7 MB, free: 11.26 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.000337, allocations: 8 kB / 406 MB, free: 13.87 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2146, allocations: 50.57 MB / 456.6 MB, free: 78.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.0004806/0.2151, allocations: 243.7 kB / 456.8 MB, free: 78.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001146/0.2152, allocations: 27.91 kB / 456.9 MB, free: 78.72 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.963e-05/0.2152, allocations: 0 / 456.9 MB, free: 78.72 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.09e-05/0.2153, allocations: 0 / 456.9 MB, free: 78.72 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.753e-05/0.2153, allocations: 4 kB / 456.9 MB, free: 78.71 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.901e-05/0.2154, allocations: 5.531 kB / 456.9 MB, free: 78.71 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.556e-05/0.2154, allocations: 19.92 kB / 456.9 MB, free: 78.69 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.2155, allocations: 7.984 kB / 456.9 MB, free: 78.68 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.732e-05/0.2155, allocations: 19.92 kB / 456.9 MB, free: 78.66 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.898e-05/0.2156, allocations: 3.938 kB / 456.9 MB, free: 78.66 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.2156, allocations: 4 kB / 456.9 MB, free: 78.66 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.645e-06/0.2156, allocations: 0 / 456.9 MB, free: 78.66 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.2156, allocations: 7.984 kB / 456.9 MB, free: 78.65 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.2157, allocations: 33.64 kB / 457 MB, free: 78.61 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 4.13e-05/0.2157, allocations: 19.91 kB / 457 MB, free: 78.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2157, allocations: 0 / 457 MB, free: 78.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2157, allocations: 0 / 457 MB, free: 78.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.2157, allocations: 0 / 457 MB, free: 78.59 MB / 346.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.0002517/0.216, allocations: 327.3 kB / 457.3 MB, free: 78.22 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.216, allocations: 15.97 kB / 457.3 MB, free: 78.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.767e-05/0.2161, allocations: 4.844 kB / 457.3 MB, free: 78.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.515e-05/0.2161, allocations: 164.4 kB / 457.5 MB, free: 78 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.2162, allocations: 8.375 kB / 457.5 MB, free: 78 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.2162, allocations: 4.375 kB / 457.5 MB, free: 77.99 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.2163, allocations: 46.19 kB / 457.5 MB, free: 77.94 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2163, allocations: 4.188 kB / 457.6 MB, free: 77.94 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.2163, allocations: 3.938 kB / 457.6 MB, free: 77.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2163, allocations: 0 / 457.6 MB, free: 77.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.556e-05/0.2164, allocations: 19.97 kB / 457.6 MB, free: 77.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002007/0.2166, allocations: 248.8 kB / 457.8 MB, free: 77.62 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.327e-05/0.2167, allocations: 54.56 kB / 457.9 MB, free: 77.56 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.844e-05/0.2167, allocations: 24.91 kB / 457.9 MB, free: 77.53 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.154e-06/0.2167, allocations: 0 / 457.9 MB, free: 77.53 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.157e-05/0.2167, allocations: 38.56 kB / 457.9 MB, free: 77.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 8.31e-07/0.2167, allocations: 0 / 457.9 MB, free: 77.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005237/0.2173, allocations: 0.4945 MB / 458.4 MB, free: 76.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.847e-05/0.2173, allocations: 51.41 kB / 458.5 MB, free: 76.83 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.172e-05/0.2174, allocations: 101.8 kB / 458.6 MB, free: 76.72 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.974e-06/0.2174, allocations: 29.7 kB / 458.6 MB, free: 76.69 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.68e-05/0.2174, allocations: 84.14 kB / 458.7 MB, free: 76.6 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.2174, allocations: 35.48 kB / 458.7 MB, free: 76.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-06/0.2174, allocations: 3.938 kB / 458.7 MB, free: 76.56 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.593e-05/0.2175, allocations: 318.8 kB / 459 MB, free: 76.24 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.476e-05/0.2175, allocations: 15.98 kB / 459.1 MB, free: 76.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.027e-05/0.2175, allocations: 29.72 kB / 459.1 MB, free: 76.19 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.2178, allocations: 243.8 kB / 459.3 MB, free: 75.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2178, allocations: 0 / 459.3 MB, free: 75.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001325/0.2179, allocations: 98.38 kB / 459.4 MB, free: 75.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.2179, allocations: 8 kB / 459.4 MB, free: 75.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2179, allocations: 400 / 459.4 MB, free: 75.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.883e-05/0.218, allocations: 24.78 kB / 459.5 MB, free: 75.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.94e-05/0.2181, allocations: 19.92 kB / 459.5 MB, free: 75.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006234/0.2187, allocations: 1.281 MB / 460.8 MB, free: 74.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.073e-05/0.2188, allocations: 4 kB / 460.8 MB, free: 74.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.2188, allocations: 8.703 kB / 460.8 MB, free: 74.32 MB / 346.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 9.924e-05/0.2189, allocations: 124.2 kB / 460.9 MB, free: 74.19 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.2189, allocations: 11.84 kB / 460.9 MB, free: 74.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.935e-05/0.2189, allocations: 7.969 kB / 460.9 MB, free: 74.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.219, allocations: 0 / 460.9 MB, free: 74.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.219, allocations: 4 kB / 460.9 MB, free: 74.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.219, allocations: 0 / 460.9 MB, free: 74.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.2193, allocations: 369.8 kB / 461.3 MB, free: 73.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2193, allocations: 4 kB / 461.3 MB, free: 73.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.583e-05/0.2193, allocations: 4 kB / 461.3 MB, free: 73.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.146e-05/0.2194, allocations: 24.84 kB / 461.3 MB, free: 73.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.2194, allocations: 0 / 461.3 MB, free: 73.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005359/0.22, allocations: 1.296 MB / 462.6 MB, free: 72.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.22, allocations: 4.031 kB / 462.6 MB, free: 72.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.2202, allocations: 230.8 kB / 462.8 MB, free: 72.01 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.391e-05/0.2202, allocations: 77.11 kB / 462.9 MB, free: 71.92 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.2202, allocations: 4 kB / 462.9 MB, free: 71.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.526e-05/0.2203, allocations: 4 kB / 462.9 MB, free: 71.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.2203, allocations: 11.92 kB / 462.9 MB, free: 71.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.2203, allocations: 4.062 kB / 462.9 MB, free: 71.89 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.816e-05/0.2204, allocations: 83.22 kB / 463 MB, free: 71.81 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2204, allocations: 0 / 463 MB, free: 71.81 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002177/0.2206, allocations: 16.03 kB / 463 MB, free: 71.8 MB / 346.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.571e-05/0.2207, allocations: 111.2 kB / 463.1 MB, free: 71.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.2209, allocations: 162.6 kB / 463.3 MB, free: 71.51 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2209, allocations: 4 kB / 463.3 MB, free: 71.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.221, allocations: 146.5 kB / 463.4 MB, free: 71.35 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.2213, allocations: 8 kB / 463.4 MB, free: 71.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002115/0.2215, allocations: 186.8 kB / 463.6 MB, free: 71.12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.287e-05/0.2216, allocations: 0.6848 MB / 464.3 MB, free: 70.41 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.66e-05/0.2216, allocations: 4 kB / 464.3 MB, free: 70.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.644e-05/0.2216, allocations: 7.438 kB / 464.3 MB, free: 70.4 MB / 346.7 MB Notification: Performance of SimCode: time 3.2e-07/0.2216, allocations: 4 kB / 464.3 MB, free: 70.39 MB / 346.7 MB Notification: Performance of Templates: time 0.002232/0.2239, allocations: 0.6381 MB / 465 MB, free: 69.76 MB / 346.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1)