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.001445/0.001445, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.871/1.871, allocations: 221.5 MB / 229.6 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 97.53 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002567/0.002567, allocations: 0.5646 MB / 331.8 MB, free: 14.56 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.676e-05/1.679e-05, allocations: 0 / 388.6 MB, free: 5.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3368, allocations: 50.57 MB / 439.2 MB, free: 19.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1048/0.4417, allocations: 75.76 MB / 0.5029 GB, free: 7.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/0.442, allocations: 67.91 kB / 0.5029 GB, free: 7.414 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006098/0.4481, allocations: 2.415 MB / 0.5053 GB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4482, allocations: 0 / 0.5053 GB, free: 4.984 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.4482, allocations: 4 kB / 0.5053 GB, free: 4.98 MB / 346.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.000368/0.4485, allocations: 366.5 kB / 0.5056 GB, free: 4.574 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.4486, allocations: 12.03 kB / 0.5056 GB, free: 4.562 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.4486, allocations: 11.86 kB / 0.5057 GB, free: 4.551 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.4488, allocations: 178.8 kB / 0.5058 GB, free: 4.336 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.4488, allocations: 4 kB / 0.5058 GB, free: 4.332 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.4488, allocations: 4 kB / 0.5058 GB, free: 4.328 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001353/0.449, allocations: 52.36 kB / 0.5059 GB, free: 4.277 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.4491, allocations: 74.98 kB / 0.506 GB, free: 4.199 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.4491, allocations: 7.938 kB / 0.506 GB, free: 4.191 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.4492, allocations: 4 kB / 0.506 GB, free: 4.188 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.4492, allocations: 3.953 kB / 0.506 GB, free: 4.184 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004873/0.4497, allocations: 341.7 kB / 0.5063 GB, free: 3.812 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.4498, allocations: 98.45 kB / 0.5064 GB, free: 3.707 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.046e-05/0.4499, allocations: 32.86 kB / 0.5064 GB, free: 3.672 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.4499, allocations: 0 / 0.5064 GB, free: 3.672 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.4499, allocations: 34.78 kB / 0.5065 GB, free: 3.629 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.735e-06/0.4499, allocations: 0 / 0.5065 GB, free: 3.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009148/0.4509, allocations: 0.6089 MB / 0.5071 GB, free: 2.926 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.4509, allocations: 59.39 kB / 0.5071 GB, free: 2.855 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.091e-05/0.451, allocations: 105.1 kB / 0.5072 GB, free: 2.746 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.451, allocations: 25.7 kB / 0.5072 GB, free: 2.715 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.4511, allocations: 103.9 kB / 0.5073 GB, free: 2.609 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.4511, allocations: 55.2 kB / 0.5074 GB, free: 2.555 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/0.4511, allocations: 0 / 0.5074 GB, free: 2.555 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.4512, allocations: 326.8 kB / 0.5077 GB, free: 2.227 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.564e-05/0.4513, allocations: 28 kB / 0.5077 GB, free: 2.199 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.585e-05/0.4513, allocations: 42.58 kB / 0.5078 GB, free: 2.148 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.245e-05/0.4514, allocations: 51.92 kB / 0.5078 GB, free: 2.098 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.4514, allocations: 0 / 0.5078 GB, free: 2.098 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002136/0.4516, allocations: 144.1 kB / 0.508 GB, free: 1.949 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.4517, allocations: 13.38 kB / 0.508 GB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4517, allocations: 0 / 0.508 GB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001142/0.4518, allocations: 32.84 kB / 0.508 GB, free: 1.902 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.4519, allocations: 20 kB / 0.508 GB, free: 1.883 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.453, allocations: 1.4 MB / 0.5094 GB, free: 372 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.268e-05/0.453, allocations: 0 / 0.5094 GB, free: 372 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.453, allocations: 4.031 kB / 0.5094 GB, free: 368 kB / 346.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 7.267e-05/0.4531, allocations: 108.9 kB / 0.5095 GB, free: 252 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.4531, allocations: 11.91 kB / 0.5095 GB, free: 240 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.4532, allocations: 16.81 kB / 0.5095 GB, free: 224 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4532, allocations: 0 / 0.5095 GB, free: 224 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.4532, allocations: 4 kB / 0.5095 GB, free: 220 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4532, allocations: 3.984 kB / 0.5095 GB, free: 216 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005456/0.4538, allocations: 0.4977 MB / 0.51 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.4538, allocations: 0 / 0.51 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.4539, allocations: 20 kB / 0.51 GB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.748e-05/0.454, allocations: 20.84 kB / 0.51 GB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.454, allocations: 4 kB / 0.5101 GB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007865/0.4548, allocations: 1.241 MB / 0.5113 GB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4548, allocations: 0 / 0.5113 GB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.4551, allocations: 317 kB / 0.5116 GB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.4552, allocations: 88.95 kB / 0.5117 GB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.4552, allocations: 4 kB / 0.5117 GB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.235e-05/0.4553, allocations: 384 / 0.5117 GB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.4553, allocations: 16.05 kB / 0.5117 GB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.4553, allocations: 4 kB / 0.5117 GB, free: 13.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.466e-05/0.4554, allocations: 91.22 kB / 0.5118 GB, free: 13.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4554, allocations: 0 / 0.5118 GB, free: 13.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002904/0.4557, allocations: 31.95 kB / 0.5118 GB, free: 13.63 MB / 362.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.0001122/0.4558, allocations: 99.17 kB / 0.5119 GB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003544/0.4562, allocations: 193.8 kB / 0.5121 GB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4562, allocations: 4 kB / 0.5121 GB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.4563, allocations: 166.3 kB / 0.5122 GB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.4566, allocations: 10.39 kB / 0.5122 GB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004903/0.4571, allocations: 284.1 kB / 0.5125 GB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.4574, allocations: 0.7161 MB / 0.5132 GB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.562e-05/0.4575, allocations: 12.77 kB / 0.5132 GB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.4575, allocations: 11.44 kB / 0.5132 GB, free: 12.07 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4575, allocations: 0 / 0.5132 GB, free: 12.07 MB / 362.7 MB Notification: Performance of Templates: time 0.00346/0.461, allocations: 1.187 MB / 0.5144 GB, free: 10.93 MB / 362.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)