Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.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.0009708/0.0009708, allocations: 69.98 kB / 20.65 MB, free: 3.848 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.000906/0.000906, allocations: 173 kB / 24.06 MB, free: 452 kB / 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 0.9823/0.9823, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.00215/0.00215, allocations: 424.2 kB / 261.4 MB, free: 12.49 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.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 331.3 MB, free: 4.117 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.39e-05, allocations: 2.312 kB / 331.3 MB, free: 4.113 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.00214/0.002164, allocations: 1.668 MB / 333 MB, free: 2.434 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002479/0.002412, allocations: 95.62 kB / 333.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.698e-05/0.002469, allocations: 0 / 333.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.733e-05/0.002516, allocations: 19.86 kB / 333.1 MB, free: 2.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.002619, allocations: 43.58 kB / 333.2 MB, free: 2.277 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001158/0.002735, allocations: 19.97 kB / 333.2 MB, free: 2.258 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.002851, allocations: 111.5 kB / 333.3 MB, free: 2.148 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.002964, allocations: 27.97 kB / 333.3 MB, free: 2.121 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.848e-05/0.003052, allocations: 63.88 kB / 333.4 MB, free: 2.059 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.193e-05/0.003134, allocations: 31.91 kB / 333.4 MB, free: 2.027 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.003154, allocations: 8 kB / 333.4 MB, free: 2.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.349e-05/0.003168, allocations: 8 kB / 333.4 MB, free: 2.012 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.496e-05/0.003193, allocations: 27.91 kB / 333.4 MB, free: 1.984 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/0.003224, allocations: 31.92 kB / 333.5 MB, free: 1.953 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.003349, allocations: 75.67 kB / 333.5 MB, free: 1.879 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.003352, allocations: 0 / 333.5 MB, free: 1.879 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.003352, allocations: 0 / 333.5 MB, free: 1.879 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.003356, allocations: 0 / 333.5 MB, free: 1.879 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.0003517/0.003708, allocations: 424.4 kB / 334 MB, free: 1.426 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.003741, allocations: 16.02 kB / 334 MB, free: 1.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.003782, allocations: 20.84 kB / 334 MB, free: 1.391 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.003899, allocations: 136.4 kB / 334.1 MB, free: 1.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.003908, allocations: 4.562 kB / 334.1 MB, free: 1.227 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.003929, allocations: 12.38 kB / 334.1 MB, free: 1.215 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.333e-05/0.004022, allocations: 77.66 kB / 334.2 MB, free: 1.137 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.004031, allocations: 0 / 334.2 MB, free: 1.137 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.00404, allocations: 4 kB / 334.2 MB, free: 1.133 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.004044, allocations: 4 kB / 334.2 MB, free: 1.129 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.079e-05/0.004085, allocations: 27.97 kB / 334.3 MB, free: 1.102 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.004394, allocations: 332.1 kB / 334.6 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.314e-05/0.004487, allocations: 78.97 kB / 334.7 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.778e-05/0.004515, allocations: 23.67 kB / 334.7 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-06/0.004522, allocations: 4.188 kB / 334.7 MB, free: 0.625 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.004541, allocations: 41.33 kB / 334.7 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.004542, allocations: 0 / 334.7 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005765/0.005118, allocations: 467.7 kB / 335.2 MB, free: 52 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.005159, allocations: 63.28 kB / 335.2 MB, free: 15.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.385e-05/0.005233, allocations: 185.8 kB / 335.4 MB, free: 15.78 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.005245, allocations: 29.7 kB / 335.5 MB, free: 15.74 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.117e-05/0.005297, allocations: 138.6 kB / 335.6 MB, free: 15.6 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.005328, allocations: 63.45 kB / 335.7 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.005367, allocations: 39.36 kB / 335.7 MB, free: 15.49 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.005477, allocations: 0.4923 MB / 336.2 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.977e-05/0.005497, allocations: 15.94 kB / 336.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.95e-05/0.005537, allocations: 47.03 kB / 336.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.6e-05/0.005603, allocations: 81.84 kB / 336.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.005604, allocations: 0 / 336.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001507/0.005754, allocations: 133.2 kB / 336.5 MB, free: 14.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.005769, allocations: 11.94 kB / 336.5 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.005774, allocations: 0 / 336.5 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.709e-05/0.005871, allocations: 27.61 kB / 336.5 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.056e-05/0.005942, allocations: 27.98 kB / 336.5 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008722/0.006814, allocations: 1.997 MB / 338.5 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.529e-05/0.006849, allocations: 15.92 kB / 338.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.006854, allocations: 0 / 338.5 MB, free: 12.48 MB / 314.7 MB 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 7.458e-05/0.006929, allocations: 168.5 kB / 338.7 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.006952, allocations: 16.09 kB / 338.7 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.006975, allocations: 20.77 kB / 338.7 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.006976, allocations: 0 / 338.7 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.00698, allocations: 0 / 338.7 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.006983, allocations: 3.938 kB / 338.7 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003393/0.007323, allocations: 444.5 kB / 339.2 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.007328, allocations: 7.938 kB / 339.2 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.666e-05/0.007394, allocations: 31.98 kB / 339.2 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-05/0.007452, allocations: 23.67 kB / 339.2 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.007458, allocations: 0 / 339.2 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006324/0.008091, allocations: 1.705 MB / 340.9 MB, free: 9.898 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.008092, allocations: 4 kB / 340.9 MB, free: 9.895 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.00829, allocations: 325.5 kB / 341.3 MB, free: 9.543 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.368e-06/0.0083, allocations: 7.953 kB / 341.3 MB, free: 9.535 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.00831, allocations: 4 kB / 341.3 MB, free: 9.531 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.11e-05/0.008351, allocations: 4 kB / 341.3 MB, free: 9.527 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.008376, allocations: 20.06 kB / 341.3 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.008381, allocations: 8 kB / 341.3 MB, free: 9.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.722e-05/0.008419, allocations: 127.5 kB / 341.4 MB, free: 9.375 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.1e-08/0.008419, allocations: 0 / 341.4 MB, free: 9.375 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002088/0.008628, allocations: 32 kB / 341.5 MB, free: 9.344 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.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 9.546e-05/0.008723, allocations: 103.2 kB / 341.6 MB, free: 9.234 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000256/0.008979, allocations: 258.9 kB / 341.8 MB, free: 8.965 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.008982, allocations: 4.062 kB / 341.8 MB, free: 8.961 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.009092, allocations: 213.5 kB / 342 MB, free: 8.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.009324, allocations: 24.2 kB / 342.1 MB, free: 8.707 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/0.009721, allocations: 343.5 kB / 342.4 MB, free: 8.332 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.899e-05/0.00976, allocations: 75.83 kB / 342.5 MB, free: 8.238 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.56e-05/0.009796, allocations: 8.656 kB / 342.5 MB, free: 8.227 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.965e-05/0.009855, allocations: 90.12 kB / 342.6 MB, free: 8.137 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.009856, allocations: 0 / 342.6 MB, free: 8.137 MB / 314.7 MB Notification: Performance of Templates: time 0.003191/0.01305, allocations: 1.595 MB / 344.2 MB, free: 6.613 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.80181373283267]