Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 112.8 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002064/0.002064, allocations: 194.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.1527/0.1527, allocations: 0.5604 MB / 298.5 MB, free: 4.707 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 71.89 kB / 411.8 MB, free: 1.742 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2682, allocations: 49.58 MB / 461.4 MB, free: 23.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001501/0.2697, allocations: 0.5406 MB / 461.9 MB, free: 23.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001554/0.2699, allocations: 22.25 kB / 462 MB, free: 23.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.441e-05/0.2699, allocations: 0 / 462 MB, free: 23.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.728e-05/0.27, allocations: 0 / 462 MB, free: 23.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.644e-05/0.27, allocations: 3.938 kB / 462 MB, free: 23.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001167/0.2701, allocations: 15.5 kB / 462 MB, free: 23.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.933e-05/0.2702, allocations: 13.05 kB / 462 MB, free: 23.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.321e-05/0.2702, allocations: 7.219 kB / 462 MB, free: 23.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.947e-05/0.2703, allocations: 10.52 kB / 462 MB, free: 23.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.919e-05/0.2703, allocations: 10 kB / 462 MB, free: 23.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.2704, allocations: 7.094 kB / 462 MB, free: 23.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.776e-06/0.2704, allocations: 0 / 462 MB, free: 23.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.2704, allocations: 3.938 kB / 462 MB, free: 23.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.2704, allocations: 14.95 kB / 462.1 MB, free: 23.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.779e-05/0.2705, allocations: 17.3 kB / 462.1 MB, free: 23.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2705, allocations: 0 / 462.1 MB, free: 23.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2705, allocations: 0 / 462.1 MB, free: 23.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.2705, allocations: 0 / 462.1 MB, free: 23.45 MB / 350.1 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.0003123/0.2708, allocations: 331.5 kB / 462.4 MB, free: 23.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.2709, allocations: 21.52 kB / 462.4 MB, free: 23.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.2709, allocations: 4.891 kB / 462.4 MB, free: 23.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.57e-05/0.271, allocations: 170.9 kB / 462.6 MB, free: 22.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.271, allocations: 4.375 kB / 462.6 MB, free: 22.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.271, allocations: 3.5 kB / 462.6 MB, free: 22.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.2711, allocations: 46.77 kB / 462.6 MB, free: 22.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.2711, allocations: 192 / 462.6 MB, free: 22.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.2712, allocations: 3.938 kB / 462.6 MB, free: 22.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.2712, allocations: 3.156 kB / 462.6 MB, free: 22.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.618e-05/0.2712, allocations: 8.875 kB / 462.7 MB, free: 22.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002354/0.2714, allocations: 258.7 kB / 462.9 MB, free: 22.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.546e-05/0.2715, allocations: 52.25 kB / 463 MB, free: 22.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.974e-05/0.2716, allocations: 22.77 kB / 463 MB, free: 22.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.2716, allocations: 3.188 kB / 463 MB, free: 22.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.456e-05/0.2716, allocations: 30.56 kB / 463 MB, free: 22.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.2716, allocations: 7.938 kB / 463 MB, free: 22.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005533/0.2722, allocations: 0.4962 MB / 463.5 MB, free: 21.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.049e-05/0.2722, allocations: 51.41 kB / 463.6 MB, free: 21.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.796e-05/0.2723, allocations: 100.4 kB / 463.7 MB, free: 21.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.2723, allocations: 32.58 kB / 463.7 MB, free: 21.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.866e-05/0.2723, allocations: 88.14 kB / 463.8 MB, free: 21.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.2723, allocations: 30.3 kB / 463.8 MB, free: 21.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.2724, allocations: 19.88 kB / 463.8 MB, free: 21.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.294e-05/0.2724, allocations: 324.9 kB / 464.2 MB, free: 21.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.62e-05/0.2724, allocations: 13.22 kB / 464.2 MB, free: 21.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.299e-05/0.2725, allocations: 33.41 kB / 464.2 MB, free: 21.28 MB / 350.1 MB Error: The initialization problem is inconsistent due to the following equation: x1 = 0.0 (1.0 = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.2728, allocations: 252 kB / 464.4 MB, free: 21.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.2728, allocations: 0 / 464.4 MB, free: 21.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001323/0.2729, allocations: 103.4 kB / 464.5 MB, free: 20.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.273, allocations: 3.188 kB / 464.5 MB, free: 20.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.273, allocations: 0 / 464.5 MB, free: 20.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001037/0.2731, allocations: 29.73 kB / 464.6 MB, free: 20.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.964e-05/0.2731, allocations: 13 kB / 464.6 MB, free: 20.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006756/0.2738, allocations: 1.385 MB / 466 MB, free: 19.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.07e-05/0.2739, allocations: 2.781 kB / 466 MB, free: 19.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.2739, allocations: 6.688 kB / 466 MB, free: 19.54 MB / 350.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: x1 = 0.0 v1 = 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 (8): * Single equations (assignments): 7 * 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 prepare postOptimizeDAE: time 6.316e-05/0.2739, allocations: 116.4 kB / 466.1 MB, free: 19.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.274, allocations: 2.406 kB / 466.1 MB, free: 19.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.888e-05/0.274, allocations: 11.34 kB / 466.1 MB, free: 19.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.274, allocations: 0 / 466.1 MB, free: 19.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.274, allocations: 2.625 kB / 466.1 MB, free: 19.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.274, allocations: 0 / 466.1 MB, free: 19.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.2743, allocations: 380.5 kB / 466.5 MB, free: 19.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2743, allocations: 3.25 kB / 466.5 MB, free: 19.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.695e-05/0.2744, allocations: 10.25 kB / 466.5 MB, free: 19.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.317e-05/0.2745, allocations: 25.58 kB / 466.5 MB, free: 19.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.2745, allocations: 2.906 kB / 466.5 MB, free: 19.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000577/0.2751, allocations: 1.386 MB / 467.9 MB, free: 17.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2751, allocations: 0 / 467.9 MB, free: 17.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.2753, allocations: 230.8 kB / 468.1 MB, free: 17.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.971e-05/0.2753, allocations: 84.2 kB / 468.2 MB, free: 17.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-06/0.2753, allocations: 8.062 kB / 468.2 MB, free: 17.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.797e-05/0.2754, allocations: 6.812 kB / 468.2 MB, free: 17.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.2754, allocations: 10.92 kB / 468.2 MB, free: 17.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.2754, allocations: 3.281 kB / 468.2 MB, free: 17.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.869e-05/0.2754, allocations: 82.66 kB / 468.3 MB, free: 17.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2754, allocations: 3.125 kB / 468.3 MB, free: 17.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002401/0.2757, allocations: 8.656 kB / 468.3 MB, free: 17.21 MB / 350.1 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.208e-05/0.2758, allocations: 105.5 kB / 468.4 MB, free: 17.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002374/0.276, allocations: 174.8 kB / 468.6 MB, free: 16.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.276, allocations: 0 / 468.6 MB, free: 16.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.2762, allocations: 151.8 kB / 468.8 MB, free: 16.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.2764, allocations: 8.047 kB / 468.8 MB, free: 16.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002685/0.2767, allocations: 206.6 kB / 469 MB, free: 16.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.878e-05/0.2768, allocations: 0.6845 MB / 469.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.701e-05/0.2768, allocations: 10.62 kB / 469.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2768, allocations: 0 / 469.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of Templates: time 0.002376/0.2792, allocations: 0.9327 MB / 470.6 MB, free: 15.9 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.3744948549428955] Failed to read output from testmodel.py, exit status != 0: 0.28568355401512235 0.296143711 0.023369128000000003 Calling exit ...