Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.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.0006319/0.0006319, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008778/0.00151, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000672/0.000672, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008488/0.001521, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9129/0.9129, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07101/0.9839, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.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.001641/0.001641, allocations: 434.2 kB / 244.6 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001247/0.002888, allocations: 0.5775 MB / 245.1 MB, free: 13.76 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.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 246.4 MB, free: 12.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102e-05/1.211e-05, allocations: 2.312 kB / 246.4 MB, free: 12.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.001684/0.001696, allocations: 1.734 MB / 248.2 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001295/0.001826, allocations: 103.5 kB / 248.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.744e-05/0.001863, allocations: 4 kB / 248.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.884e-05/0.001902, allocations: 15.86 kB / 248.3 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.446e-05/0.001957, allocations: 31.7 kB / 248.3 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.566e-05/0.002012, allocations: 23.97 kB / 248.3 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.172e-05/0.002104, allocations: 115.4 kB / 248.5 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.312e-05/0.002187, allocations: 23.98 kB / 248.5 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.506e-05/0.002272, allocations: 71.86 kB / 248.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.661e-05/0.002349, allocations: 39.83 kB / 248.6 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.002371, allocations: 8 kB / 248.6 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.429e-05/0.002386, allocations: 8 kB / 248.6 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.00241, allocations: 15.94 kB / 248.6 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.8e-05/0.002438, allocations: 31.94 kB / 248.6 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.002541, allocations: 59.78 kB / 248.7 MB, free: 10.18 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.00255, allocations: 0 / 248.7 MB, free: 10.18 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.002551, allocations: 0 / 248.7 MB, free: 10.18 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.002559, allocations: 0 / 248.7 MB, free: 10.18 MB / 250.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.0003582/0.002917, allocations: 336.4 kB / 249 MB, free: 9.828 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.71e-05/0.002944, allocations: 12.03 kB / 249 MB, free: 9.816 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.002975, allocations: 8.938 kB / 249.1 MB, free: 9.809 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.003088, allocations: 129.6 kB / 249.2 MB, free: 9.656 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.003096, allocations: 8.547 kB / 249.2 MB, free: 9.648 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.003119, allocations: 12.38 kB / 249.2 MB, free: 9.637 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.724e-05/0.003206, allocations: 70.72 kB / 249.3 MB, free: 9.562 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.003215, allocations: 0 / 249.3 MB, free: 9.562 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.003223, allocations: 11.98 kB / 249.3 MB, free: 9.551 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.003229, allocations: 4 kB / 249.3 MB, free: 9.547 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.117e-05/0.00327, allocations: 23.92 kB / 249.3 MB, free: 9.523 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000264/0.003534, allocations: 236 kB / 249.5 MB, free: 9.277 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.452e-05/0.003619, allocations: 70.47 kB / 249.6 MB, free: 9.199 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.195e-05/0.003641, allocations: 17.08 kB / 249.6 MB, free: 9.18 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/0.003647, allocations: 3.938 kB / 249.6 MB, free: 9.176 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.003665, allocations: 42.69 kB / 249.7 MB, free: 9.125 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.003666, allocations: 4 kB / 249.7 MB, free: 9.121 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006067/0.004273, allocations: 464.7 kB / 250.1 MB, free: 8.609 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.004295, allocations: 51.41 kB / 250.2 MB, free: 8.547 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.393e-05/0.004349, allocations: 122.6 kB / 250.3 MB, free: 8.414 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.004357, allocations: 29.7 kB / 250.3 MB, free: 8.379 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.004394, allocations: 108 kB / 250.4 MB, free: 8.27 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.004428, allocations: 59.47 kB / 250.5 MB, free: 8.211 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.004462, allocations: 41.62 kB / 250.5 MB, free: 8.164 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.029e-05/0.004522, allocations: 322.8 kB / 250.8 MB, free: 7.84 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.509e-05/0.004537, allocations: 8 kB / 250.9 MB, free: 7.832 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.192e-05/0.004569, allocations: 45.55 kB / 250.9 MB, free: 7.781 MB / 250.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.a = $START.mass2.a ($START.mass1.a = $START.mass2.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.00473, allocations: 138.2 kB / 251 MB, free: 7.641 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.004731, allocations: 4 kB / 251 MB, free: 7.637 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 8.14e-05/0.004812, allocations: 89.59 kB / 251.1 MB, free: 7.543 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.004823, allocations: 4 kB / 251.1 MB, free: 7.539 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.004827, allocations: 4 kB / 251.1 MB, free: 7.535 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.004837, allocations: 0 / 251.1 MB, free: 7.535 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.00496, allocations: 55.83 kB / 251.2 MB, free: 7.48 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.004962, allocations: 0 / 251.2 MB, free: 7.48 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.315e-05/0.004985, allocations: 8 kB / 251.2 MB, free: 7.473 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.004989, allocations: 0 / 251.2 MB, free: 7.473 MB / 250.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.a = $START.mass2.a. 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.383e-05/0.005043, allocations: 122 kB / 251.3 MB, free: 7.344 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.005061, allocations: 11.98 kB / 251.3 MB, free: 7.332 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.00509, allocations: 16.78 kB / 251.3 MB, free: 7.312 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.005093, allocations: 7.922 kB / 251.3 MB, free: 7.305 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.005096, allocations: 0 / 251.3 MB, free: 7.305 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.005099, allocations: 4.25 kB / 251.4 MB, free: 7.301 MB / 250.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.000283/0.005382, allocations: 333.8 kB / 251.7 MB, free: 6.938 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.005385, allocations: 4.094 kB / 251.7 MB, free: 6.934 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.215e-05/0.005457, allocations: 31.98 kB / 251.7 MB, free: 6.902 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-06/0.005466, allocations: 11.94 kB / 251.7 MB, free: 6.891 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.677e-05/0.005533, allocations: 12.86 kB / 251.7 MB, free: 6.875 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.005541, allocations: 8 kB / 251.7 MB, free: 6.867 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004751/0.006016, allocations: 1.166 MB / 252.9 MB, free: 5.617 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.006017, allocations: 0 / 252.9 MB, free: 5.617 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.006157, allocations: 234.2 kB / 253.1 MB, free: 5.363 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.756e-06/0.006166, allocations: 4 kB / 253.1 MB, free: 5.359 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.973e-05/0.006205, allocations: 7.938 kB / 253.2 MB, free: 5.352 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.006221, allocations: 15.91 kB / 253.2 MB, free: 5.336 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.006227, allocations: 8 kB / 253.2 MB, free: 5.328 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.255e-05/0.00624, allocations: 12.86 kB / 253.2 MB, free: 5.312 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00624, allocations: 0 / 253.2 MB, free: 5.312 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001469/0.006387, allocations: 28.09 kB / 253.2 MB, free: 5.285 MB / 250.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.263e-05/0.00645, allocations: 88.34 kB / 253.3 MB, free: 5.191 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.726e-05/0.006547, allocations: 76.31 kB / 253.4 MB, free: 5.117 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.006554, allocations: 4 kB / 253.4 MB, free: 5.113 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.006687, allocations: 167.3 kB / 253.5 MB, free: 4.934 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.006896, allocations: 232.9 kB / 253.8 MB, free: 4.664 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006886/0.007585, allocations: 283.3 kB / 254 MB, free: 4.352 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.525e-05/0.00762, allocations: 67.84 kB / 254.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.715e-05/0.007657, allocations: 21.12 kB / 254.1 MB, free: 4.242 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.284e-05/0.00772, allocations: 71.36 kB / 254.2 MB, free: 4.172 MB / 250.7 MB Notification: Performance of SimCode: time 8.31e-07/0.007721, allocations: 3.938 kB / 254.2 MB, free: 4.168 MB / 250.7 MB Notification: Performance of Templates: time 0.002917/0.01064, allocations: 1.637 MB / 255.8 MB, free: 2.613 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.201630298048258]