Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.00121, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008835/0.0008837, allocations: 94.45 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002521/0.002521, allocations: 0.5617 MB / 337 MB, free: 9.504 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.433e-05/3.435e-05, allocations: 8 kB / 395.5 MB, free: 70.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1223, allocations: 50.57 MB / 446 MB, free: 20.01 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4774/0.5998, allocations: 76.43 MB / 0.5102 GB, free: 11.44 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.6001, allocations: 64.89 kB / 0.5103 GB, free: 11.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007001/0.6071, allocations: 2.435 MB / 0.5127 GB, free: 9.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6072, allocations: 4 kB / 0.5127 GB, free: 9.336 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.6072, allocations: 0 / 0.5127 GB, free: 9.336 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.0005754/0.6078, allocations: 365.8 kB / 0.513 GB, free: 8.938 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.076e-05/0.6078, allocations: 15.97 kB / 0.513 GB, free: 8.922 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.6079, allocations: 11.86 kB / 0.513 GB, free: 8.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.6082, allocations: 174.9 kB / 0.5132 GB, free: 8.699 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.6082, allocations: 7.312 kB / 0.5132 GB, free: 8.695 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.245e-05/0.6082, allocations: 11.75 kB / 0.5132 GB, free: 8.688 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.6085, allocations: 92.67 kB / 0.5133 GB, free: 8.617 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.6085, allocations: 4 kB / 0.5133 GB, free: 8.613 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.6086, allocations: 3.375 kB / 0.5133 GB, free: 8.613 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.6086, allocations: 0 / 0.5133 GB, free: 8.613 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.6087, allocations: 62.23 kB / 0.5134 GB, free: 8.566 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000696/0.6094, allocations: 389.3 kB / 0.5137 GB, free: 8.184 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.6096, allocations: 94.5 kB / 0.5138 GB, free: 8.105 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.026e-05/0.6097, allocations: 34.86 kB / 0.5139 GB, free: 8.078 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.6097, allocations: 3.828 kB / 0.5139 GB, free: 8.078 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.6098, allocations: 45.88 kB / 0.5139 GB, free: 8.027 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.6098, allocations: 0 / 0.5139 GB, free: 8.027 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001277/0.6111, allocations: 0.656 MB / 0.5146 GB, free: 7.359 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.6111, allocations: 59.34 kB / 0.5146 GB, free: 7.289 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.6113, allocations: 111.4 kB / 0.5147 GB, free: 7.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.6113, allocations: 28.89 kB / 0.5148 GB, free: 7.148 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.438e-05/0.6114, allocations: 102.5 kB / 0.5148 GB, free: 7.047 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.143e-05/0.6115, allocations: 50.42 kB / 0.5149 GB, free: 7.004 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-06/0.6115, allocations: 7.438 kB / 0.5149 GB, free: 7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.6117, allocations: 322.3 kB / 0.5152 GB, free: 6.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.042e-05/0.6117, allocations: 30.06 kB / 0.5152 GB, free: 6.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.335e-05/0.6118, allocations: 58.22 kB / 0.5153 GB, free: 6.609 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.909e-05/0.6119, allocations: 41.42 kB / 0.5153 GB, free: 6.582 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.6119, allocations: 0 / 0.5153 GB, free: 6.582 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002765/0.6122, allocations: 163.7 kB / 0.5155 GB, free: 6.445 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.6122, allocations: 4 kB / 0.5155 GB, free: 6.441 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.6122, allocations: 0 / 0.5155 GB, free: 6.441 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001604/0.6124, allocations: 31.72 kB / 0.5155 GB, free: 6.414 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.6125, allocations: 23.98 kB / 0.5155 GB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.6142, allocations: 1.447 MB / 0.517 GB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.942e-05/0.6142, allocations: 4.016 kB / 0.517 GB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.6143, allocations: 11.44 kB / 0.517 GB, free: 4.887 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001152/0.6144, allocations: 112.3 kB / 0.5171 GB, free: 4.773 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.6144, allocations: 7.906 kB / 0.5171 GB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.616e-05/0.6145, allocations: 19.05 kB / 0.5171 GB, free: 4.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.6145, allocations: 4 kB / 0.5171 GB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.6145, allocations: 0 / 0.5171 GB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.6145, allocations: 0 / 0.5171 GB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007338/0.6152, allocations: 0.5461 MB / 0.5176 GB, free: 4.184 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.6153, allocations: 0 / 0.5176 GB, free: 4.184 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.6154, allocations: 27.92 kB / 0.5177 GB, free: 4.156 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-05/0.6155, allocations: 24.33 kB / 0.5177 GB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.6155, allocations: 0 / 0.5177 GB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.6166, allocations: 1.28 MB / 0.5189 GB, free: 2.766 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6166, allocations: 0 / 0.5189 GB, free: 2.766 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004041/0.617, allocations: 335.2 kB / 0.5193 GB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.6171, allocations: 85.02 kB / 0.5193 GB, free: 2.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.6171, allocations: 3.625 kB / 0.5193 GB, free: 2.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.6172, allocations: 11.95 kB / 0.5194 GB, free: 2.328 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.6172, allocations: 11.84 kB / 0.5194 GB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.6172, allocations: 7.984 kB / 0.5194 GB, free: 2.312 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.407e-05/0.6173, allocations: 102.7 kB / 0.5195 GB, free: 2.219 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6173, allocations: 3.938 kB / 0.5195 GB, free: 2.215 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002974/0.6176, allocations: 31.88 kB / 0.5195 GB, free: 2.188 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001632/0.6178, allocations: 103.1 kB / 0.5196 GB, free: 2.082 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004323/0.6182, allocations: 214.2 kB / 0.5198 GB, free: 1.891 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6183, allocations: 0 / 0.5198 GB, free: 1.891 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.6185, allocations: 161.9 kB / 0.52 GB, free: 1.734 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.6187, allocations: 25.8 kB / 0.52 GB, free: 1.715 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005909/0.6194, allocations: 303.9 kB / 0.5203 GB, free: 1.406 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.6198, allocations: 0.7087 MB / 0.521 GB, free: 0.6719 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.937e-05/0.6198, allocations: 4.781 kB / 0.521 GB, free: 0.668 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.6199, allocations: 19.44 kB / 0.521 GB, free: 0.6523 MB / 330.7 MB Notification: Performance of SimCode: time 3.01e-07/0.6199, allocations: 0 / 0.521 GB, free: 0.6523 MB / 330.7 MB Notification: Performance of Templates: time 0.004123/0.624, allocations: 1.252 MB / 0.5222 GB, free: 15.46 MB / 346.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)