Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.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.TwoMassesEquationsFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 178.9 kB / 15.43 MB, free: 5.859 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.293/1.293, allocations: 225.7 MB / 241.9 MB, free: 352 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.0007947/0.0007948, allocations: 87.02 kB / 293.1 MB, free: 12.88 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.002167/0.002167, allocations: 0.5556 MB / 344.7 MB, free: 9.109 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003325, allocations: 7.969 kB / 406 MB, free: 97.02 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07514/0.07549, allocations: 50.57 MB / 456.6 MB, free: 56.81 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.0005416/0.07608, allocations: 254.4 kB / 456.8 MB, free: 56.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001569/0.07626, allocations: 19.92 kB / 456.9 MB, free: 56.55 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.891e-05/0.07631, allocations: 4 kB / 456.9 MB, free: 56.54 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.249e-05/0.07633, allocations: 0 / 456.9 MB, free: 56.54 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 3.377e-05/0.07637, allocations: 3.938 kB / 456.9 MB, free: 56.54 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001298/0.07651, allocations: 11.97 kB / 456.9 MB, free: 56.53 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 4.928e-05/0.07657, allocations: 12 kB / 456.9 MB, free: 56.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.515e-05/0.07663, allocations: 7.984 kB / 456.9 MB, free: 56.51 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.299e-05/0.07666, allocations: 11.94 kB / 456.9 MB, free: 56.5 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.922e-05/0.07672, allocations: 11.98 kB / 456.9 MB, free: 56.48 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.07675, allocations: 0 / 456.9 MB, free: 56.48 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.001e-05/0.07676, allocations: 4 kB / 456.9 MB, free: 56.48 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.07679, allocations: 7.922 kB / 456.9 MB, free: 56.47 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.07683, allocations: 37.64 kB / 457 MB, free: 56.43 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 5.078e-05/0.07688, allocations: 15.92 kB / 457 MB, free: 56.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.07689, allocations: 4 kB / 457 MB, free: 56.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.0769, allocations: 0 / 457 MB, free: 56.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.07691, allocations: 0 / 457 MB, free: 56.41 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.0003098/0.07723, allocations: 323.8 kB / 457.3 MB, free: 56.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.07727, allocations: 11.97 kB / 457.3 MB, free: 56.03 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.07731, allocations: 12.83 kB / 457.3 MB, free: 56.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.117e-05/0.0774, allocations: 164.3 kB / 457.5 MB, free: 55.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.07742, allocations: 4.375 kB / 457.5 MB, free: 55.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.07746, allocations: 8.359 kB / 457.5 MB, free: 55.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.07756, allocations: 46.25 kB / 457.5 MB, free: 55.76 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.07758, allocations: 4.188 kB / 457.6 MB, free: 55.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.0776, allocations: 3.938 kB / 457.6 MB, free: 55.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.07761, allocations: 4 kB / 457.6 MB, free: 55.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.62e-05/0.07766, allocations: 15.98 kB / 457.6 MB, free: 55.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002671/0.07793, allocations: 248.9 kB / 457.8 MB, free: 55.44 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.11e-05/0.07804, allocations: 54.5 kB / 457.9 MB, free: 55.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.083e-05/0.07808, allocations: 24.92 kB / 457.9 MB, free: 55.35 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.07809, allocations: 0 / 457.9 MB, free: 55.35 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.07812, allocations: 30.56 kB / 457.9 MB, free: 55.31 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.07812, allocations: 0 / 457.9 MB, free: 55.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006096/0.07874, allocations: 0.502 MB / 458.4 MB, free: 54.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.961e-05/0.07877, allocations: 55.41 kB / 458.5 MB, free: 54.64 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.72e-05/0.07882, allocations: 97.8 kB / 458.6 MB, free: 54.54 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.07884, allocations: 29.7 kB / 458.6 MB, free: 54.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.767e-05/0.07886, allocations: 80.14 kB / 458.7 MB, free: 54.42 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.07889, allocations: 27.61 kB / 458.7 MB, free: 54.39 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-06/0.0789, allocations: 0 / 458.7 MB, free: 54.39 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.783e-05/0.07894, allocations: 318.8 kB / 459 MB, free: 54.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.641e-05/0.07898, allocations: 27.92 kB / 459 MB, free: 54.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.346e-05/0.07902, allocations: 33.69 kB / 459.1 MB, free: 54.01 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.07926, allocations: 243.9 kB / 459.3 MB, free: 53.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.07927, allocations: 0 / 459.3 MB, free: 53.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.634e-05/0.07937, allocations: 82.34 kB / 459.4 MB, free: 53.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.07939, allocations: 4 kB / 459.4 MB, free: 53.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.0794, allocations: 0 / 459.4 MB, free: 53.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.07942, allocations: 8 kB / 459.4 MB, free: 53.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.583e-05/0.07952, allocations: 19.98 kB / 459.4 MB, free: 53.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.07953, allocations: 3.938 kB / 459.4 MB, free: 53.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.26e-05/0.07956, allocations: 4 kB / 459.4 MB, free: 53.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.07957, allocations: 7.938 kB / 459.4 MB, free: 53.59 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: $DER.v1 = 0.0 $DER.x1 = 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.896e-05/0.07967, allocations: 125.8 kB / 459.6 MB, free: 53.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.0797, allocations: 0 / 459.6 MB, free: 53.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.07974, allocations: 11.97 kB / 459.6 MB, free: 53.45 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.07975, allocations: 4 kB / 459.6 MB, free: 53.44 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.07976, allocations: 0 / 459.6 MB, free: 53.44 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.07977, allocations: 0 / 459.6 MB, free: 53.44 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003425/0.08011, allocations: 377.6 kB / 460 MB, free: 53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.08013, allocations: 0 / 460 MB, free: 53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.071e-05/0.08019, allocations: 12.09 kB / 460 MB, free: 52.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001081/0.0803, allocations: 21.06 kB / 460 MB, free: 52.97 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.08032, allocations: 4 kB / 460 MB, free: 52.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006593/0.08099, allocations: 1.284 MB / 461.3 MB, free: 51.54 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.081, allocations: 0 / 461.3 MB, free: 51.54 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.08119, allocations: 230.7 kB / 461.5 MB, free: 51.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.714e-05/0.08121, allocations: 81.14 kB / 461.6 MB, free: 51.19 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.08123, allocations: 12.03 kB / 461.6 MB, free: 51.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.579e-05/0.08129, allocations: 7.875 kB / 461.6 MB, free: 51.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.08132, allocations: 7.984 kB / 461.6 MB, free: 51.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.08133, allocations: 4.094 kB / 461.6 MB, free: 51.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.772e-05/0.08135, allocations: 83.22 kB / 461.7 MB, free: 51.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08136, allocations: 0 / 461.7 MB, free: 51.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000219/0.08158, allocations: 8 kB / 461.7 MB, free: 51.07 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.835e-05/0.08166, allocations: 107.2 kB / 461.8 MB, free: 50.95 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.536e-05/0.08176, allocations: 51.97 kB / 461.9 MB, free: 50.9 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.08177, allocations: 0 / 461.9 MB, free: 50.9 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.08196, allocations: 142.6 kB / 462 MB, free: 50.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.08217, allocations: 7.984 kB / 462 MB, free: 50.74 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002163/0.08239, allocations: 194.2 kB / 462.2 MB, free: 50.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.08251, allocations: 0.6854 MB / 462.9 MB, free: 49.8 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.421e-05/0.08254, allocations: 7.984 kB / 462.9 MB, free: 49.8 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.945e-05/0.08257, allocations: 11.44 kB / 462.9 MB, free: 49.79 MB / 330.7 MB Notification: Performance of SimCode: time 2e-07/0.08257, allocations: 0 / 462.9 MB, free: 49.79 MB / 330.7 MB Notification: Performance of Templates: time 0.002158/0.08474, allocations: 0.5487 MB / 463.4 MB, free: 49.24 MB / 330.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1)