Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.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.001345/0.001345, allocations: 80.28 kB / 19.18 MB, free: 2.531 MB / 14.72 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.001411/0.001411, allocations: 169.5 kB / 22.47 MB, free: 5.352 MB / 14.72 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.429/1.429, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.002963/0.002963, allocations: 431.2 kB / 259.6 MB, free: 304 kB / 238.1 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.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.397e-06/3.397e-06, allocations: 3.984 kB / 382.3 MB, free: 4.262 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.665e-05, allocations: 2.281 kB / 382.3 MB, free: 4.258 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.002808/0.002835, allocations: 1.618 MB / 383.9 MB, free: 2.625 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003119/0.003147, allocations: 99.67 kB / 384 MB, free: 2.527 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.351e-05/0.00321, allocations: 4 kB / 384 MB, free: 2.523 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.234e-05/0.003262, allocations: 15.86 kB / 384 MB, free: 2.508 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.00337, allocations: 35.64 kB / 384 MB, free: 2.473 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001164/0.003487, allocations: 27.91 kB / 384.1 MB, free: 2.445 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.003642, allocations: 115.4 kB / 384.2 MB, free: 2.332 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.00376, allocations: 27.92 kB / 384.2 MB, free: 2.305 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.003877, allocations: 63.81 kB / 384.3 MB, free: 2.242 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.882e-05/0.003956, allocations: 27.97 kB / 384.3 MB, free: 2.215 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.00399, allocations: 8 kB / 384.3 MB, free: 2.207 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.324e-05/0.004013, allocations: 12 kB / 384.3 MB, free: 2.195 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.975e-05/0.004043, allocations: 27.91 kB / 384.3 MB, free: 2.168 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.581e-05/0.004099, allocations: 35.91 kB / 384.4 MB, free: 2.133 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.00426, allocations: 111.6 kB / 384.5 MB, free: 2.023 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.004262, allocations: 0 / 384.5 MB, free: 2.023 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004262, allocations: 0 / 384.5 MB, free: 2.023 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.004267, allocations: 0 / 384.5 MB, free: 2.023 MB / 302.1 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.0005253/0.004792, allocations: 314.2 kB / 384.8 MB, free: 1.684 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.004823, allocations: 12.03 kB / 384.8 MB, free: 1.672 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.386e-05/0.004867, allocations: 16.84 kB / 384.8 MB, free: 1.656 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.005041, allocations: 129.7 kB / 384.9 MB, free: 1.504 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.005055, allocations: 8.562 kB / 385 MB, free: 1.496 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.005087, allocations: 8.328 kB / 385 MB, free: 1.488 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.005282, allocations: 98.72 kB / 385.1 MB, free: 1.387 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.005295, allocations: 0 / 385.1 MB, free: 1.387 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.00531, allocations: 4 kB / 385.1 MB, free: 1.383 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.005317, allocations: 4 kB / 385.1 MB, free: 1.379 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.005437, allocations: 59.84 kB / 385.1 MB, free: 1.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.005952, allocations: 304.3 kB / 385.4 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.006136, allocations: 98.67 kB / 385.5 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.653e-05/0.006202, allocations: 36.78 kB / 385.6 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.006211, allocations: 0 / 385.6 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.006239, allocations: 38.56 kB / 385.6 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 2.956e-06/0.006242, allocations: 3.984 kB / 385.6 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001097/0.007339, allocations: 0.5232 MB / 386.1 MB, free: 220 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.00738, allocations: 59.34 kB / 386.2 MB, free: 148 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.007488, allocations: 121.8 kB / 386.3 MB, free: 16 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.007523, allocations: 25.7 kB / 386.3 MB, free: 15.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/0.007592, allocations: 107.8 kB / 386.4 MB, free: 15.88 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.633e-05/0.007649, allocations: 63.44 kB / 386.5 MB, free: 15.81 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.007707, allocations: 33.7 kB / 386.5 MB, free: 15.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.007851, allocations: 318.8 kB / 386.8 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.022e-05/0.007921, allocations: 35.98 kB / 386.9 MB, free: 15.42 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.281e-05/0.008014, allocations: 62.55 kB / 386.9 MB, free: 15.35 MB / 318.1 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.a = $START.mass2.a ($START.mass1.a = $START.mass2.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005526/0.008567, allocations: 217.7 kB / 387.1 MB, free: 15.13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.008568, allocations: 0 / 387.1 MB, free: 15.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002259/0.008794, allocations: 137.6 kB / 387.3 MB, free: 14.99 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.008809, allocations: 7.938 kB / 387.3 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.008813, allocations: 0 / 387.3 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.008833, allocations: 4 kB / 387.3 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.009016, allocations: 35.98 kB / 387.3 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.009021, allocations: 0 / 387.3 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.055e-05/0.009071, allocations: 4 kB / 387.3 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.009084, allocations: 12.03 kB / 387.3 MB, free: 14.93 MB / 318.1 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.a = $START.mass2.a. 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.009202, allocations: 129.8 kB / 387.5 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.009238, allocations: 11.89 kB / 387.5 MB, free: 14.78 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.227e-05/0.00928, allocations: 16.72 kB / 387.5 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.009285, allocations: 4 kB / 387.5 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.00929, allocations: 0 / 387.5 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.009295, allocations: 3.984 kB / 387.5 MB, free: 14.75 MB / 318.1 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.0006422/0.009937, allocations: 437.3 kB / 387.9 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.009939, allocations: 0 / 387.9 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.01007, allocations: 31.92 kB / 388 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000101/0.01018, allocations: 20.84 kB / 388 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.01019, allocations: 256 / 388 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.01127, allocations: 1.248 MB / 389.2 MB, free: 12.87 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.555e-06/0.01128, allocations: 8.016 kB / 389.2 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.01168, allocations: 310.2 kB / 389.5 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.01169, allocations: 7.984 kB / 389.5 MB, free: 12.53 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.01171, allocations: 8 kB / 389.6 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/0.01179, allocations: 0 / 389.6 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.01183, allocations: 15.97 kB / 389.6 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.01184, allocations: 4 kB / 389.6 MB, free: 12.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.14e-05/0.0119, allocations: 95.58 kB / 389.7 MB, free: 12.41 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0119, allocations: 0 / 389.7 MB, free: 12.41 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.01218, allocations: 32.12 kB / 389.7 MB, free: 12.38 MB / 318.1 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.0001245/0.01231, allocations: 103.2 kB / 389.8 MB, free: 12.26 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002298/0.01254, allocations: 91.91 kB / 389.9 MB, free: 12.17 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01254, allocations: 0 / 389.9 MB, free: 12.17 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000258/0.0128, allocations: 165.9 kB / 390.1 MB, free: 12 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.01314, allocations: 29.92 kB / 390.1 MB, free: 11.97 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005905/0.01373, allocations: 328.2 kB / 390.4 MB, free: 11.62 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.81e-05/0.01382, allocations: 88.81 kB / 390.5 MB, free: 11.51 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.745e-05/0.01386, allocations: 12.64 kB / 390.5 MB, free: 11.5 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.0139, allocations: 16.5 kB / 390.5 MB, free: 11.48 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.0139, allocations: 0 / 390.5 MB, free: 11.48 MB / 318.1 MB Notification: Performance of Templates: time 0.004674/0.01858, allocations: 1.423 MB / 391.9 MB, free: 10.13 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.002961125224829] Failed to read output from testmodel.py, exit status != 0: 0.026843108236789703 0.04205479 0.034693483000000004 Calling exit ...