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.001005/0.001005, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001167/0.001167, allocations: 173 kB / 23.49 MB, free: 1.059 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.9959/0.9959, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.002227/0.002227, allocations: 434.1 kB / 260.7 MB, free: 12.7 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 3.136e-06/3.136e-06, allocations: 0 / 330.1 MB, free: 19.64 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.944e-05/4.258e-05, allocations: 2.312 kB / 330.1 MB, free: 19.63 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001373/0.001415, allocations: 0.5297 MB / 330.7 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001456/0.001561, allocations: 35.77 kB / 330.7 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.921e-05/0.00159, allocations: 0 / 330.7 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.962e-05/0.00161, allocations: 3.938 kB / 330.7 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.274e-05/0.001643, allocations: 0 / 330.7 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001362/0.001779, allocations: 7.984 kB / 330.7 MB, free: 19.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.433e-05/0.001853, allocations: 15.98 kB / 330.7 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.051e-05/0.001904, allocations: 7.984 kB / 330.7 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.375e-05/0.001947, allocations: 11.94 kB / 330.7 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.055e-05/0.002018, allocations: 7.984 kB / 330.8 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.002041, allocations: 0 / 330.8 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.002052, allocations: 7.938 kB / 330.8 MB, free: 19.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.996e-05/0.002072, allocations: 3.984 kB / 330.8 MB, free: 19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.002099, allocations: 15.92 kB / 330.8 MB, free: 18.99 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.628e-05/0.002176, allocations: 7.984 kB / 330.8 MB, free: 18.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.002178, allocations: 0 / 330.8 MB, free: 18.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.00218, allocations: 0 / 330.8 MB, free: 18.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.002185, allocations: 0 / 330.8 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.0002974/0.002482, allocations: 360.4 kB / 331.1 MB, free: 18.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.002528, allocations: 15.98 kB / 331.2 MB, free: 18.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.002565, allocations: 9.234 kB / 331.2 MB, free: 18.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.281e-05/0.002638, allocations: 116.5 kB / 331.3 MB, free: 18.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.002649, allocations: 4.375 kB / 331.3 MB, free: 18.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.00267, allocations: 4.375 kB / 331.3 MB, free: 18.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.798e-05/0.002748, allocations: 46.25 kB / 331.3 MB, free: 18.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.002758, allocations: 4.172 kB / 331.3 MB, free: 18.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.002768, allocations: 8.312 kB / 331.3 MB, free: 18.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.002775, allocations: 384 / 331.3 MB, free: 18.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.296e-05/0.002808, allocations: 19.92 kB / 331.4 MB, free: 18.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002213/0.003029, allocations: 247.8 kB / 331.6 MB, free: 18.06 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.654e-05/0.003115, allocations: 55.11 kB / 331.7 MB, free: 17.99 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.549e-05/0.003141, allocations: 15.69 kB / 331.7 MB, free: 17.97 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.294e-06/0.003148, allocations: 3.938 kB / 331.7 MB, free: 17.97 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.003166, allocations: 41.38 kB / 331.7 MB, free: 17.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.003167, allocations: 0 / 331.7 MB, free: 17.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004795/0.003647, allocations: 363.8 kB / 332.1 MB, free: 17.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.774e-05/0.003664, allocations: 59.34 kB / 332.1 MB, free: 17.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.876e-05/0.003713, allocations: 157.9 kB / 332.3 MB, free: 17.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.49e-06/0.003719, allocations: 25.7 kB / 332.3 MB, free: 17.22 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.288e-05/0.003741, allocations: 134.9 kB / 332.4 MB, free: 17.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.003768, allocations: 39.67 kB / 332.5 MB, free: 17.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.003794, allocations: 23.38 kB / 332.5 MB, free: 17.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.717e-05/0.003841, allocations: 0.4923 MB / 333 MB, free: 16.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.727e-05/0.003858, allocations: 8 kB / 333 MB, free: 16.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.676e-05/0.003885, allocations: 31.36 kB / 333 MB, free: 16.46 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.0001475/0.004033, allocations: 83.92 kB / 333.1 MB, free: 16.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.004034, allocations: 4.125 kB / 333.1 MB, free: 16.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.022e-05/0.004124, allocations: 93.3 kB / 333.2 MB, free: 16.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.004137, allocations: 8 kB / 333.2 MB, free: 16.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.004142, allocations: 0 / 333.2 MB, free: 16.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001162/0.004259, allocations: 19.67 kB / 333.2 MB, free: 16.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.402e-05/0.004303, allocations: 19.98 kB / 333.3 MB, free: 16.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005327/0.004835, allocations: 1.752 MB / 335 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.48e-05/0.00485, allocations: 4 kB / 335 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.004855, allocations: 4 kB / 335 MB, free: 14.33 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.853e-05/0.004913, allocations: 160.5 kB / 335.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.004929, allocations: 8 kB / 335.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.47e-05/0.004944, allocations: 16.05 kB / 335.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.004945, allocations: 0 / 335.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.004948, allocations: 0 / 335.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.004951, allocations: 4 kB / 335.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.005195, allocations: 376 kB / 335.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.005198, allocations: 0 / 335.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.088e-05/0.005229, allocations: 12 kB / 335.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.329e-05/0.005292, allocations: 19.67 kB / 335.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.005301, allocations: 4 kB / 335.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004662/0.005768, allocations: 1.764 MB / 337.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.005769, allocations: 4 kB / 337.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.005903, allocations: 286.4 kB / 337.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-06/0.005908, allocations: 7.984 kB / 337.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.67e-06/0.005914, allocations: 4 kB / 337.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.065e-05/0.005944, allocations: 0 / 337.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.891e-05/0.005963, allocations: 15.92 kB / 337.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.005967, allocations: 4 kB / 337.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.401e-05/0.005981, allocations: 119.2 kB / 337.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005981, allocations: 0 / 337.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001598/0.006141, allocations: 20.06 kB / 337.8 MB, free: 11.3 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 5.967e-05/0.0062, allocations: 95.19 kB / 337.9 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000176/0.006376, allocations: 229.4 kB / 338.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.006378, allocations: 0 / 338.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.265e-05/0.006461, allocations: 205.4 kB / 338.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.006601, allocations: 11.94 kB / 338.3 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002073/0.006808, allocations: 187.4 kB / 338.5 MB, free: 10.49 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.817e-05/0.006837, allocations: 59.34 kB / 338.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.42e-05/0.006851, allocations: 4 kB / 338.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.823e-05/0.006869, allocations: 12.5 kB / 338.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of SimCode: time 1.153e-06/0.00687, allocations: 0 / 338.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of Templates: time 0.002448/0.009318, allocations: 0.7777 MB / 339.4 MB, free: 9.688 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: 2.720167292980477]