Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.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.001465/0.001465, allocations: 88.72 kB / 19.44 MB, free: 356 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.001796/0.001796, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.503/1.503, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.002957/0.002957, allocations: 418.2 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.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 3.938 kB / 329.4 MB, free: 19.67 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.057e-05, allocations: 6.312 kB / 329.4 MB, free: 19.66 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.001954/0.001974, allocations: 1.615 MB / 331 MB, free: 18.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002241/0.002199, allocations: 99.62 kB / 331.1 MB, free: 17.94 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.609e-05/0.002245, allocations: 4 kB / 331.1 MB, free: 17.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.657e-05/0.002281, allocations: 11.86 kB / 331.1 MB, free: 17.92 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.017e-05/0.002361, allocations: 31.7 kB / 331.1 MB, free: 17.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.949e-05/0.002451, allocations: 23.97 kB / 331.2 MB, free: 17.87 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.288e-05/0.002534, allocations: 115.4 kB / 331.3 MB, free: 17.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.448e-05/0.002628, allocations: 23.92 kB / 331.3 MB, free: 17.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.072e-05/0.002709, allocations: 71.86 kB / 331.4 MB, free: 17.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.242e-05/0.002771, allocations: 35.89 kB / 331.4 MB, free: 17.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.002789, allocations: 8 kB / 331.4 MB, free: 17.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.496e-05/0.002804, allocations: 8 kB / 331.4 MB, free: 17.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.002819, allocations: 15.94 kB / 331.4 MB, free: 17.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.539e-05/0.002854, allocations: 35.91 kB / 331.5 MB, free: 17.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.002962, allocations: 115.6 kB / 331.6 MB, free: 17.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.002963, allocations: 0 / 331.6 MB, free: 17.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.002964, allocations: 0 / 331.6 MB, free: 17.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.965e-06/0.002967, allocations: 0 / 331.6 MB, free: 17.45 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.0003472/0.003314, allocations: 318.2 kB / 331.9 MB, free: 17.1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.595e-05/0.00334, allocations: 8.031 kB / 331.9 MB, free: 17.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.003383, allocations: 20.89 kB / 331.9 MB, free: 17.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.003487, allocations: 133.6 kB / 332 MB, free: 16.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.003497, allocations: 4.562 kB / 332.1 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.003521, allocations: 8.375 kB / 332.1 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.003657, allocations: 99.66 kB / 332.2 MB, free: 16.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.003668, allocations: 3.953 kB / 332.2 MB, free: 16.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.003678, allocations: 0 / 332.2 MB, free: 16.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.003682, allocations: 4 kB / 332.2 MB, free: 16.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.588e-05/0.003767, allocations: 59.95 kB / 332.2 MB, free: 16.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.004151, allocations: 300.3 kB / 332.5 MB, free: 16.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.004285, allocations: 102.7 kB / 332.6 MB, free: 16.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.693e-05/0.004331, allocations: 36.78 kB / 332.7 MB, free: 16.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.004343, allocations: 224 / 332.7 MB, free: 16.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.004358, allocations: 42.5 kB / 332.7 MB, free: 16.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.004359, allocations: 3.984 kB / 332.7 MB, free: 16.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007941/0.005153, allocations: 0.5374 MB / 333.2 MB, free: 15.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.828e-05/0.005171, allocations: 55.34 kB / 333.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.572e-05/0.005227, allocations: 113.8 kB / 333.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.005236, allocations: 29.69 kB / 333.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.911e-05/0.005265, allocations: 100 kB / 333.5 MB, free: 15.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.005291, allocations: 59.48 kB / 333.6 MB, free: 15.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.005331, allocations: 41.59 kB / 333.6 MB, free: 15.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.463e-05/0.005366, allocations: 322.8 kB / 333.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.976e-05/0.005415, allocations: 35.92 kB / 334 MB, free: 14.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.764e-05/0.005473, allocations: 60.11 kB / 334 MB, free: 14.76 MB / 266.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.v = $START.mass1.v ($START.mass2.v = $START.mass1.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005906/0.006064, allocations: 266.1 kB / 334.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.006065, allocations: 0 / 334.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002112/0.006276, allocations: 170.3 kB / 334.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.006287, allocations: 11.12 kB / 334.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.00629, allocations: 4.031 kB / 334.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001214/0.006412, allocations: 32.84 kB / 334.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.569e-05/0.006497, allocations: 27.92 kB / 334.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007483/0.007246, allocations: 1.481 MB / 336 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/0.007293, allocations: 4 kB / 336 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.007301, allocations: 4 kB / 336 MB, free: 12.66 MB / 266.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: mass1.v = $START.mass1.v mass2.s = $START.mass2.s. 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 6.6e-05/0.007367, allocations: 129.9 kB / 336.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.007401, allocations: 19.89 kB / 336.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.007429, allocations: 16.77 kB / 336.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.007431, allocations: 4 kB / 336.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.007434, allocations: 3.938 kB / 336.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.007435, allocations: 0 / 336.2 MB, free: 12.48 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004492/0.007885, allocations: 433.3 kB / 336.6 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.007888, allocations: 7.984 kB / 336.6 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.007999, allocations: 20 kB / 336.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.51e-05/0.008064, allocations: 20.84 kB / 336.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.008073, allocations: 7.938 kB / 336.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005214/0.008594, allocations: 1.249 MB / 337.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.008597, allocations: 7.969 kB / 337.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.008867, allocations: 298.9 kB / 338.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.187e-05/0.008879, allocations: 15.94 kB / 338.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.008893, allocations: 0 / 338.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.149e-05/0.008974, allocations: 11.94 kB / 338.3 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.008994, allocations: 11.92 kB / 338.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.009001, allocations: 4 kB / 338.3 MB, free: 10.22 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.713e-05/0.009028, allocations: 95.58 kB / 338.4 MB, free: 10.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009028, allocations: 0 / 338.4 MB, free: 10.13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003066/0.009334, allocations: 40.12 kB / 338.4 MB, free: 10.09 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.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 6.483e-05/0.009399, allocations: 95.19 kB / 338.5 MB, free: 9.988 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003165/0.009716, allocations: 238.3 kB / 338.7 MB, free: 9.742 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.009718, allocations: 0 / 338.7 MB, free: 9.742 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.009854, allocations: 158.6 kB / 338.9 MB, free: 9.574 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.01017, allocations: 30.22 kB / 338.9 MB, free: 9.551 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.01061, allocations: 345.2 kB / 339.2 MB, free: 9.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.48e-05/0.01068, allocations: 92.67 kB / 339.3 MB, free: 9.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.473e-05/0.01072, allocations: 16.64 kB / 339.4 MB, free: 9.051 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.01075, allocations: 12.5 kB / 339.4 MB, free: 9.039 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01075, allocations: 0 / 339.4 MB, free: 9.039 MB / 266.7 MB Notification: Performance of Templates: time 0.004007/0.01476, allocations: 1.505 MB / 340.9 MB, free: 7.605 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.29428327397909]