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.001131/0.001131, allocations: 81.86 kB / 19.87 MB, free: 4.617 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.001169/0.001169, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.026/1.026, allocations: 177.2 MB / 203.7 MB, free: 5.492 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.002/0.002, allocations: 427.2 kB / 260.7 MB, free: 12.47 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.563e-06/1.563e-06, allocations: 0 / 330.5 MB, free: 4.098 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.842e-05, allocations: 6.312 kB / 330.5 MB, free: 4.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.003021/0.003049, allocations: 1.68 MB / 332.2 MB, free: 2.398 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003717/0.003421, allocations: 91.58 kB / 332.3 MB, free: 2.309 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.182e-05/0.003493, allocations: 8 kB / 332.3 MB, free: 2.301 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.62e-05/0.003549, allocations: 15.84 kB / 332.3 MB, free: 2.285 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.003681, allocations: 35.64 kB / 332.4 MB, free: 2.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001381/0.003819, allocations: 19.98 kB / 332.4 MB, free: 2.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002913/0.00411, allocations: 119.4 kB / 332.5 MB, free: 2.113 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.004241, allocations: 23.98 kB / 332.5 MB, free: 2.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.004352, allocations: 63.88 kB / 332.6 MB, free: 2.027 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.412e-05/0.004446, allocations: 27.91 kB / 332.6 MB, free: 2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.00447, allocations: 16 kB / 332.6 MB, free: 1.984 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.731e-05/0.004488, allocations: 8 kB / 332.6 MB, free: 1.977 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.787e-05/0.004515, allocations: 23.91 kB / 332.7 MB, free: 1.953 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.831e-05/0.004564, allocations: 39.91 kB / 332.7 MB, free: 1.914 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.004707, allocations: 67.75 kB / 332.8 MB, free: 1.848 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.00471, allocations: 0 / 332.8 MB, free: 1.848 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.004711, allocations: 0 / 332.8 MB, free: 1.848 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.004716, allocations: 0 / 332.8 MB, free: 1.848 MB / 298.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.0004506/0.005166, allocations: 424.4 kB / 333.2 MB, free: 1.395 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.005209, allocations: 12.03 kB / 333.2 MB, free: 1.383 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.076e-05/0.00526, allocations: 24.84 kB / 333.2 MB, free: 1.359 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.005413, allocations: 136.4 kB / 333.4 MB, free: 1.199 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.005425, allocations: 4.562 kB / 333.4 MB, free: 1.195 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.005454, allocations: 12.38 kB / 333.4 MB, free: 1.184 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.00559, allocations: 73.91 kB / 333.4 MB, free: 1.105 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.005603, allocations: 3.984 kB / 333.5 MB, free: 1.102 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.005614, allocations: 4 kB / 333.5 MB, free: 1.098 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.005622, allocations: 4 kB / 333.5 MB, free: 1.094 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.155e-05/0.005684, allocations: 27.91 kB / 333.5 MB, free: 1.066 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/0.006118, allocations: 336.2 kB / 333.8 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.006246, allocations: 78.89 kB / 333.9 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.747e-05/0.006283, allocations: 23.69 kB / 333.9 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.006294, allocations: 4.188 kB / 333.9 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.00632, allocations: 41.31 kB / 334 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 2.414e-06/0.006323, allocations: 0 / 334 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008144/0.007137, allocations: 465.5 kB / 334.4 MB, free: 20 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.007192, allocations: 63.33 kB / 334.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.007305, allocations: 181.8 kB / 334.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.007323, allocations: 25.7 kB / 334.7 MB, free: 15.72 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/0.007396, allocations: 146.6 kB / 334.8 MB, free: 15.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.134e-05/0.007448, allocations: 63.47 kB / 334.9 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.923e-05/0.007507, allocations: 39.36 kB / 334.9 MB, free: 15.46 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.007659, allocations: 0.4884 MB / 335.4 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.529e-05/0.007695, allocations: 19.94 kB / 335.4 MB, free: 14.94 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.959e-05/0.007754, allocations: 47.03 kB / 335.5 MB, free: 14.88 MB / 314.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.0004019/0.008156, allocations: 182.5 kB / 335.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.008158, allocations: 0 / 335.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002037/0.008361, allocations: 129.2 kB / 335.8 MB, free: 14.56 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.008379, allocations: 7.984 kB / 335.8 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.008384, allocations: 0 / 335.8 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001272/0.008512, allocations: 31.64 kB / 335.8 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.521e-05/0.008587, allocations: 20.25 kB / 335.8 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.009847, allocations: 2.021 MB / 337.9 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.984e-05/0.009887, allocations: 4 kB / 337.9 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.009896, allocations: 4 kB / 337.9 MB, free: 12.35 MB / 314.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 0.0001154/0.01001, allocations: 172.5 kB / 338 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.01005, allocations: 15.95 kB / 338.1 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.01008, allocations: 12.78 kB / 338.1 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.01008, allocations: 7.938 kB / 338.1 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.01009, allocations: 0 / 338.1 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.01009, allocations: 3.984 kB / 338.1 MB, free: 12.13 MB / 314.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.0005049/0.0106, allocations: 444.4 kB / 338.5 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.0106, allocations: 0 / 338.5 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.0107, allocations: 31.97 kB / 338.5 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.511e-05/0.01077, allocations: 23.67 kB / 338.6 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.01079, allocations: 4 kB / 338.6 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.01181, allocations: 1.709 MB / 340.3 MB, free: 9.762 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.01182, allocations: 4 kB / 340.3 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.01211, allocations: 325.5 kB / 340.6 MB, free: 9.406 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.341e-05/0.01212, allocations: 7.953 kB / 340.6 MB, free: 9.398 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.01214, allocations: 7.969 kB / 340.6 MB, free: 9.391 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.776e-05/0.0122, allocations: 11.94 kB / 340.6 MB, free: 9.379 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.01223, allocations: 7.984 kB / 340.6 MB, free: 9.371 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.01224, allocations: 8 kB / 340.6 MB, free: 9.363 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.905e-05/0.0123, allocations: 131.5 kB / 340.8 MB, free: 9.234 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0123, allocations: 0 / 340.8 MB, free: 9.234 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003119/0.01261, allocations: 32 kB / 340.8 MB, free: 9.203 MB / 314.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 0.0001212/0.01273, allocations: 103.2 kB / 340.9 MB, free: 9.094 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003405/0.01307, allocations: 257.4 kB / 341.2 MB, free: 8.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01307, allocations: 4 kB / 341.2 MB, free: 8.816 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.01323, allocations: 221.4 kB / 341.4 MB, free: 8.578 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.01359, allocations: 25.33 kB / 341.4 MB, free: 8.555 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006335/0.01422, allocations: 341.9 kB / 341.7 MB, free: 8.184 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.311e-05/0.01428, allocations: 67.84 kB / 341.8 MB, free: 8.098 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.289e-05/0.01434, allocations: 8.641 kB / 341.8 MB, free: 8.086 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.62e-05/0.01443, allocations: 98.12 kB / 341.9 MB, free: 7.988 MB / 314.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01443, allocations: 0 / 341.9 MB, free: 7.988 MB / 314.7 MB Notification: Performance of Templates: time 0.004742/0.01918, allocations: 1.62 MB / 343.5 MB, free: 6.434 MB / 314.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.840992806944996]