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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002262/0.002262, allocations: 93.47 kB / 19.44 MB, free: 340 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002741/0.002741, allocations: 169.2 kB / 22.76 MB, free: 1.668 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.546/1.546, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.003302/0.003302, allocations: 419 kB / 260 MB, free: 12.66 MB / 250.7 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 329.4 MB, free: 19.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.314e-05, allocations: 2.312 kB / 329.4 MB, free: 19.65 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.002096/0.002119, allocations: 1.664 MB / 331 MB, free: 17.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002414/0.00236, allocations: 91.64 kB / 331.1 MB, free: 17.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.575e-05/0.002416, allocations: 0 / 331.1 MB, free: 17.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.278e-05/0.002459, allocations: 19.84 kB / 331.1 MB, free: 17.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.958e-05/0.002558, allocations: 35.7 kB / 331.2 MB, free: 17.83 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001029/0.002661, allocations: 19.98 kB / 331.2 MB, free: 17.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.302e-05/0.002754, allocations: 115.4 kB / 331.3 MB, free: 17.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.002857, allocations: 27.92 kB / 331.3 MB, free: 17.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.878e-05/0.002946, allocations: 59.88 kB / 331.4 MB, free: 17.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.75e-05/0.003023, allocations: 31.91 kB / 331.4 MB, free: 17.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.003045, allocations: 8 kB / 331.4 MB, free: 17.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.909e-05/0.003064, allocations: 8 kB / 331.4 MB, free: 17.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.003084, allocations: 23.91 kB / 331.5 MB, free: 17.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.821e-05/0.003122, allocations: 39.91 kB / 331.5 MB, free: 17.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.003268, allocations: 115.6 kB / 331.6 MB, free: 17.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.00327, allocations: 0 / 331.6 MB, free: 17.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.003271, allocations: 0 / 331.6 MB, free: 17.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.003276, allocations: 0 / 331.6 MB, free: 17.39 MB / 266.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.0004447/0.00372, allocations: 428.2 kB / 332 MB, free: 16.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.003751, allocations: 8.031 kB / 332 MB, free: 16.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.916e-05/0.0038, allocations: 16.89 kB / 332.1 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.003915, allocations: 144.4 kB / 332.2 MB, free: 16.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.003928, allocations: 8.562 kB / 332.2 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.003951, allocations: 4.375 kB / 332.2 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.004093, allocations: 94.72 kB / 332.3 MB, free: 16.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.004106, allocations: 3.953 kB / 332.3 MB, free: 16.63 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.004117, allocations: 4 kB / 332.3 MB, free: 16.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.004121, allocations: 4 kB / 332.3 MB, free: 16.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.004232, allocations: 51.97 kB / 332.4 MB, free: 16.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.004633, allocations: 371.5 kB / 332.7 MB, free: 16.17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.004778, allocations: 111.2 kB / 332.8 MB, free: 16.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.313e-05/0.004831, allocations: 47.61 kB / 332.9 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.004847, allocations: 0 / 332.9 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.213e-05/0.004859, allocations: 37.61 kB / 332.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 8.62e-07/0.00486, allocations: 3.938 kB / 332.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008499/0.00571, allocations: 0.5618 MB / 333.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.907e-05/0.005729, allocations: 55.34 kB / 333.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.449e-05/0.005794, allocations: 177.9 kB / 333.7 MB, free: 15.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.005803, allocations: 33.7 kB / 333.8 MB, free: 15.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.691e-05/0.00584, allocations: 146.8 kB / 333.9 MB, free: 14.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.005868, allocations: 63.48 kB / 334 MB, free: 14.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.005912, allocations: 43.36 kB / 334 MB, free: 14.76 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.361e-05/0.005966, allocations: 0.4962 MB / 334.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.883e-05/0.006014, allocations: 39.89 kB / 334.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.998e-05/0.006074, allocations: 72.52 kB / 334.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.006191, allocations: 122.3 kB / 334.7 MB, free: 14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.006192, allocations: 0 / 334.7 MB, free: 14 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002139/0.006406, allocations: 177.1 kB / 334.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.006417, allocations: 8 kB / 334.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.006421, allocations: 0 / 334.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001377/0.006559, allocations: 35.66 kB / 334.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.006664, allocations: 23.94 kB / 335 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008342/0.007498, allocations: 2.102 MB / 337.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.583e-05/0.007544, allocations: 8.062 kB / 337.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.007552, allocations: 4 kB / 337.1 MB, free: 11.51 MB / 266.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 5.958e-05/0.007611, allocations: 168.6 kB / 337.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.007644, allocations: 15.95 kB / 337.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.086e-05/0.007675, allocations: 12.78 kB / 337.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.007678, allocations: 7.938 kB / 337.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.00768, allocations: 0 / 337.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.007683, allocations: 0 / 337.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004931/0.008176, allocations: 0.5193 MB / 337.8 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.008178, allocations: 0 / 337.8 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.008289, allocations: 27.98 kB / 337.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.365e-05/0.008353, allocations: 15.69 kB / 337.8 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.008364, allocations: 11.98 kB / 337.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005779/0.008942, allocations: 1.779 MB / 339.6 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.008944, allocations: 0 / 339.6 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.009204, allocations: 366.5 kB / 340 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.137e-05/0.009216, allocations: 11.89 kB / 340 MB, free: 8.355 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.009231, allocations: 8 kB / 340 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.526e-05/0.009306, allocations: 0 / 340 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/0.009335, allocations: 23.91 kB / 340 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.009342, allocations: 4 kB / 340 MB, free: 8.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.172e-05/0.009374, allocations: 135.3 kB / 340.2 MB, free: 8.188 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009374, allocations: 0 / 340.2 MB, free: 8.188 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003079/0.009682, allocations: 31.94 kB / 340.2 MB, free: 8.156 MB / 266.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 7.152e-05/0.009753, allocations: 103.2 kB / 340.3 MB, free: 8.047 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003319/0.01009, allocations: 295.7 kB / 340.6 MB, free: 7.738 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01009, allocations: 0 / 340.6 MB, free: 7.738 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.01024, allocations: 245 kB / 340.8 MB, free: 7.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.01057, allocations: 26.16 kB / 340.9 MB, free: 7.457 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000461/0.01103, allocations: 355.5 kB / 341.2 MB, free: 7.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.975e-05/0.01108, allocations: 92.67 kB / 341.3 MB, free: 6.961 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.053e-05/0.01112, allocations: 16.64 kB / 341.3 MB, free: 6.941 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.01114, allocations: 12.5 kB / 341.3 MB, free: 6.93 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01114, allocations: 0 / 341.3 MB, free: 6.93 MB / 266.7 MB Notification: Performance of Templates: time 0.004345/0.01549, allocations: 1.447 MB / 342.8 MB, free: 5.566 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.makefile [Timeout 660] (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=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.38833050604444]