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.0007121/0.0007121, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009407/0.001653, 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.0006628/0.0006628, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008833/0.001546, 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.8928/0.8928, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0684/0.9612, allocations: 53.68 MB / 243.4 MB, free: 15.48 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.001573/0.001573, allocations: 414.9 kB / 244.6 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001059/0.002632, allocations: 0.5814 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.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.453e-06/1.453e-06, allocations: 0 / 246.4 MB, free: 12.47 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.774e-06/9.227e-06, allocations: 2.312 kB / 246.4 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.001604/0.001613, allocations: 1.73 MB / 248.2 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000125/0.001738, allocations: 99.56 kB / 248.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.768e-05/0.001776, allocations: 7.938 kB / 248.3 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.609e-05/0.001812, allocations: 11.86 kB / 248.3 MB, free: 10.6 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.469e-05/0.001866, allocations: 35.7 kB / 248.3 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.619e-05/0.001923, allocations: 19.97 kB / 248.3 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.884e-05/0.002021, allocations: 107.5 kB / 248.4 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.389e-05/0.002105, allocations: 25.11 kB / 248.5 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.165e-05/0.002187, allocations: 75.8 kB / 248.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.557e-05/0.002263, allocations: 39.89 kB / 248.6 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.002285, allocations: 8 kB / 248.6 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.645e-05/0.002301, allocations: 8 kB / 248.6 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.002321, allocations: 15.94 kB / 248.6 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.00235, allocations: 27.94 kB / 248.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.002451, allocations: 63.77 kB / 248.7 MB, free: 10.18 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.002461, allocations: 0 / 248.7 MB, free: 10.18 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.002461, allocations: 0 / 248.7 MB, free: 10.18 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.002469, 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.0003423/0.002812, allocations: 340.4 kB / 249 MB, free: 9.824 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.73e-05/0.002839, allocations: 8.031 kB / 249 MB, free: 9.816 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.002872, allocations: 12.92 kB / 249 MB, free: 9.805 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.002988, allocations: 121.7 kB / 249.2 MB, free: 9.66 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.002998, allocations: 12.5 kB / 249.2 MB, free: 9.648 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.00302, allocations: 8.375 kB / 249.2 MB, free: 9.641 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.918e-05/0.00312, allocations: 74.7 kB / 249.3 MB, free: 9.562 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.003129, allocations: 0 / 249.3 MB, free: 9.562 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.003136, allocations: 8 kB / 249.3 MB, free: 9.555 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.003142, allocations: 0 / 249.3 MB, free: 9.555 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.198e-05/0.003184, allocations: 27.98 kB / 249.3 MB, free: 9.527 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.003451, allocations: 243.9 kB / 249.5 MB, free: 9.273 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.062e-05/0.003532, allocations: 62.53 kB / 249.6 MB, free: 9.203 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.217e-05/0.003554, allocations: 16.86 kB / 249.6 MB, free: 9.184 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.003561, allocations: 4 kB / 249.6 MB, free: 9.18 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.00358, allocations: 42.62 kB / 249.7 MB, free: 9.129 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 8.71e-07/0.003581, allocations: 0 / 249.7 MB, free: 9.129 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006085/0.00419, allocations: 472.8 kB / 250.1 MB, free: 8.609 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.004213, allocations: 55.41 kB / 250.2 MB, free: 8.543 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.812e-05/0.004271, allocations: 118.7 kB / 250.3 MB, free: 8.414 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.729e-06/0.004281, allocations: 29.7 kB / 250.3 MB, free: 8.379 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.367e-05/0.004315, allocations: 99.97 kB / 250.4 MB, free: 8.277 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.004344, allocations: 67.47 kB / 250.5 MB, free: 8.211 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.004382, allocations: 33.64 kB / 250.5 MB, free: 8.172 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.439e-05/0.004446, allocations: 326.8 kB / 250.8 MB, free: 7.844 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.538e-05/0.004462, allocations: 12 kB / 250.8 MB, free: 7.832 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.117e-05/0.004493, allocations: 41.5 kB / 250.9 MB, free: 7.785 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.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.004756, allocations: 158.3 kB / 251 MB, free: 7.625 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.004757, allocations: 4 kB / 251 MB, free: 7.621 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001203/0.004877, allocations: 118.3 kB / 251.2 MB, free: 7.496 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.004888, allocations: 8 kB / 251.2 MB, free: 7.488 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.004892, allocations: 3.938 kB / 251.2 MB, free: 7.484 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.059e-05/0.004982, allocations: 20.84 kB / 251.2 MB, free: 7.461 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.64e-05/0.005039, allocations: 31.92 kB / 251.2 MB, free: 7.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000658/0.005697, allocations: 1.376 MB / 252.6 MB, free: 5.965 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.423e-05/0.005721, allocations: 8 kB / 252.6 MB, free: 5.957 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.005726, allocations: 4 kB / 252.6 MB, free: 5.953 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.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.96e-05/0.005785, allocations: 114 kB / 252.7 MB, free: 5.832 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.005804, allocations: 15.98 kB / 252.7 MB, free: 5.816 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.95e-05/0.005824, allocations: 12.78 kB / 252.7 MB, free: 5.805 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.005826, allocations: 4 kB / 252.8 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.00583, allocations: 11.95 kB / 252.8 MB, free: 5.789 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.005832, allocations: 0 / 252.8 MB, free: 5.789 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.0002687/0.006101, allocations: 329.8 kB / 253.1 MB, free: 5.43 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.006103, allocations: 0 / 253.1 MB, free: 5.43 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.725e-05/0.00618, allocations: 31.98 kB / 253.1 MB, free: 5.398 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.006187, allocations: 7.953 kB / 253.1 MB, free: 5.391 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.1e-05/0.006228, allocations: 16.95 kB / 253.1 MB, free: 5.371 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.006234, allocations: 4 kB / 253.1 MB, free: 5.367 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004181/0.006652, allocations: 1.166 MB / 254.3 MB, free: 4.121 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.006655, allocations: 7.875 kB / 254.3 MB, free: 4.113 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.006793, allocations: 234.7 kB / 254.5 MB, free: 3.859 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.346e-06/0.006801, allocations: 4.156 kB / 254.6 MB, free: 3.855 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.132e-05/0.006843, allocations: 15.92 kB / 254.6 MB, free: 3.84 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.524e-05/0.006858, allocations: 15.92 kB / 254.6 MB, free: 3.824 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.006863, allocations: 4 kB / 254.6 MB, free: 3.82 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.233e-05/0.006875, allocations: 16.84 kB / 254.6 MB, free: 3.801 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006875, allocations: 0 / 254.6 MB, free: 3.801 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001562/0.007031, allocations: 32 kB / 254.6 MB, free: 3.77 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 5.695e-05/0.007088, allocations: 76.42 kB / 254.7 MB, free: 3.688 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002425/0.007331, allocations: 207.3 kB / 254.9 MB, free: 3.469 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.007338, allocations: 0 / 254.9 MB, free: 3.469 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.544e-05/0.007433, allocations: 179.3 kB / 255.1 MB, free: 3.277 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.007633, allocations: 198.1 kB / 255.3 MB, free: 3.047 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007989/0.008432, allocations: 283.7 kB / 255.6 MB, free: 2.73 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.38e-05/0.008466, allocations: 71.78 kB / 255.6 MB, free: 2.637 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.013e-05/0.008496, allocations: 12.64 kB / 255.6 MB, free: 2.625 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.674e-05/0.008553, allocations: 67.31 kB / 255.7 MB, free: 2.559 MB / 250.7 MB Notification: Performance of SimCode: time 4.41e-07/0.008553, allocations: 0 / 255.7 MB, free: 2.559 MB / 250.7 MB Notification: Performance of Templates: time 0.00276/0.01131, allocations: 1.682 MB / 257.4 MB, free: 0.9492 MB / 250.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.1915625100955367]