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.0009347/0.0009347, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001676/0.001676, allocations: 173 kB / 23.5 MB, free: 1.055 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.006/1.006, allocations: 177.1 MB / 203.8 MB, free: 5.605 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.002172/0.002172, allocations: 416.3 kB / 260.7 MB, free: 12.67 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.613e-06/1.613e-06, allocations: 0 / 330.1 MB, free: 19.64 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.333e-05/1.494e-05, allocations: 2.312 kB / 330.1 MB, free: 19.63 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.001588/0.001603, allocations: 1.676 MB / 331.8 MB, free: 17.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000208/0.001811, allocations: 99.61 kB / 331.9 MB, free: 17.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.764e-05/0.001859, allocations: 3.938 kB / 331.9 MB, free: 17.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.837e-05/0.001897, allocations: 15.86 kB / 331.9 MB, free: 17.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.737e-05/0.001974, allocations: 27.72 kB / 331.9 MB, free: 17.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001032/0.002078, allocations: 35.89 kB / 332 MB, free: 17.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.086e-05/0.002159, allocations: 103.5 kB / 332.1 MB, free: 17.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.002262, allocations: 27.97 kB / 332.1 MB, free: 17.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.077e-05/0.002343, allocations: 59.88 kB / 332.2 MB, free: 17.58 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.988e-05/0.002412, allocations: 31.91 kB / 332.2 MB, free: 17.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.002442, allocations: 8 kB / 332.2 MB, free: 17.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.71e-05/0.002459, allocations: 8 kB / 332.2 MB, free: 17.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.00248, allocations: 23.91 kB / 332.2 MB, free: 17.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.068e-05/0.00251, allocations: 31.92 kB / 332.3 MB, free: 17.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.002613, allocations: 75.72 kB / 332.3 MB, free: 17.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.002615, allocations: 4 kB / 332.3 MB, free: 17.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.002615, allocations: 0 / 332.3 MB, free: 17.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.946e-06/0.002618, allocations: 0 / 332.3 MB, free: 17.4 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.0002835/0.002902, allocations: 432.4 kB / 332.8 MB, free: 16.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.002932, allocations: 8.031 kB / 332.8 MB, free: 16.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.00297, allocations: 20.84 kB / 332.8 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.003071, allocations: 124.5 kB / 332.9 MB, free: 16.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-06/0.003081, allocations: 12.5 kB / 332.9 MB, free: 16.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.0031, allocations: 16.38 kB / 332.9 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.003201, allocations: 78.72 kB / 333 MB, free: 16.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.00321, allocations: 3.953 kB / 333 MB, free: 16.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.00322, allocations: 0 / 333 MB, free: 16.65 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.003227, allocations: 4 kB / 333 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.17e-05/0.003288, allocations: 38.95 kB / 333.1 MB, free: 16.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/0.00359, allocations: 351.6 kB / 333.4 MB, free: 16.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.003695, allocations: 79.22 kB / 333.5 MB, free: 16.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.575e-05/0.003731, allocations: 35.59 kB / 333.5 MB, free: 16.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.003738, allocations: 8.219 kB / 333.5 MB, free: 16.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.222e-05/0.00375, allocations: 41.27 kB / 333.6 MB, free: 16.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.003751, allocations: 0 / 333.6 MB, free: 16.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006269/0.004378, allocations: 0.4982 MB / 334.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.604e-05/0.004394, allocations: 63.28 kB / 334.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.209e-05/0.004446, allocations: 173.9 kB / 334.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.453e-06/0.004453, allocations: 29.7 kB / 334.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/0.004485, allocations: 138.8 kB / 334.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.004508, allocations: 63.48 kB / 334.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.00454, allocations: 43.31 kB / 334.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.23e-05/0.004582, allocations: 0.4961 MB / 335.1 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.855e-05/0.00461, allocations: 15.98 kB / 335.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.077e-05/0.004651, allocations: 51.05 kB / 335.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.318e-05/0.004724, allocations: 82.98 kB / 335.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.004725, allocations: 0 / 335.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001372/0.004863, allocations: 145.1 kB / 335.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.004873, allocations: 8 kB / 335.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.004877, allocations: 4.031 kB / 335.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001078/0.004985, allocations: 23.67 kB / 335.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.177e-05/0.005056, allocations: 27.98 kB / 335.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006042/0.005661, allocations: 2.032 MB / 337.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.538e-05/0.005686, allocations: 0 / 337.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.005692, allocations: 8 kB / 337.4 MB, free: 11.87 MB / 266.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 4.707e-05/0.005739, allocations: 168.5 kB / 337.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.005759, allocations: 11.95 kB / 337.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.694e-05/0.005776, allocations: 16.84 kB / 337.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.005779, allocations: 11.94 kB / 337.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.005781, allocations: 0 / 337.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.005785, allocations: 3.984 kB / 337.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.006082, allocations: 475.5 kB / 338.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.006084, allocations: 4 kB / 338.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.598e-05/0.00615, allocations: 27.92 kB / 338.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.418e-05/0.006204, allocations: 23.67 kB / 338.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.006213, allocations: 4 kB / 338.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003694/0.006582, allocations: 1.736 MB / 339.9 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.006584, allocations: 4 kB / 339.9 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.006749, allocations: 318.5 kB / 340.2 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.244e-06/0.006756, allocations: 11.89 kB / 340.2 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.896e-06/0.006765, allocations: 8 kB / 340.2 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.068e-05/0.006806, allocations: 7.984 kB / 340.3 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.983e-05/0.006825, allocations: 7.984 kB / 340.3 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.006829, allocations: 4 kB / 340.3 MB, free: 8.816 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.152e-05/0.006851, allocations: 139.1 kB / 340.4 MB, free: 8.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.006851, allocations: 3.938 kB / 340.4 MB, free: 8.676 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001944/0.007045, allocations: 36.06 kB / 340.4 MB, free: 8.641 MB / 266.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 5.351e-05/0.007099, allocations: 95.25 kB / 340.5 MB, free: 8.539 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002354/0.007334, allocations: 265.3 kB / 340.8 MB, free: 8.258 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.007337, allocations: 4 kB / 340.8 MB, free: 8.254 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.205e-05/0.007429, allocations: 213.5 kB / 341 MB, free: 8.023 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.007645, allocations: 27.78 kB / 341 MB, free: 8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003758/0.008021, allocations: 355.6 kB / 341.4 MB, free: 7.613 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.804e-05/0.008049, allocations: 75.69 kB / 341.5 MB, free: 7.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.906e-05/0.008078, allocations: 12.64 kB / 341.5 MB, free: 7.504 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.273e-05/0.008101, allocations: 16.5 kB / 341.5 MB, free: 7.488 MB / 266.7 MB Notification: Performance of SimCode: time 9.01e-07/0.008102, allocations: 0 / 341.5 MB, free: 7.488 MB / 266.7 MB Notification: Performance of Templates: time 0.002631/0.01073, allocations: 1.449 MB / 342.9 MB, free: 6.121 MB / 266.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.739786821883172]