Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.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.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 180.9 kB / 15.43 MB, free: 6.207 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.322/1.322, allocations: 225.7 MB / 241.9 MB, free: 396 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.000758/0.000758, allocations: 94.09 kB / 293.1 MB, free: 12.9 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.002271/0.002271, allocations: 0.555 MB / 344.8 MB, free: 9.137 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002956/0.0002958, allocations: 5.094 kB / 406 MB, free: 97.14 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07945/0.07977, allocations: 50.57 MB / 456.6 MB, free: 56.86 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.0005336/0.08035, allocations: 250.4 kB / 456.8 MB, free: 56.62 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001252/0.0805, allocations: 19.92 kB / 456.9 MB, free: 56.6 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.126e-05/0.08053, allocations: 0 / 456.9 MB, free: 56.6 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.241e-05/0.08056, allocations: 7.938 kB / 456.9 MB, free: 56.59 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 2.638e-05/0.08059, allocations: 0 / 456.9 MB, free: 56.59 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001155/0.08071, allocations: 15.92 kB / 456.9 MB, free: 56.57 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 4.626e-05/0.08077, allocations: 12 kB / 456.9 MB, free: 56.56 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.353e-05/0.08083, allocations: 7.984 kB / 456.9 MB, free: 56.55 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.857e-05/0.08085, allocations: 7.938 kB / 456.9 MB, free: 56.55 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.613e-05/0.08092, allocations: 7.984 kB / 456.9 MB, free: 56.54 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.08094, allocations: 3.984 kB / 456.9 MB, free: 56.54 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.815e-06/0.08095, allocations: 4 kB / 456.9 MB, free: 56.53 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.08097, allocations: 3.938 kB / 456.9 MB, free: 56.53 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.08101, allocations: 37.64 kB / 457 MB, free: 56.48 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 4.59e-05/0.08106, allocations: 15.92 kB / 457 MB, free: 56.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.08107, allocations: 4 kB / 457 MB, free: 56.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.08108, allocations: 0 / 457 MB, free: 56.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.08109, allocations: 0 / 457 MB, free: 56.46 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.0002851/0.08138, allocations: 327.8 kB / 457.3 MB, free: 56.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.08143, allocations: 11.97 kB / 457.3 MB, free: 56.08 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.08146, allocations: 8.844 kB / 457.3 MB, free: 56.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.095e-05/0.08156, allocations: 168.4 kB / 457.5 MB, free: 55.87 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.08158, allocations: 384 / 457.5 MB, free: 55.87 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.08161, allocations: 4.375 kB / 457.5 MB, free: 55.87 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.08174, allocations: 50.25 kB / 457.5 MB, free: 55.81 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.08177, allocations: 192 / 457.5 MB, free: 55.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.08178, allocations: 3.938 kB / 457.5 MB, free: 55.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.08179, allocations: 4 kB / 457.5 MB, free: 55.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.743e-05/0.08184, allocations: 7.984 kB / 457.6 MB, free: 55.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003231/0.08217, allocations: 298.5 kB / 457.8 MB, free: 55.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.858e-05/0.08226, allocations: 42.58 kB / 457.9 MB, free: 55.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.317e-05/0.08229, allocations: 20.94 kB / 457.9 MB, free: 55.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.08231, allocations: 0 / 457.9 MB, free: 55.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.407e-05/0.08233, allocations: 34.56 kB / 457.9 MB, free: 55.33 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.08233, allocations: 0 / 457.9 MB, free: 55.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003562/0.08269, allocations: 159.6 kB / 458.1 MB, free: 55.15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.197e-05/0.08273, allocations: 51.41 kB / 458.1 MB, free: 55.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.464e-05/0.08278, allocations: 101.9 kB / 458.2 MB, free: 54.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/0.08279, allocations: 25.7 kB / 458.3 MB, free: 54.95 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.604e-05/0.08282, allocations: 84.12 kB / 458.4 MB, free: 54.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.08284, allocations: 23.66 kB / 458.4 MB, free: 54.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/0.08285, allocations: 0 / 458.4 MB, free: 54.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.302e-05/0.0829, allocations: 318.8 kB / 458.7 MB, free: 54.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.002e-05/0.08293, allocations: 7.984 kB / 458.7 MB, free: 54.51 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.706e-05/0.08296, allocations: 29.66 kB / 458.7 MB, free: 54.47 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.838e-05/0.08301, allocations: 33.72 kB / 458.8 MB, free: 54.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.08302, allocations: 0 / 458.8 MB, free: 54.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.918e-05/0.08312, allocations: 65.56 kB / 458.8 MB, free: 54.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.08314, allocations: 4 kB / 458.8 MB, free: 54.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.08315, allocations: 7.938 kB / 458.8 MB, free: 54.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.08317, allocations: 0 / 458.8 MB, free: 54.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.08328, allocations: 15.98 kB / 458.9 MB, free: 54.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.0833, allocations: 0 / 458.9 MB, free: 54.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.127e-05/0.08332, allocations: 4.031 kB / 458.9 MB, free: 54.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.08333, allocations: 432 / 458.9 MB, free: 54.33 MB / 330.7 MB 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 (6): * Single equations (assignments): 6 * 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 5.099e-05/0.08339, allocations: 117.8 kB / 459 MB, free: 54.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.08342, allocations: 0 / 459 MB, free: 54.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/0.08346, allocations: 15.48 kB / 459 MB, free: 54.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.08347, allocations: 3.984 kB / 459 MB, free: 54.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.08348, allocations: 0 / 459 MB, free: 54.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.08348, allocations: 3.938 kB / 459 MB, free: 54.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.08361, allocations: 165.5 kB / 459.2 MB, free: 53.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.08362, allocations: 4 kB / 459.2 MB, free: 53.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.864e-05/0.08367, allocations: 0 / 459.2 MB, free: 53.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001301/0.08381, allocations: 16.84 kB / 459.2 MB, free: 53.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.08382, allocations: 0 / 459.2 MB, free: 53.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006615/0.08449, allocations: 1.249 MB / 460.4 MB, free: 52.56 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.08451, allocations: 7.969 kB / 460.4 MB, free: 52.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.08466, allocations: 168.3 kB / 460.6 MB, free: 52.37 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.78e-05/0.08469, allocations: 77.11 kB / 460.7 MB, free: 52.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.248e-06/0.0847, allocations: 8.219 kB / 460.7 MB, free: 52.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.695e-05/0.08476, allocations: 4 kB / 460.7 MB, free: 52.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.08479, allocations: 11.95 kB / 460.7 MB, free: 52.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.0848, allocations: 0 / 460.7 MB, free: 52.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.225e-05/0.08483, allocations: 83.28 kB / 460.8 MB, free: 52.17 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.08483, allocations: 0 / 460.8 MB, free: 52.17 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002217/0.08506, allocations: 4 kB / 460.8 MB, free: 52.17 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * 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 8.735e-05/0.08515, allocations: 112.4 kB / 460.9 MB, free: 52.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.737e-05/0.08524, allocations: 23.98 kB / 460.9 MB, free: 52.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.08525, allocations: 0 / 460.9 MB, free: 52.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.08544, allocations: 130.6 kB / 461 MB, free: 51.88 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.08568, allocations: 4 kB / 461 MB, free: 51.88 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001978/0.08588, allocations: 155.7 kB / 461.2 MB, free: 51.7 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.086, allocations: 0.6849 MB / 461.9 MB, free: 50.99 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.595e-05/0.08602, allocations: 0 / 461.9 MB, free: 50.99 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.824e-05/0.08605, allocations: 11.44 kB / 461.9 MB, free: 50.98 MB / 330.7 MB Notification: Performance of SimCode: time 2.01e-07/0.08605, allocations: 0 / 461.9 MB, free: 50.98 MB / 330.7 MB Notification: Performance of Templates: time 0.002283/0.08834, allocations: 452.7 kB / 462.3 MB, free: 50.54 MB / 330.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1)