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.001806/0.001806, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002033/0.002033, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.551/1.551, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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.003336/0.003336, allocations: 431.8 kB / 260 MB, free: 12.65 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.533e-06/1.533e-06, allocations: 0 / 329.4 MB, free: 19.64 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.624e-05, allocations: 8.984 kB / 329.4 MB, free: 19.63 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001272/0.001299, allocations: 0.5228 MB / 329.9 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001439/0.001442, allocations: 19.91 kB / 329.9 MB, free: 19.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.703e-05/0.00147, allocations: 3.938 kB / 329.9 MB, free: 19.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.269e-05/0.001482, allocations: 3.938 kB / 330 MB, free: 19.08 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.6e-05/0.001518, allocations: 8 kB / 330 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001145/0.001633, allocations: 7.984 kB / 330 MB, free: 19.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.926e-05/0.001682, allocations: 19.97 kB / 330 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.001723, allocations: 4 kB / 330 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.321e-05/0.001766, allocations: 11.92 kB / 330 MB, free: 19.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.728e-05/0.001834, allocations: 7.984 kB / 330 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.00185, allocations: 0 / 330 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.388e-06/0.00186, allocations: 0 / 330 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.001878, allocations: 11.98 kB / 330 MB, free: 19.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.98e-05/0.001898, allocations: 7.938 kB / 330 MB, free: 19 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.746e-05/0.001956, allocations: 11.92 kB / 330 MB, free: 18.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.001957, allocations: 4 kB / 330 MB, free: 18.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.001958, allocations: 0 / 330 MB, free: 18.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.217e-06/0.001962, allocations: 3.938 kB / 330 MB, free: 18.98 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000326/0.002288, allocations: 360.3 kB / 330.4 MB, free: 18.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.002324, allocations: 11.98 kB / 330.4 MB, free: 18.58 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.002364, allocations: 8.891 kB / 330.4 MB, free: 18.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.805e-05/0.002432, allocations: 112.6 kB / 330.5 MB, free: 18.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.002444, allocations: 384 / 330.5 MB, free: 18.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.002466, allocations: 8.375 kB / 330.5 MB, free: 18.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.855e-05/0.002555, allocations: 46.25 kB / 330.6 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.002566, allocations: 192 / 330.6 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.002576, allocations: 384 / 330.6 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.002582, allocations: 4.375 kB / 330.6 MB, free: 18.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.449e-05/0.002626, allocations: 23.86 kB / 330.6 MB, free: 18.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002414/0.002867, allocations: 255.8 kB / 330.9 MB, free: 18.06 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.634e-05/0.002964, allocations: 55.05 kB / 330.9 MB, free: 18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.253e-05/0.002996, allocations: 23.8 kB / 330.9 MB, free: 17.97 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.003011, allocations: 3.984 kB / 330.9 MB, free: 17.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.003039, allocations: 37.39 kB / 331 MB, free: 17.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.00304, allocations: 4 kB / 331 MB, free: 17.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005873/0.003627, allocations: 375.7 kB / 331.4 MB, free: 17.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.957e-05/0.003647, allocations: 55.34 kB / 331.4 MB, free: 17.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.529e-05/0.003702, allocations: 157.9 kB / 331.6 MB, free: 17.24 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/0.00371, allocations: 33.64 kB / 331.6 MB, free: 17.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.699e-05/0.003737, allocations: 130.9 kB / 331.7 MB, free: 17.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.003765, allocations: 35.69 kB / 331.8 MB, free: 17.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.003798, allocations: 27.38 kB / 331.8 MB, free: 17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.52e-05/0.003853, allocations: 0.4884 MB / 332.3 MB, free: 16.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.635e-05/0.003879, allocations: 15.98 kB / 332.3 MB, free: 16.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.323e-05/0.003913, allocations: 43.3 kB / 332.3 MB, free: 16.43 MB / 266.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.0002427/0.004155, allocations: 99.27 kB / 332.4 MB, free: 16.33 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.004157, allocations: 7.938 kB / 332.4 MB, free: 16.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001338/0.004291, allocations: 98.11 kB / 332.5 MB, free: 16.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.004301, allocations: 8 kB / 332.5 MB, free: 16.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.004305, allocations: 0 / 332.5 MB, free: 16.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001222/0.004427, allocations: 27.67 kB / 332.6 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.629e-05/0.004484, allocations: 12 kB / 332.6 MB, free: 16.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006943/0.005178, allocations: 1.787 MB / 334.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.124e-05/0.005199, allocations: 8 kB / 334.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.005204, allocations: 0 / 334.4 MB, free: 14.24 MB / 266.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 5.82e-05/0.005262, allocations: 160.6 kB / 334.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.005288, allocations: 8 kB / 334.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.008e-05/0.005308, allocations: 16.09 kB / 334.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.00531, allocations: 7.938 kB / 334.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.005312, allocations: 0 / 334.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.005315, allocations: 0 / 334.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/0.00562, allocations: 380 kB / 334.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.005622, allocations: 0 / 334.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.469e-05/0.005667, allocations: 11.98 kB / 334.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.877e-05/0.005736, allocations: 27.67 kB / 335 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.005743, allocations: 4.094 kB / 335 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006004/0.006343, allocations: 1.787 MB / 336.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.006345, allocations: 0 / 336.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.006522, allocations: 298.5 kB / 337.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-06/0.006528, allocations: 4 kB / 337.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-06/0.006537, allocations: 3.938 kB / 337.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.552e-05/0.006592, allocations: 8 kB / 337.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.006617, allocations: 7.984 kB / 337.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.006621, allocations: 4.062 kB / 337.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.173e-05/0.006643, allocations: 127.1 kB / 337.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006643, allocations: 0 / 337.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000239/0.006882, allocations: 12 kB / 337.2 MB, free: 11.17 MB / 266.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 6.971e-05/0.006951, allocations: 103.2 kB / 337.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002561/0.007208, allocations: 225.4 kB / 337.5 MB, free: 10.81 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.007211, allocations: 8 kB / 337.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.007356, allocations: 213.4 kB / 337.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.007567, allocations: 15.92 kB / 337.8 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.007827, allocations: 186.8 kB / 337.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.74e-05/0.007865, allocations: 67.34 kB / 338 MB, free: 10.25 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.639e-05/0.007881, allocations: 4 kB / 338 MB, free: 10.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.045e-05/0.007902, allocations: 12.5 kB / 338 MB, free: 10.23 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.007902, allocations: 4.188 kB / 338 MB, free: 10.23 MB / 266.7 MB Notification: Performance of Templates: time 0.003352/0.01125, allocations: 0.7807 MB / 338.8 MB, free: 9.516 MB / 266.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=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.3705219849944115]