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.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.0009206/0.0009206, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.000846/0.000846, allocations: 177.9 kB / 23.21 MB, free: 1.344 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.897/0.897, allocations: 177.1 MB / 203.5 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.002183/0.002183, allocations: 423.4 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.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 1.943e-06/1.943e-06, allocations: 0 / 383 MB, free: 14.45 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.699e-05, allocations: 2.281 kB / 383 MB, free: 14.45 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001093/0.00112, allocations: 0.5307 MB / 383.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001562/0.001276, allocations: 15.92 kB / 383.6 MB, free: 13.9 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.59e-05/0.001302, allocations: 0 / 383.6 MB, free: 13.9 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.89e-05/0.001321, allocations: 3.938 kB / 383.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 3.334e-05/0.001354, allocations: 4 kB / 383.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001359/0.00149, allocations: 15.97 kB / 383.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.367e-05/0.001554, allocations: 15.92 kB / 383.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.208e-05/0.001606, allocations: 4 kB / 383.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.746e-05/0.001653, allocations: 23.91 kB / 383.7 MB, free: 13.83 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.028e-05/0.001723, allocations: 3.984 kB / 383.7 MB, free: 13.83 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.00175, allocations: 4 kB / 383.7 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.001761, allocations: 3.938 kB / 383.7 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.001782, allocations: 8 kB / 383.7 MB, free: 13.81 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.231e-05/0.001805, allocations: 3.938 kB / 383.7 MB, free: 13.81 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 7.939e-05/0.001884, allocations: 15.91 kB / 383.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.001886, allocations: 4 kB / 383.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.001888, allocations: 0 / 383.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.82e-06/0.001892, allocations: 0 / 383.7 MB, free: 13.79 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.0003739/0.002266, allocations: 262.4 kB / 384 MB, free: 13.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.002306, allocations: 11.98 kB / 384 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.002336, allocations: 8.891 kB / 384 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.638e-05/0.002413, allocations: 109.7 kB / 384.1 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.002424, allocations: 4.375 kB / 384.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.002448, allocations: 4.375 kB / 384.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.831e-05/0.002546, allocations: 42.25 kB / 384.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.002557, allocations: 8.188 kB / 384.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.002565, allocations: 384 / 384.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.002569, allocations: 384 / 384.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.084e-05/0.00261, allocations: 23.86 kB / 384.2 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002641/0.002874, allocations: 196.6 kB / 384.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.101e-05/0.002965, allocations: 46.56 kB / 384.4 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.005e-05/0.002995, allocations: 20.97 kB / 384.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.003006, allocations: 3.938 kB / 384.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.003031, allocations: 38.5 kB / 384.5 MB, free: 12.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 7.71e-07/0.003031, allocations: 0 / 384.5 MB, free: 12.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005833/0.003615, allocations: 359.9 kB / 384.8 MB, free: 12.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.003651, allocations: 51.41 kB / 384.9 MB, free: 12.44 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.615e-05/0.003707, allocations: 101.8 kB / 385 MB, free: 12.33 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.003718, allocations: 29.7 kB / 385 MB, free: 12.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/0.003749, allocations: 84.09 kB / 385.1 MB, free: 12.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.003782, allocations: 27.75 kB / 385.1 MB, free: 12.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.003813, allocations: 29.7 kB / 385.1 MB, free: 12.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.865e-05/0.003902, allocations: 314.8 kB / 385.4 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.427e-05/0.003926, allocations: 19.98 kB / 385.5 MB, free: 11.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.703e-05/0.003963, allocations: 29.7 kB / 385.5 MB, free: 11.77 MB / 314.7 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.0002417/0.004205, allocations: 89.64 kB / 385.6 MB, free: 11.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.004208, allocations: 3.938 kB / 385.6 MB, free: 11.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001137/0.004321, allocations: 94.47 kB / 385.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.004333, allocations: 4.094 kB / 385.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.00434, allocations: 7.922 kB / 385.7 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003907/0.004731, allocations: 20.86 kB / 385.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.428e-05/0.004785, allocations: 11.98 kB / 385.7 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007192/0.005505, allocations: 1.265 MB / 387 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.288e-05/0.005517, allocations: 8.031 kB / 387 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.005522, allocations: 0 / 387 MB, free: 10.15 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: 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 7.874e-05/0.005601, allocations: 113.8 kB / 387.1 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.005615, allocations: 7.953 kB / 387.1 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.745e-05/0.005632, allocations: 16.05 kB / 387.1 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.92e-07/0.005633, allocations: 4.062 kB / 387.1 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.005635, allocations: 0 / 387.1 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.005638, allocations: 0 / 387.1 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.005932, allocations: 321.4 kB / 387.4 MB, free: 9.637 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.005934, allocations: 0 / 387.4 MB, free: 9.637 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.727e-05/0.005971, allocations: 8 kB / 387.4 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.121e-05/0.006022, allocations: 24.78 kB / 387.5 MB, free: 9.602 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.00603, allocations: 4 kB / 387.5 MB, free: 9.598 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000556/0.006586, allocations: 1.268 MB / 388.7 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.006587, allocations: 0 / 388.7 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.006732, allocations: 231.2 kB / 389 MB, free: 7.977 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-06/0.006735, allocations: 0 / 389 MB, free: 7.977 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.342e-06/0.006741, allocations: 8.016 kB / 389 MB, free: 7.969 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.309e-05/0.006774, allocations: 0 / 389 MB, free: 7.969 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/0.006796, allocations: 11.98 kB / 389 MB, free: 7.957 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.006801, allocations: 4.062 kB / 389 MB, free: 7.953 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.587e-05/0.006827, allocations: 79.28 kB / 389.1 MB, free: 7.875 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006827, allocations: 4.125 kB / 389.1 MB, free: 7.871 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000164/0.006991, allocations: 12 kB / 389.1 MB, free: 7.859 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 8.928e-05/0.00708, allocations: 99.19 kB / 389.2 MB, free: 7.754 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002351/0.007315, allocations: 166.6 kB / 389.3 MB, free: 7.578 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.007317, allocations: 0 / 389.3 MB, free: 7.578 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.398e-05/0.007411, allocations: 138.6 kB / 389.5 MB, free: 7.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/0.007576, allocations: 20.11 kB / 389.5 MB, free: 7.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/0.00787, allocations: 200.8 kB / 389.7 MB, free: 7.172 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.371e-05/0.007924, allocations: 67.34 kB / 389.8 MB, free: 7.086 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.274e-05/0.007946, allocations: 8.5 kB / 389.8 MB, free: 7.078 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.007947, allocations: 0 / 389.8 MB, free: 7.078 MB / 314.7 MB Notification: Performance of Templates: time 0.001928/0.009875, allocations: 0.9563 MB / 390.7 MB, free: 6.129 MB / 314.7 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: 4.372870454564691] Failed to read output from testmodel.py, exit status != 0: 0.014861690811812878 0.022780687 0.019381256 Calling exit ...