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.001039/0.001039, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001301/0.002339, allocations: 435.8 kB / 10.33 MB, free: 368 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.001076/0.001076, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001328/0.002403, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9572/0.9572, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08126/1.038, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.002709/0.002709, allocations: 435.9 kB / 244.4 MB, free: 14.43 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001569/0.004278, allocations: 0.5682 MB / 245 MB, free: 13.86 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.493e-06/1.493e-06, allocations: 0 / 246.2 MB, free: 12.61 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.47e-05/1.619e-05, allocations: 2.312 kB / 246.2 MB, free: 12.61 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.002224/0.00224, allocations: 1.738 MB / 248 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001441/0.002384, allocations: 107.6 kB / 248.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.418e-05/0.002428, allocations: 0 / 248.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.651e-05/0.002465, allocations: 15.8 kB / 248.1 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.764e-05/0.002522, allocations: 27.72 kB / 248.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.361e-05/0.002586, allocations: 27.95 kB / 248.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.002697, allocations: 119.4 kB / 248.2 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.002814, allocations: 23.97 kB / 248.3 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.002928, allocations: 71.88 kB / 248.3 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.467e-05/0.003023, allocations: 31.89 kB / 248.4 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.003055, allocations: 12 kB / 248.4 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.529e-05/0.00307, allocations: 8 kB / 248.4 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.311e-05/0.003093, allocations: 15.94 kB / 248.4 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.725e-05/0.003141, allocations: 27.94 kB / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.003281, allocations: 63.77 kB / 248.5 MB, free: 10.31 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.737e-05/0.003299, allocations: 0 / 248.5 MB, free: 10.31 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.003299, allocations: 0 / 248.5 MB, free: 10.31 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.003313, allocations: 4 kB / 248.5 MB, free: 10.31 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.0004639/0.003777, allocations: 324.4 kB / 248.8 MB, free: 9.965 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.003822, allocations: 12.02 kB / 248.8 MB, free: 9.953 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.003863, allocations: 12.94 kB / 248.8 MB, free: 9.941 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.003995, allocations: 125.6 kB / 249 MB, free: 9.793 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.004004, allocations: 8.562 kB / 249 MB, free: 9.785 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.004035, allocations: 20.3 kB / 249 MB, free: 9.766 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.004146, allocations: 70.72 kB / 249.1 MB, free: 9.691 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.004155, allocations: 4 kB / 249.1 MB, free: 9.688 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.004164, allocations: 4 kB / 249.1 MB, free: 9.684 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.004168, allocations: 3.938 kB / 249.1 MB, free: 9.68 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.985e-05/0.004218, allocations: 31.97 kB / 249.1 MB, free: 9.648 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002872/0.004505, allocations: 236 kB / 249.3 MB, free: 9.402 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.293e-05/0.004588, allocations: 62.53 kB / 249.4 MB, free: 9.332 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.298e-05/0.004611, allocations: 16.86 kB / 249.4 MB, free: 9.312 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.00462, allocations: 4 kB / 249.4 MB, free: 9.309 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.004641, allocations: 38.69 kB / 249.5 MB, free: 9.262 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.004642, allocations: 0 / 249.5 MB, free: 9.262 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006863/0.005329, allocations: 471.7 kB / 249.9 MB, free: 8.746 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.005356, allocations: 55.41 kB / 250 MB, free: 8.68 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.61e-05/0.005423, allocations: 122.7 kB / 250.1 MB, free: 8.547 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.005437, allocations: 29.7 kB / 250.1 MB, free: 8.512 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.005483, allocations: 99.97 kB / 250.2 MB, free: 8.41 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.005519, allocations: 63.47 kB / 250.3 MB, free: 8.348 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.005553, allocations: 33.64 kB / 250.3 MB, free: 8.309 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.467e-05/0.005628, allocations: 322.8 kB / 250.6 MB, free: 7.984 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.764e-05/0.005646, allocations: 15.98 kB / 250.6 MB, free: 7.969 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.594e-05/0.005682, allocations: 42.48 kB / 250.7 MB, free: 7.918 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.0001818/0.005863, allocations: 134.5 kB / 250.8 MB, free: 7.777 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.005864, allocations: 0 / 250.8 MB, free: 7.777 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 8.629e-05/0.005951, allocations: 89.59 kB / 250.9 MB, free: 7.684 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.005962, allocations: 7.938 kB / 250.9 MB, free: 7.676 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.005966, allocations: 0 / 250.9 MB, free: 7.676 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-06/0.005976, allocations: 4 kB / 250.9 MB, free: 7.672 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.006101, allocations: 47.91 kB / 251 MB, free: 7.625 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.006105, allocations: 4 kB / 251 MB, free: 7.621 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.107e-05/0.006126, allocations: 0 / 251 MB, free: 7.621 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-06/0.006132, allocations: 8 kB / 251 MB, free: 7.613 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.946e-05/0.006192, allocations: 125.8 kB / 251.1 MB, free: 7.48 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.006209, allocations: 11.98 kB / 251.1 MB, free: 7.469 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.254e-05/0.006242, allocations: 20.77 kB / 251.1 MB, free: 7.445 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.006245, allocations: 7.938 kB / 251.1 MB, free: 7.438 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.006248, allocations: 0 / 251.1 MB, free: 7.438 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.00625, allocations: 0 / 251.1 MB, free: 7.438 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.000288/0.006538, allocations: 333.5 kB / 251.5 MB, free: 7.078 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.00654, allocations: 4.031 kB / 251.5 MB, free: 7.074 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.1e-05/0.006611, allocations: 35.92 kB / 251.5 MB, free: 7.039 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.208e-06/0.00662, allocations: 11.89 kB / 251.5 MB, free: 7.027 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.432e-05/0.006704, allocations: 16.84 kB / 251.5 MB, free: 7.008 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/0.006712, allocations: 4 kB / 251.5 MB, free: 7.004 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005185/0.00723, allocations: 1.17 MB / 252.7 MB, free: 5.75 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007231, allocations: 0 / 252.7 MB, free: 5.75 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.007376, allocations: 234.6 kB / 252.9 MB, free: 5.496 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-06/0.007385, allocations: 4 kB / 252.9 MB, free: 5.492 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.862e-05/0.007424, allocations: 7.938 kB / 252.9 MB, free: 5.484 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.007439, allocations: 11.98 kB / 253 MB, free: 5.473 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.007442, allocations: 0 / 253 MB, free: 5.473 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.512e-05/0.007458, allocations: 20.84 kB / 253 MB, free: 5.449 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007458, allocations: 96 / 253 MB, free: 5.449 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001345/0.007592, allocations: 32 kB / 253 MB, free: 5.418 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.673e-05/0.007659, allocations: 80.36 kB / 253.1 MB, free: 5.332 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.007761, allocations: 72.69 kB / 253.2 MB, free: 5.258 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.007769, allocations: 4 kB / 253.2 MB, free: 5.254 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.007896, allocations: 159.4 kB / 253.3 MB, free: 5.082 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.008053, allocations: 40.88 kB / 253.4 MB, free: 5.043 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007007/0.008753, allocations: 288.4 kB / 253.6 MB, free: 4.727 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.624e-05/0.00879, allocations: 71.83 kB / 253.7 MB, free: 4.637 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.569e-05/0.008825, allocations: 16.64 kB / 253.7 MB, free: 4.621 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.061e-05/0.008886, allocations: 71.36 kB / 253.8 MB, free: 4.551 MB / 250.7 MB Notification: Performance of SimCode: time 7.71e-07/0.008887, allocations: 0 / 253.8 MB, free: 4.551 MB / 250.7 MB Notification: Performance of Templates: time 0.002824/0.01171, allocations: 1.627 MB / 255.4 MB, free: 3.004 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.512427785433829]