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.001911/0.001911, allocations: 93.47 kB / 19.44 MB, free: 332 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.002049/0.002049, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.567/1.567, 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.003328/0.003328, allocations: 430.8 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.393e-06/1.393e-06, allocations: 0 / 329.4 MB, free: 19.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.312e-05, allocations: 6.312 kB / 329.4 MB, free: 19.65 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.002159/0.002182, allocations: 1.658 MB / 331 MB, free: 17.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000253/0.002435, allocations: 91.62 kB / 331.1 MB, free: 17.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.878e-05/0.002494, allocations: 4 kB / 331.1 MB, free: 17.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.239e-05/0.002536, allocations: 11.86 kB / 331.1 MB, free: 17.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.002645, allocations: 35.7 kB / 331.2 MB, free: 17.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001156/0.002761, allocations: 27.95 kB / 331.2 MB, free: 17.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.289e-05/0.002853, allocations: 107.4 kB / 331.3 MB, free: 17.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.002981, allocations: 31.91 kB / 331.3 MB, free: 17.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.003081, allocations: 55.89 kB / 331.4 MB, free: 17.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.592e-05/0.003167, allocations: 35.89 kB / 331.4 MB, free: 17.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.003189, allocations: 8 kB / 331.4 MB, free: 17.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.901e-05/0.003208, allocations: 12 kB / 331.4 MB, free: 17.56 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.00323, allocations: 19.92 kB / 331.5 MB, free: 17.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.05e-05/0.003281, allocations: 43.91 kB / 331.5 MB, free: 17.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.003412, allocations: 111.6 kB / 331.6 MB, free: 17.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.003415, allocations: 0 / 331.6 MB, free: 17.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.003416, allocations: 0 / 331.6 MB, free: 17.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.003422, 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.0004401/0.003862, allocations: 424.2 kB / 332 MB, free: 16.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.003892, allocations: 8.031 kB / 332 MB, free: 16.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.453e-05/0.003957, allocations: 20.89 kB / 332.1 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.004088, allocations: 140.4 kB / 332.2 MB, free: 16.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.004101, allocations: 8.562 kB / 332.2 MB, free: 16.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.004123, allocations: 12.38 kB / 332.2 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.004288, allocations: 90.72 kB / 332.3 MB, free: 16.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.004306, allocations: 3.953 kB / 332.3 MB, free: 16.63 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.004317, allocations: 0 / 332.3 MB, free: 16.63 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.004322, allocations: 4 kB / 332.3 MB, free: 16.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.918e-05/0.004421, allocations: 59.95 kB / 332.4 MB, free: 16.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.004839, allocations: 371.5 kB / 332.7 MB, free: 16.17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.004985, allocations: 115.1 kB / 332.8 MB, free: 16.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.043e-05/0.005036, allocations: 43.83 kB / 332.9 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.005054, allocations: 7.938 kB / 332.9 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.005073, allocations: 37.39 kB / 332.9 MB, free: 15.94 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.005074, allocations: 0 / 332.9 MB, free: 15.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008316/0.005906, allocations: 0.5566 MB / 333.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.777e-05/0.005923, allocations: 59.34 kB / 333.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.542e-05/0.005989, allocations: 177.9 kB / 333.7 MB, free: 15.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.006, allocations: 33.7 kB / 333.8 MB, free: 15.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.821e-05/0.006048, allocations: 146.8 kB / 333.9 MB, free: 14.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.006078, allocations: 71.41 kB / 334 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.006133, allocations: 43.33 kB / 334 MB, free: 14.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.609e-05/0.006199, allocations: 0.5001 MB / 334.5 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.056e-05/0.00625, allocations: 27.98 kB / 334.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.439e-05/0.006314, allocations: 81.98 kB / 334.6 MB, free: 14.12 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.0005576/0.006872, allocations: 278.8 kB / 334.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.006873, allocations: 0 / 334.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002221/0.007095, allocations: 173.2 kB / 335.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.007108, allocations: 8 kB / 335.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.007112, allocations: 0 / 335.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001417/0.007253, allocations: 35.67 kB / 335.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.566e-05/0.007339, allocations: 27.92 kB / 335.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008652/0.008204, allocations: 2.102 MB / 337.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.314e-05/0.008247, allocations: 0 / 337.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.008256, allocations: 8 kB / 337.2 MB, free: 11.35 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 8.258e-05/0.008339, allocations: 172.8 kB / 337.4 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.008372, allocations: 15.89 kB / 337.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.008406, allocations: 24.81 kB / 337.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.008408, allocations: 4 kB / 337.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.00841, allocations: 0 / 337.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.008414, allocations: 11.92 kB / 337.5 MB, free: 11.12 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.0004617/0.008876, allocations: 0.4995 MB / 338 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.008879, allocations: 4 kB / 338 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.008991, allocations: 27.98 kB / 338 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.441e-05/0.009066, allocations: 27.77 kB / 338 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.009076, allocations: 4 kB / 338 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006239/0.0097, allocations: 1.767 MB / 339.8 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.009702, allocations: 3.938 kB / 339.8 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.009964, allocations: 374.5 kB / 340.2 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.122e-05/0.009975, allocations: 12.11 kB / 340.2 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.00999, allocations: 4 kB / 340.2 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.01006, allocations: 7.938 kB / 340.2 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.01009, allocations: 19.91 kB / 340.2 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.0101, allocations: 4 kB / 340.2 MB, free: 8.152 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.527e-05/0.01013, allocations: 135.2 kB / 340.3 MB, free: 8.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01013, allocations: 0 / 340.3 MB, free: 8.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002862/0.01042, allocations: 32 kB / 340.4 MB, free: 7.988 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 7.771e-05/0.0105, allocations: 99.25 kB / 340.5 MB, free: 7.883 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000348/0.01085, allocations: 297.3 kB / 340.8 MB, free: 7.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01085, allocations: 0 / 340.8 MB, free: 7.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.011, allocations: 237.4 kB / 341 MB, free: 7.316 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.01132, allocations: 32.34 kB / 341 MB, free: 7.289 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004672/0.01178, allocations: 363.7 kB / 341.4 MB, free: 6.895 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.139e-05/0.01183, allocations: 92.67 kB / 341.5 MB, free: 6.785 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.955e-05/0.01188, allocations: 8.641 kB / 341.5 MB, free: 6.773 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.01191, allocations: 16.5 kB / 341.5 MB, free: 6.758 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01191, allocations: 4 kB / 341.5 MB, free: 6.754 MB / 266.7 MB Notification: Performance of Templates: time 0.004371/0.01628, allocations: 1.524 MB / 343 MB, free: 5.301 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=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.434321484994143]