Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.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.TwoMassesReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001195, allocations: 175.8 kB / 15.43 MB, free: 5.707 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.284/1.284, allocations: 225.7 MB / 241.9 MB, free: 200 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.0007271/0.0007273, allocations: 88.58 kB / 293.1 MB, free: 12.87 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.003165/0.003165, allocations: 0.5496 MB / 344.7 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003503, allocations: 14.66 kB / 406 MB, free: 97.07 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08546/0.08582, allocations: 50.57 MB / 456.6 MB, free: 56.8 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.001411/0.08728, allocations: 1.325 MB / 457.9 MB, free: 55.46 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002355/0.08754, allocations: 96.12 kB / 458 MB, free: 55.37 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.485e-05/0.08761, allocations: 8 kB / 458 MB, free: 55.36 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.75e-05/0.08765, allocations: 7.922 kB / 458 MB, free: 55.36 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 8.902e-05/0.08775, allocations: 23.78 kB / 458.1 MB, free: 55.33 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001303/0.08789, allocations: 23.97 kB / 458.1 MB, free: 55.31 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.08801, allocations: 99.53 kB / 458.2 MB, free: 55.21 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.08816, allocations: 27.92 kB / 458.2 MB, free: 55.18 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.399e-05/0.08823, allocations: 39.8 kB / 458.2 MB, free: 55.14 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.006e-05/0.08832, allocations: 47.77 kB / 458.3 MB, free: 55.1 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.08835, allocations: 4 kB / 458.3 MB, free: 55.09 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.888e-05/0.08838, allocations: 8 kB / 458.3 MB, free: 55.09 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/0.0884, allocations: 11.94 kB / 458.3 MB, free: 55.07 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.861e-05/0.08847, allocations: 69.5 kB / 458.4 MB, free: 55 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.0886, allocations: 103.8 kB / 458.5 MB, free: 54.9 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.08862, allocations: 0 / 458.5 MB, free: 54.9 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.08862, allocations: 0 / 458.5 MB, free: 54.9 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.08863, allocations: 0 / 458.5 MB, free: 54.9 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.0004394/0.08908, allocations: 391.4 kB / 458.9 MB, free: 54.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.08912, allocations: 11.97 kB / 458.9 MB, free: 54.45 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.08916, allocations: 12.84 kB / 458.9 MB, free: 54.44 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.08931, allocations: 188.2 kB / 459.1 MB, free: 54.22 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.08933, allocations: 8.562 kB / 459.1 MB, free: 54.21 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.08936, allocations: 8.375 kB / 459.1 MB, free: 54.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.08953, allocations: 89.97 kB / 459.2 MB, free: 54.11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.08955, allocations: 4 kB / 459.2 MB, free: 54.11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.08958, allocations: 8 kB / 459.2 MB, free: 54.1 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.08959, allocations: 3.938 kB / 459.2 MB, free: 54.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.0897, allocations: 63.89 kB / 459.3 MB, free: 54.03 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004675/0.09017, allocations: 384.6 kB / 459.6 MB, free: 53.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.09034, allocations: 122.4 kB / 459.8 MB, free: 53.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.252e-05/0.0904, allocations: 32.84 kB / 459.8 MB, free: 53.44 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.09042, allocations: 0 / 459.8 MB, free: 53.44 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.09044, allocations: 42.56 kB / 459.8 MB, free: 53.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 9.52e-07/0.09045, allocations: 0 / 459.8 MB, free: 53.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009372/0.09139, allocations: 0.6737 MB / 460.5 MB, free: 52.62 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.09142, allocations: 55.41 kB / 460.6 MB, free: 52.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.573e-05/0.09151, allocations: 122.9 kB / 460.7 MB, free: 52.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.978e-06/0.09152, allocations: 33.7 kB / 460.7 MB, free: 52.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.159e-05/0.09157, allocations: 96.3 kB / 460.8 MB, free: 52.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.09161, allocations: 63.05 kB / 460.9 MB, free: 52.22 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/0.09162, allocations: 4 kB / 460.9 MB, free: 52.22 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.331e-05/0.09168, allocations: 326.8 kB / 461.2 MB, free: 51.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.1e-05/0.09174, allocations: 35.94 kB / 461.2 MB, free: 51.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.904e-05/0.0918, allocations: 54.56 kB / 461.3 MB, free: 51.79 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.09192, allocations: 98.69 kB / 461.4 MB, free: 51.69 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.09193, allocations: 0 / 461.4 MB, free: 51.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001565/0.09209, allocations: 133.5 kB / 461.5 MB, free: 51.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.09211, allocations: 15.97 kB / 461.5 MB, free: 51.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.09212, allocations: 0 / 461.5 MB, free: 51.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.09214, allocations: 0 / 461.5 MB, free: 51.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.09232, allocations: 43.97 kB / 461.6 MB, free: 51.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.09233, allocations: 0 / 461.6 MB, free: 51.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.28e-05/0.09238, allocations: 0 / 461.6 MB, free: 51.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.0924, allocations: 8 kB / 461.6 MB, free: 51.48 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 (19): * Single equations (assignments): 19 * 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 6.8e-05/0.09247, allocations: 125.8 kB / 461.7 MB, free: 51.35 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.09251, allocations: 11.84 kB / 461.7 MB, free: 51.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.224e-05/0.09256, allocations: 20.83 kB / 461.7 MB, free: 51.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.09257, allocations: 4 kB / 461.7 MB, free: 51.31 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.09258, allocations: 0 / 461.7 MB, free: 51.31 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.09259, allocations: 0 / 461.7 MB, free: 51.31 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004797/0.09307, allocations: 0.5014 MB / 462.2 MB, free: 50.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.09309, allocations: 4 kB / 462.2 MB, free: 50.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.09321, allocations: 27.92 kB / 462.3 MB, free: 50.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.739e-05/0.09331, allocations: 20.8 kB / 462.3 MB, free: 50.69 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.09333, allocations: 4 kB / 462.3 MB, free: 50.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006323/0.09397, allocations: 1.276 MB / 463.6 MB, free: 49.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.09398, allocations: 8.016 kB / 463.6 MB, free: 49.26 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.09425, allocations: 290.9 kB / 463.8 MB, free: 48.95 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.474e-05/0.09428, allocations: 96.89 kB / 463.9 MB, free: 48.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.0943, allocations: 4 kB / 463.9 MB, free: 48.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.277e-05/0.09438, allocations: 7.984 kB / 464 MB, free: 48.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.09441, allocations: 11.98 kB / 464 MB, free: 48.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.09443, allocations: 8.062 kB / 464 MB, free: 48.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.204e-05/0.09446, allocations: 91.72 kB / 464.1 MB, free: 48.71 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09447, allocations: 0 / 464.1 MB, free: 48.71 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002273/0.0947, allocations: 28 kB / 464.1 MB, free: 48.69 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 8.264e-05/0.09479, allocations: 111.1 kB / 464.2 MB, free: 48.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001527/0.09495, allocations: 95.91 kB / 464.3 MB, free: 48.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.09496, allocations: 0 / 464.3 MB, free: 48.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.09517, allocations: 170.7 kB / 464.5 MB, free: 48.3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.09553, allocations: 23.92 kB / 464.5 MB, free: 48.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004908/0.09603, allocations: 473.4 kB / 464.9 MB, free: 47.78 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.09616, allocations: 0.7087 MB / 465.7 MB, free: 47.04 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.768e-05/0.09621, allocations: 9.078 kB / 465.7 MB, free: 47.03 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.09625, allocations: 15.44 kB / 465.7 MB, free: 47.02 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.09625, allocations: 0 / 465.7 MB, free: 47.02 MB / 330.7 MB Notification: Performance of Templates: time 0.003191/0.09945, allocations: 1.249 MB / 466.9 MB, free: 45.79 MB / 330.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1)