Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.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.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 176.5 kB / 15.43 MB, free: 6.203 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.37/1.37, allocations: 225.7 MB / 241.9 MB, free: 392 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.0007772/0.000777, allocations: 92.17 kB / 293.1 MB, free: 12.89 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.002243/0.002243, allocations: 0.5582 MB / 344.7 MB, free: 9.133 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002878/0.0002878, allocations: 7.562 kB / 406 MB, free: 97.15 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07472/0.07503, allocations: 50.58 MB / 456.6 MB, free: 56.83 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.0005541/0.07562, allocations: 246.4 kB / 456.8 MB, free: 56.6 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001426/0.07578, allocations: 23.91 kB / 456.9 MB, free: 56.57 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.35e-05/0.07582, allocations: 0 / 456.9 MB, free: 56.57 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.506e-05/0.07584, allocations: 0 / 456.9 MB, free: 56.57 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 3.003e-05/0.07588, allocations: 0 / 456.9 MB, free: 56.57 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001218/0.07601, allocations: 11.92 kB / 456.9 MB, free: 56.56 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 4.815e-05/0.07607, allocations: 15.98 kB / 456.9 MB, free: 56.55 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.344e-05/0.07613, allocations: 4 kB / 456.9 MB, free: 56.54 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.243e-05/0.07616, allocations: 15.92 kB / 456.9 MB, free: 56.53 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.964e-05/0.07623, allocations: 0 / 456.9 MB, free: 56.53 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.07625, allocations: 4 kB / 456.9 MB, free: 56.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.637e-06/0.07627, allocations: 0 / 456.9 MB, free: 56.52 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.0763, allocations: 7.922 kB / 456.9 MB, free: 56.52 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.342e-05/0.07634, allocations: 41.62 kB / 457 MB, free: 56.47 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 4.837e-05/0.07639, allocations: 15.92 kB / 457 MB, free: 56.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.07641, allocations: 0 / 457 MB, free: 56.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.07642, allocations: 0 / 457 MB, free: 56.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.07643, allocations: 4 kB / 457 MB, free: 56.45 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.0002966/0.07673, allocations: 323.8 kB / 457.3 MB, free: 56.08 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.07679, allocations: 11.97 kB / 457.3 MB, free: 56.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.07682, allocations: 8.844 kB / 457.3 MB, free: 56.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.633e-05/0.07691, allocations: 160.4 kB / 457.5 MB, free: 55.87 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.07693, allocations: 4.375 kB / 457.5 MB, free: 55.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.07697, allocations: 8.312 kB / 457.5 MB, free: 55.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.07708, allocations: 46.23 kB / 457.5 MB, free: 55.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.07711, allocations: 4.188 kB / 457.5 MB, free: 55.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.07712, allocations: 3.938 kB / 457.5 MB, free: 55.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.07714, allocations: 4 kB / 457.5 MB, free: 55.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.483e-05/0.07719, allocations: 16 kB / 457.6 MB, free: 55.78 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.07755, allocations: 286.6 kB / 457.8 MB, free: 55.44 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.249e-05/0.07765, allocations: 50.44 kB / 457.9 MB, free: 55.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.745e-05/0.07769, allocations: 8.859 kB / 457.9 MB, free: 55.37 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.07771, allocations: 8 kB / 457.9 MB, free: 55.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.07774, allocations: 34.64 kB / 457.9 MB, free: 55.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.07775, allocations: 0 / 457.9 MB, free: 55.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003916/0.07815, allocations: 159.6 kB / 458.1 MB, free: 55.14 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.908e-05/0.07818, allocations: 51.41 kB / 458.2 MB, free: 55.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.152e-05/0.07824, allocations: 98.17 kB / 458.2 MB, free: 54.97 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.07826, allocations: 29.7 kB / 458.3 MB, free: 54.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.752e-05/0.07829, allocations: 92.08 kB / 458.4 MB, free: 54.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.07832, allocations: 19.64 kB / 458.4 MB, free: 54.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.07833, allocations: 4 kB / 458.4 MB, free: 54.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.23e-05/0.07838, allocations: 314.8 kB / 458.7 MB, free: 54.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.284e-05/0.07841, allocations: 12 kB / 458.7 MB, free: 54.49 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.413e-05/0.07845, allocations: 17.7 kB / 458.7 MB, free: 54.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.578e-05/0.07852, allocations: 41.69 kB / 458.8 MB, free: 54.42 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.07853, allocations: 0 / 458.8 MB, free: 54.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001487/0.07868, allocations: 78.47 kB / 458.8 MB, free: 54.33 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.07872, allocations: 8 kB / 458.8 MB, free: 54.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.07874, allocations: 3.938 kB / 458.9 MB, free: 54.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001319/0.07887, allocations: 12.86 kB / 458.9 MB, free: 54.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.473e-05/0.07894, allocations: 4 kB / 458.9 MB, free: 54.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007523/0.0797, allocations: 1.252 MB / 460.1 MB, free: 52.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.064e-05/0.07975, allocations: 8.031 kB / 460.1 MB, free: 52.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.07976, allocations: 160 / 460.1 MB, free: 52.9 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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 5.984e-05/0.07983, allocations: 121.8 kB / 460.2 MB, free: 52.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.07987, allocations: 3.906 kB / 460.3 MB, free: 52.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.013e-05/0.0799, allocations: 11.44 kB / 460.3 MB, free: 52.76 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.07991, allocations: 0 / 460.3 MB, free: 52.76 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.07992, allocations: 0 / 460.3 MB, free: 52.76 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.07993, allocations: 4 kB / 460.3 MB, free: 52.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.08009, allocations: 153.7 kB / 460.4 MB, free: 52.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.0801, allocations: 0 / 460.4 MB, free: 52.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.55e-05/0.08016, allocations: 8 kB / 460.4 MB, free: 52.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.923e-05/0.08025, allocations: 20.84 kB / 460.4 MB, free: 52.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.08027, allocations: 3.938 kB / 460.5 MB, free: 52.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006655/0.08094, allocations: 1.253 MB / 461.7 MB, free: 51.13 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.08096, allocations: 0 / 461.7 MB, free: 51.13 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.08114, allocations: 176.2 kB / 461.9 MB, free: 50.94 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.08117, allocations: 89.06 kB / 462 MB, free: 50.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.08119, allocations: 0 / 462 MB, free: 50.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.354e-05/0.08128, allocations: 4.156 kB / 462 MB, free: 50.83 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/0.08131, allocations: 8 kB / 462 MB, free: 50.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.08132, allocations: 0 / 462 MB, free: 50.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.031e-05/0.08134, allocations: 79.27 kB / 462.1 MB, free: 50.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.08135, allocations: 4 kB / 462.1 MB, free: 50.74 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003415/0.0817, allocations: 4 kB / 462.1 MB, free: 50.74 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 7.936e-05/0.08179, allocations: 103.2 kB / 462.2 MB, free: 50.62 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002522/0.08205, allocations: 146.6 kB / 462.3 MB, free: 50.47 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.08207, allocations: 0 / 462.3 MB, free: 50.47 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.0822, allocations: 134.6 kB / 462.4 MB, free: 50.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.0825, allocations: 6.266 kB / 462.4 MB, free: 50.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002775/0.08279, allocations: 157.2 kB / 462.6 MB, free: 50.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.08293, allocations: 0.6809 MB / 463.3 MB, free: 49.43 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.863e-05/0.08296, allocations: 7.906 kB / 463.3 MB, free: 49.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.732e-05/0.08298, allocations: 7.438 kB / 463.3 MB, free: 49.42 MB / 330.7 MB Notification: Performance of SimCode: time 4.01e-07/0.08299, allocations: 0 / 463.3 MB, free: 49.42 MB / 330.7 MB Notification: Performance of Templates: time 0.002832/0.08583, allocations: 0.5254 MB / 463.8 MB, free: 48.9 MB / 330.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1)