Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.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.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 176.2 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.324/1.324, allocations: 225.7 MB / 241.9 MB, free: 204 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.0008052/0.0008053, allocations: 101.1 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.00242/0.00242, allocations: 0.5728 MB / 344.7 MB, free: 9.113 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003031/0.0003031, allocations: 9.594 kB / 406 MB, free: 96.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.076/0.07631, allocations: 50.58 MB / 456.6 MB, free: 56.83 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.001311/0.07767, allocations: 1.321 MB / 457.9 MB, free: 55.5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001954/0.07788, allocations: 88.2 kB / 458 MB, free: 55.41 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.464e-05/0.07795, allocations: 4 kB / 458 MB, free: 55.41 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.09e-05/0.07798, allocations: 7.922 kB / 458 MB, free: 55.4 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 9.228e-05/0.07808, allocations: 31.77 kB / 458 MB, free: 55.37 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001163/0.07821, allocations: 23.92 kB / 458.1 MB, free: 55.35 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.07831, allocations: 103.5 kB / 458.2 MB, free: 55.25 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.07844, allocations: 27.92 kB / 458.2 MB, free: 55.22 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.275e-05/0.0785, allocations: 35.84 kB / 458.2 MB, free: 55.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.59e-05/0.07859, allocations: 39.78 kB / 458.3 MB, free: 55.14 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.07861, allocations: 8 kB / 458.3 MB, free: 55.14 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.709e-05/0.07863, allocations: 4 kB / 458.3 MB, free: 55.13 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.07866, allocations: 15.94 kB / 458.3 MB, free: 55.12 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.048e-05/0.07872, allocations: 73.5 kB / 458.4 MB, free: 55.04 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 9.58e-05/0.07882, allocations: 99.84 kB / 458.5 MB, free: 54.94 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.07883, allocations: 3.938 kB / 458.5 MB, free: 54.94 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.07883, allocations: 4 kB / 458.5 MB, free: 54.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.07884, allocations: 0 / 458.5 MB, free: 54.93 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.0003518/0.0792, allocations: 383.4 kB / 458.9 MB, free: 54.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.07924, allocations: 15.97 kB / 458.9 MB, free: 54.49 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.07928, allocations: 12.84 kB / 458.9 MB, free: 54.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.0794, allocations: 188.2 kB / 459.1 MB, free: 54.26 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.07942, allocations: 8.562 kB / 459.1 MB, free: 54.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.07945, allocations: 8.375 kB / 459.1 MB, free: 54.24 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.0796, allocations: 89.97 kB / 459.2 MB, free: 54.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.07962, allocations: 7.938 kB / 459.2 MB, free: 54.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.07964, allocations: 4 kB / 459.2 MB, free: 54.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.07965, allocations: 7.984 kB / 459.2 MB, free: 54.13 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.497e-05/0.07975, allocations: 55.95 kB / 459.2 MB, free: 54.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004059/0.08016, allocations: 392.6 kB / 459.6 MB, free: 53.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.08031, allocations: 110.4 kB / 459.7 MB, free: 53.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.199e-05/0.08037, allocations: 36.84 kB / 459.8 MB, free: 53.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.08039, allocations: 7.938 kB / 459.8 MB, free: 53.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.147e-05/0.0804, allocations: 34.56 kB / 459.8 MB, free: 53.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.422e-06/0.08041, allocations: 0 / 459.8 MB, free: 53.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008713/0.08129, allocations: 0.6698 MB / 460.5 MB, free: 52.67 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/0.08132, allocations: 59.41 kB / 460.5 MB, free: 52.6 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.133e-05/0.0814, allocations: 126.9 kB / 460.7 MB, free: 52.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.846e-06/0.08141, allocations: 29.7 kB / 460.7 MB, free: 52.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/0.08146, allocations: 100.3 kB / 460.8 MB, free: 52.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.08149, allocations: 59.09 kB / 460.8 MB, free: 52.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.0815, allocations: 4 kB / 460.8 MB, free: 52.26 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.281e-05/0.08155, allocations: 322.8 kB / 461.2 MB, free: 51.94 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.832e-05/0.0816, allocations: 35.94 kB / 461.2 MB, free: 51.9 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.591e-05/0.08166, allocations: 58.56 kB / 461.3 MB, free: 51.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.08177, allocations: 106.6 kB / 461.4 MB, free: 51.72 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.08178, allocations: 0 / 461.4 MB, free: 51.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002062/0.08199, allocations: 162.3 kB / 461.5 MB, free: 51.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.08201, allocations: 7.938 kB / 461.5 MB, free: 51.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.08202, allocations: 0 / 461.5 MB, free: 51.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001168/0.08215, allocations: 32.88 kB / 461.6 MB, free: 51.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.08227, allocations: 23.98 kB / 461.6 MB, free: 51.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007633/0.08304, allocations: 1.448 MB / 463 MB, free: 49.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.76e-05/0.0831, allocations: 4 kB / 463 MB, free: 49.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.08312, allocations: 4 kB / 463 MB, free: 49.89 MB / 330.7 MB 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 6.734e-05/0.08319, allocations: 127.8 kB / 463.2 MB, free: 49.76 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.08322, allocations: 15.84 kB / 463.2 MB, free: 49.74 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.08326, allocations: 20.83 kB / 463.2 MB, free: 49.72 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.08327, allocations: 0 / 463.2 MB, free: 49.72 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.08327, allocations: 8.062 kB / 463.2 MB, free: 49.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.08328, allocations: 0 / 463.2 MB, free: 49.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004701/0.08376, allocations: 0.5438 MB / 463.8 MB, free: 49.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.08377, allocations: 4.094 kB / 463.8 MB, free: 49.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.08389, allocations: 27.92 kB / 463.8 MB, free: 49.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.617e-05/0.08396, allocations: 24.8 kB / 463.8 MB, free: 49.03 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.08398, allocations: 8.047 kB / 463.8 MB, free: 49.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000503/0.08449, allocations: 1.272 MB / 465.1 MB, free: 47.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.0845, allocations: 3.938 kB / 465.1 MB, free: 47.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.08475, allocations: 298.9 kB / 465.4 MB, free: 47.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.029e-05/0.08478, allocations: 85.05 kB / 465.5 MB, free: 47.19 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.0848, allocations: 7.984 kB / 465.5 MB, free: 47.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.558e-05/0.08488, allocations: 4 kB / 465.5 MB, free: 47.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.08491, allocations: 16.02 kB / 465.5 MB, free: 47.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.08493, allocations: 4 kB / 465.5 MB, free: 47.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.117e-05/0.08496, allocations: 95.7 kB / 465.6 MB, free: 47.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08497, allocations: 4.062 kB / 465.6 MB, free: 47.06 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002912/0.08526, allocations: 28 kB / 465.6 MB, free: 47.04 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.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 6.964e-05/0.08534, allocations: 103.2 kB / 465.7 MB, free: 46.92 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002762/0.08562, allocations: 230.4 kB / 465.9 MB, free: 46.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.08564, allocations: 0 / 465.9 MB, free: 46.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.08578, allocations: 162.9 kB / 466.1 MB, free: 46.51 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.08611, allocations: 30.97 kB / 466.1 MB, free: 46.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004951/0.08662, allocations: 480.1 kB / 466.6 MB, free: 45.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.998e-05/0.08673, allocations: 0.7048 MB / 467.3 MB, free: 45.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.528e-05/0.08678, allocations: 9.094 kB / 467.3 MB, free: 45.24 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.08681, allocations: 15.44 kB / 467.3 MB, free: 45.23 MB / 330.7 MB Notification: Performance of SimCode: time 2.01e-07/0.08682, allocations: 0 / 467.3 MB, free: 45.23 MB / 330.7 MB Notification: Performance of Templates: time 0.002991/0.08981, allocations: 1.306 MB / 468.6 MB, free: 43.93 MB / 330.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1)