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.00124/0.00124, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001223/0.001223, allocations: 169.4 kB / 24.05 MB, free: 456 kB / 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 0.9374/0.9374, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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.003099/0.003099, allocations: 424 kB / 261.4 MB, free: 12.48 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.783e-06/1.783e-06, allocations: 0 / 331.3 MB, free: 19.04 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.484e-05, allocations: 5.125 kB / 331.3 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.002673/0.002698, allocations: 1.676 MB / 333 MB, free: 17.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003225/0.00302, allocations: 99.62 kB / 333.1 MB, free: 17.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.657e-05/0.003097, allocations: 3.938 kB / 333.1 MB, free: 17.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.347e-05/0.00315, allocations: 15.86 kB / 333.1 MB, free: 17.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.003276, allocations: 31.7 kB / 333.2 MB, free: 17.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001261/0.003402, allocations: 23.97 kB / 333.2 MB, free: 17.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.003507, allocations: 111.4 kB / 333.3 MB, free: 17.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.003612, allocations: 27.98 kB / 333.3 MB, free: 17.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.909e-05/0.003691, allocations: 59.88 kB / 333.4 MB, free: 16.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.125e-05/0.003763, allocations: 35.89 kB / 333.4 MB, free: 16.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.00378, allocations: 8 kB / 333.4 MB, free: 16.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.003792, allocations: 8 kB / 333.4 MB, free: 16.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.00381, allocations: 23.92 kB / 333.4 MB, free: 16.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.003838, allocations: 35.91 kB / 333.5 MB, free: 16.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.717e-05/0.003935, allocations: 71.73 kB / 333.6 MB, free: 16.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.003938, allocations: 0 / 333.6 MB, free: 16.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.003939, allocations: 0 / 333.6 MB, free: 16.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.003944, allocations: 7.938 kB / 333.6 MB, free: 16.79 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.0002888/0.004233, allocations: 424.4 kB / 334 MB, free: 16.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.004262, allocations: 8.031 kB / 334 MB, free: 16.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.004298, allocations: 24.84 kB / 334 MB, free: 16.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.373e-05/0.004392, allocations: 136.5 kB / 334.1 MB, free: 16.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-06/0.0044, allocations: 4.562 kB / 334.1 MB, free: 16.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.004417, allocations: 8.375 kB / 334.2 MB, free: 16.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.951e-05/0.004497, allocations: 73.72 kB / 334.2 MB, free: 16.06 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.004507, allocations: 3.953 kB / 334.2 MB, free: 16.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.004515, allocations: 12 kB / 334.2 MB, free: 16.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.00452, allocations: 0 / 334.2 MB, free: 16.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.827e-05/0.004558, allocations: 31.95 kB / 334.3 MB, free: 16.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.004827, allocations: 324.2 kB / 334.6 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.112e-05/0.004908, allocations: 75.02 kB / 334.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.402e-05/0.004933, allocations: 27.67 kB / 334.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/0.00494, allocations: 4.125 kB / 334.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.004955, allocations: 45.55 kB / 334.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.004956, allocations: 7.938 kB / 334.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005147/0.005471, allocations: 471.4 kB / 335.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.762e-05/0.005488, allocations: 59.34 kB / 335.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.982e-05/0.005538, allocations: 173.8 kB / 335.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.044e-06/0.005545, allocations: 25.7 kB / 335.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/0.005581, allocations: 146.8 kB / 335.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.005602, allocations: 63.47 kB / 335.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.005634, allocations: 35.36 kB / 335.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.111e-05/0.005675, allocations: 0.4923 MB / 336.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.767e-05/0.005692, allocations: 19.98 kB / 336.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.098e-05/0.005723, allocations: 58.89 kB / 336.3 MB, free: 13.82 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.0002602/0.005984, allocations: 155.5 kB / 336.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.005985, allocations: 0 / 336.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001423/0.006127, allocations: 148.5 kB / 336.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.00614, allocations: 8 kB / 336.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.006145, allocations: 4 kB / 336.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.584e-05/0.006241, allocations: 23.67 kB / 336.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.152e-05/0.006293, allocations: 27.92 kB / 336.6 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005825/0.006875, allocations: 2.009 MB / 338.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.951e-05/0.006905, allocations: 4.25 kB / 338.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.006911, allocations: 8.031 kB / 338.6 MB, free: 11.3 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 5.902e-05/0.00697, allocations: 164.6 kB / 338.8 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.006993, allocations: 15.95 kB / 338.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.718e-05/0.00701, allocations: 16.78 kB / 338.8 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.007012, allocations: 7.922 kB / 338.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.007015, allocations: 0 / 338.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.007018, allocations: 0 / 338.8 MB, free: 11.09 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.0002744/0.007293, allocations: 448.3 kB / 339.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.007295, allocations: 4 kB / 339.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.305e-05/0.007358, allocations: 23.98 kB / 339.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.322e-05/0.007402, allocations: 15.69 kB / 339.3 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.007409, allocations: 8 kB / 339.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003512/0.00776, allocations: 1.713 MB / 341 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.007761, allocations: 0 / 341 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.007923, allocations: 324.1 kB / 341.4 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-06/0.00793, allocations: 11.94 kB / 341.4 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-06/0.007939, allocations: 0 / 341.4 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.256e-05/0.007981, allocations: 11.94 kB / 341.4 MB, free: 8.352 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.008004, allocations: 15.91 kB / 341.4 MB, free: 8.336 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.008009, allocations: 8 kB / 341.4 MB, free: 8.328 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.051e-05/0.00803, allocations: 135.6 kB / 341.5 MB, free: 8.195 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00803, allocations: 3.938 kB / 341.5 MB, free: 8.191 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001984/0.008228, allocations: 32 kB / 341.6 MB, free: 8.16 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.295e-05/0.008301, allocations: 95.25 kB / 341.7 MB, free: 8.059 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002247/0.008526, allocations: 257.4 kB / 341.9 MB, free: 7.785 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.008528, allocations: 0 / 341.9 MB, free: 7.785 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.046e-05/0.008598, allocations: 225.4 kB / 342.1 MB, free: 7.543 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.008811, allocations: 24.11 kB / 342.2 MB, free: 7.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.009149, allocations: 350.5 kB / 342.5 MB, free: 7.141 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.706e-05/0.009176, allocations: 71.7 kB / 342.6 MB, free: 7.051 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.185e-05/0.009208, allocations: 12.64 kB / 342.6 MB, free: 7.035 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/0.009256, allocations: 90.19 kB / 342.7 MB, free: 6.945 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.009257, allocations: 0 / 342.7 MB, free: 6.945 MB / 266.7 MB Notification: Performance of Templates: time 0.002934/0.01219, allocations: 1.67 MB / 344.3 MB, free: 5.344 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: 2.728542190976441]