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.0008811/0.0008811, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0008991/0.0008991, allocations: 177 kB / 23.36 MB, free: 1.129 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.024/1.024, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.002148/0.002148, allocations: 429.2 kB / 260.7 MB, free: 12.52 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 2.324e-06/2.324e-06, allocations: 0 / 277.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.747e-05/2.98e-05, allocations: 5.828 kB / 277.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.002746/0.002776, allocations: 1.687 MB / 279 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002816/0.003057, allocations: 95.62 kB / 279.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.911e-05/0.003116, allocations: 0 / 279.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.689e-05/0.003173, allocations: 19.86 kB / 279.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.003284, allocations: 31.7 kB / 279.1 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.003407, allocations: 27.89 kB / 279.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.003521, allocations: 115.4 kB / 279.3 MB, free: 9.922 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.003641, allocations: 27.97 kB / 279.3 MB, free: 9.895 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.176e-05/0.003733, allocations: 55.89 kB / 279.3 MB, free: 9.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.916e-05/0.003822, allocations: 35.89 kB / 279.4 MB, free: 9.805 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.003847, allocations: 8 kB / 279.4 MB, free: 9.797 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.568e-05/0.003863, allocations: 8 kB / 279.4 MB, free: 9.789 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.003888, allocations: 23.92 kB / 279.4 MB, free: 9.766 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.51e-05/0.003923, allocations: 35.91 kB / 279.4 MB, free: 9.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.004047, allocations: 67.75 kB / 279.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.004049, allocations: 0 / 279.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.00405, allocations: 0 / 279.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.004054, allocations: 0 / 279.5 MB, free: 9.664 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.000391/0.004445, allocations: 312.8 kB / 279.8 MB, free: 9.332 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.004478, allocations: 8.031 kB / 279.8 MB, free: 9.324 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.004511, allocations: 16.94 kB / 279.8 MB, free: 9.309 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.00464, allocations: 125.6 kB / 280 MB, free: 9.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.004651, allocations: 8.562 kB / 280 MB, free: 9.152 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.004675, allocations: 8.375 kB / 280 MB, free: 9.145 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.723e-05/0.004772, allocations: 70.72 kB / 280.1 MB, free: 9.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.004785, allocations: 7.891 kB / 280.1 MB, free: 9.062 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.004796, allocations: 11.98 kB / 280.1 MB, free: 9.051 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.004801, allocations: 0 / 280.1 MB, free: 9.051 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.497e-05/0.004846, allocations: 30.97 kB / 280.1 MB, free: 9.023 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.00515, allocations: 232 kB / 280.3 MB, free: 8.781 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.403e-05/0.005244, allocations: 70.48 kB / 280.4 MB, free: 8.703 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.435e-05/0.005268, allocations: 16.84 kB / 280.4 MB, free: 8.684 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.005278, allocations: 8 kB / 280.4 MB, free: 8.676 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.005301, allocations: 34.69 kB / 280.5 MB, free: 8.633 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.005302, allocations: 0 / 280.5 MB, free: 8.633 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006759/0.005978, allocations: 475.8 kB / 280.9 MB, free: 8.109 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.006013, allocations: 55.41 kB / 281 MB, free: 8.043 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.435e-05/0.006088, allocations: 118.6 kB / 281.1 MB, free: 7.914 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.006101, allocations: 29.7 kB / 281.1 MB, free: 7.879 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.311e-05/0.006144, allocations: 104 kB / 281.2 MB, free: 7.773 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.006175, allocations: 59.47 kB / 281.3 MB, free: 7.715 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.006211, allocations: 33.64 kB / 281.3 MB, free: 7.676 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.978e-05/0.006301, allocations: 326.8 kB / 281.6 MB, free: 7.348 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.849e-05/0.006319, allocations: 19.98 kB / 281.7 MB, free: 7.328 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.619e-05/0.006355, allocations: 38.55 kB / 281.7 MB, free: 7.281 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.0002685/0.006624, allocations: 150.3 kB / 281.8 MB, free: 7.129 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.006627, allocations: 4 kB / 281.8 MB, free: 7.125 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001231/0.00675, allocations: 118.3 kB / 282 MB, free: 7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.006761, allocations: 8 kB / 282 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.006766, allocations: 4 kB / 282 MB, free: 6.988 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001051/0.006871, allocations: 28.78 kB / 282 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.902e-05/0.00692, allocations: 23.98 kB / 282 MB, free: 6.934 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006938/0.007614, allocations: 1.364 MB / 283.4 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.338e-05/0.007637, allocations: 0 / 283.4 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.007643, allocations: 12.03 kB / 283.4 MB, free: 5.473 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 6.868e-05/0.007712, allocations: 117.8 kB / 283.5 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.885e-05/0.007731, allocations: 11.98 kB / 283.5 MB, free: 5.336 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.057e-05/0.007751, allocations: 16.78 kB / 283.5 MB, free: 5.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.62e-07/0.007752, allocations: 4 kB / 283.5 MB, free: 5.316 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.007756, allocations: 4.188 kB / 283.5 MB, free: 5.312 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.00776, allocations: 3.984 kB / 283.5 MB, free: 5.309 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.0002839/0.008043, allocations: 329.8 kB / 283.9 MB, free: 4.953 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.008046, allocations: 4 kB / 283.9 MB, free: 4.949 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.551e-05/0.008111, allocations: 23.94 kB / 283.9 MB, free: 4.926 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.586e-05/0.008157, allocations: 16.84 kB / 283.9 MB, free: 4.906 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.008167, allocations: 8 kB / 283.9 MB, free: 4.898 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004785/0.008646, allocations: 1.166 MB / 285.1 MB, free: 3.645 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.008647, allocations: 0 / 285.1 MB, free: 3.645 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.008804, allocations: 242.7 kB / 285.3 MB, free: 3.379 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-06/0.008812, allocations: 7.953 kB / 285.3 MB, free: 3.371 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.787e-06/0.008821, allocations: 4 kB / 285.3 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.67e-05/0.008857, allocations: 4 kB / 285.3 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.161e-05/0.008879, allocations: 19.92 kB / 285.4 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.008883, allocations: 0 / 285.4 MB, free: 3.344 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.572e-05/0.008899, allocations: 24.94 kB / 285.4 MB, free: 3.316 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008899, allocations: 3.938 kB / 285.4 MB, free: 3.312 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001753/0.009074, allocations: 32 kB / 285.4 MB, free: 3.281 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.691e-05/0.009151, allocations: 76.42 kB / 285.5 MB, free: 3.199 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002324/0.009383, allocations: 199.3 kB / 285.7 MB, free: 2.988 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.009386, allocations: 0 / 285.7 MB, free: 2.988 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.844e-05/0.009475, allocations: 163 kB / 285.8 MB, free: 2.816 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.009643, allocations: 23.97 kB / 285.9 MB, free: 2.793 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003815/0.01002, allocations: 318.6 kB / 286.2 MB, free: 2.445 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.04e-05/0.01006, allocations: 71.84 kB / 286.3 MB, free: 2.355 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.414e-05/0.0101, allocations: 24.56 kB / 286.3 MB, free: 2.332 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.064e-05/0.01016, allocations: 71.34 kB / 286.3 MB, free: 2.262 MB / 266.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01016, allocations: 0 / 286.3 MB, free: 2.262 MB / 266.7 MB Notification: Performance of Templates: time 0.003116/0.01328, allocations: 1.637 MB / 288 MB, free: 0.6992 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.8846546951681376]