Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.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.00114/0.00114, allocations: 72.55 kB / 19.93 MB, free: 4.621 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.0008443/0.0008443, allocations: 177.9 kB / 23.21 MB, free: 1.34 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 0.91/0.91, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.001939/0.001939, allocations: 422.8 kB / 260.4 MB, free: 12.83 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.TwoMassesEquationsFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 383 MB, free: 14.44 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.512e-05, allocations: 2.281 kB / 383 MB, free: 14.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001011/0.001036, allocations: 0.5189 MB / 383.5 MB, free: 13.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001631/0.001199, allocations: 19.92 kB / 383.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.387e-05/0.001223, allocations: 3.938 kB / 383.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.87e-05/0.001241, allocations: 3.938 kB / 383.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 2.977e-05/0.001271, allocations: 0 / 383.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.001404, allocations: 11.97 kB / 383.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.049e-05/0.001464, allocations: 23.98 kB / 383.6 MB, free: 13.85 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.012e-05/0.001514, allocations: 3.984 kB / 383.6 MB, free: 13.85 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.497e-05/0.001559, allocations: 19.92 kB / 383.6 MB, free: 13.83 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.659e-05/0.001626, allocations: 3.984 kB / 383.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.001649, allocations: 4 kB / 383.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.305e-06/0.001658, allocations: 0 / 383.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.001676, allocations: 7.984 kB / 383.6 MB, free: 13.81 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.905e-05/0.001695, allocations: 3.938 kB / 383.7 MB, free: 13.81 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.666e-05/0.001761, allocations: 19.91 kB / 383.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.001764, allocations: 8 kB / 383.7 MB, free: 13.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.001765, allocations: 0 / 383.7 MB, free: 13.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.001771, allocations: 3.984 kB / 383.7 MB, free: 13.78 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003356/0.002106, allocations: 250.4 kB / 383.9 MB, free: 13.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.002146, allocations: 8.031 kB / 383.9 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.002177, allocations: 8.891 kB / 383.9 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.068e-05/0.002258, allocations: 109.7 kB / 384 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.002271, allocations: 8.375 kB / 384.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.002297, allocations: 4.375 kB / 384.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.317e-05/0.00239, allocations: 42.25 kB / 384.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.002402, allocations: 8.172 kB / 384.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.002413, allocations: 4.375 kB / 384.1 MB, free: 13.28 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.002418, allocations: 384 / 384.1 MB, free: 13.28 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.651e-05/0.002454, allocations: 11.94 kB / 384.1 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002453/0.0027, allocations: 204.5 kB / 384.3 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.659e-05/0.002796, allocations: 46.62 kB / 384.4 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.915e-05/0.002825, allocations: 24.97 kB / 384.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.948e-06/0.002835, allocations: 0 / 384.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.002856, allocations: 38.56 kB / 384.4 MB, free: 12.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 7.71e-07/0.002856, allocations: 3.938 kB / 384.4 MB, free: 12.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005657/0.003422, allocations: 355.9 kB / 384.8 MB, free: 12.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.003455, allocations: 55.41 kB / 384.8 MB, free: 12.43 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.38e-05/0.003509, allocations: 97.84 kB / 384.9 MB, free: 12.33 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.003521, allocations: 33.64 kB / 385 MB, free: 12.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.196e-05/0.003553, allocations: 84.09 kB / 385.1 MB, free: 12.2 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.003582, allocations: 27.75 kB / 385.1 MB, free: 12.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.003613, allocations: 29.7 kB / 385.1 MB, free: 12.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.949e-05/0.003693, allocations: 310.8 kB / 385.4 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.905e-05/0.003722, allocations: 19.92 kB / 385.4 MB, free: 11.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.545e-05/0.003757, allocations: 37.7 kB / 385.5 MB, free: 11.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.003954, allocations: 89.69 kB / 385.6 MB, free: 11.67 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.003956, allocations: 3.938 kB / 385.6 MB, free: 11.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.402e-05/0.00404, allocations: 81.62 kB / 385.6 MB, free: 11.58 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.004053, allocations: 4 kB / 385.6 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.004059, allocations: 0 / 385.6 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.004072, allocations: 0 / 385.6 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.7e-05/0.004149, allocations: 20.86 kB / 385.7 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.004155, allocations: 7.938 kB / 385.7 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.347e-05/0.004169, allocations: 0 / 385.7 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.004175, allocations: 8 kB / 385.7 MB, free: 11.54 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: $DER.v1 = 0.0 $DER.x1 = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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 9.362e-05/0.004268, allocations: 113.8 kB / 385.8 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.00428, allocations: 7.953 kB / 385.8 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.004306, allocations: 8.125 kB / 385.8 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.004309, allocations: 4 kB / 385.8 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.004317, allocations: 7.984 kB / 385.8 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.00432, allocations: 0 / 385.8 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.004616, allocations: 317.5 kB / 386.1 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.004619, allocations: 4 kB / 386.1 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.004659, allocations: 4 kB / 386.1 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.349e-05/0.004752, allocations: 20.84 kB / 386.2 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.004759, allocations: 0 / 386.2 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007045/0.005464, allocations: 1.265 MB / 387.4 MB, free: 9.633 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.005466, allocations: 3.938 kB / 387.4 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.005613, allocations: 219.4 kB / 387.6 MB, free: 9.387 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-06/0.005619, allocations: 16.03 kB / 387.7 MB, free: 9.371 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-06/0.005624, allocations: 7.875 kB / 387.7 MB, free: 9.363 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.656e-05/0.00566, allocations: 4 kB / 387.7 MB, free: 9.359 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.017e-05/0.00568, allocations: 11.92 kB / 387.7 MB, free: 9.348 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.005686, allocations: 7.984 kB / 387.7 MB, free: 9.34 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.342e-05/0.005709, allocations: 79.28 kB / 387.8 MB, free: 9.262 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005709, allocations: 0 / 387.8 MB, free: 9.262 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001513/0.005861, allocations: 12 kB / 387.8 MB, free: 9.25 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.848e-05/0.005939, allocations: 95.25 kB / 387.9 MB, free: 9.148 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.288e-05/0.006032, allocations: 44 kB / 387.9 MB, free: 9.105 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.006034, allocations: 0 / 387.9 MB, free: 9.105 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.006205, allocations: 146.8 kB / 388.1 MB, free: 8.949 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.006362, allocations: 9.016 kB / 388.1 MB, free: 8.941 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002272/0.006589, allocations: 189 kB / 388.2 MB, free: 8.715 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.45e-05/0.006644, allocations: 75.27 kB / 388.3 MB, free: 8.621 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.006668, allocations: 20.62 kB / 388.3 MB, free: 8.602 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.006669, allocations: 0 / 388.3 MB, free: 8.602 MB / 314.7 MB Notification: Performance of Templates: time 0.001888/0.008557, allocations: 0.8173 MB / 389.2 MB, free: 7.793 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.280499406158924] Failed to read output from testmodel.py, exit status != 0: 0.013734466396272182 0.027492265000000002 0.023323899000000002 Calling exit ...