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.001029/0.001029, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001203/0.001203, allocations: 177 kB / 23.36 MB, free: 1.133 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.112/1.112, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.002504/0.002504, allocations: 428.2 kB / 260.7 MB, free: 12.52 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 2.605e-06/2.605e-06, allocations: 0 / 277.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.163e-05/4.423e-05, allocations: 2.312 kB / 277.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.002899/0.002943, allocations: 0.5474 MB / 277.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003254/0.003269, allocations: 27.83 kB / 277.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.695e-05/0.003316, allocations: 0 / 277.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.495e-05/0.003341, allocations: 0 / 277.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.719e-05/0.003398, allocations: 3.938 kB / 277.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.003604, allocations: 15.98 kB / 277.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.143e-05/0.003695, allocations: 11.94 kB / 277.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.698e-05/0.003762, allocations: 7.969 kB / 277.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.406e-05/0.003836, allocations: 12 kB / 277.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.003954, allocations: 7.984 kB / 277.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.569e-05/0.00399, allocations: 0 / 277.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.36e-05/0.004004, allocations: 0 / 277.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/0.004043, allocations: 15.91 kB / 278 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.004072, allocations: 4 kB / 278 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.004177, allocations: 7.984 kB / 278 MB, free: 11.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.004182, allocations: 4 kB / 278 MB, free: 11.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.004183, allocations: 0 / 278 MB, free: 11.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.00419, allocations: 4 kB / 278 MB, free: 11.22 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.0005199/0.00471, allocations: 236.9 kB / 278.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.464e-05/0.004794, allocations: 11.98 kB / 278.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.955e-05/0.004854, allocations: 8.922 kB / 278.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.00501, allocations: 109.7 kB / 278.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.005033, allocations: 4.375 kB / 278.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.338e-05/0.005077, allocations: 4.375 kB / 278.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.005212, allocations: 42.25 kB / 278.4 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.005228, allocations: 4.188 kB / 278.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.005243, allocations: 4.359 kB / 278.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.005252, allocations: 384 / 278.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.525e-05/0.005297, allocations: 15.92 kB / 278.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.005701, allocations: 156.3 kB / 278.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.005876, allocations: 42.44 kB / 278.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.005916, allocations: 17.05 kB / 278.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.005928, allocations: 0 / 278.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.00597, allocations: 34.56 kB / 278.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.044e-06/0.005972, allocations: 0 / 278.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009636/0.006936, allocations: 347.9 kB / 279 MB, free: 10.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.006989, allocations: 55.41 kB / 279 MB, free: 9.988 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.007097, allocations: 110.7 kB / 279.2 MB, free: 9.867 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.007117, allocations: 29.7 kB / 279.2 MB, free: 9.832 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.007157, allocations: 80.14 kB / 279.3 MB, free: 9.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.624e-05/0.007213, allocations: 27.8 kB / 279.3 MB, free: 9.723 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.954e-05/0.007262, allocations: 29.7 kB / 279.3 MB, free: 9.688 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.00739, allocations: 314.8 kB / 279.6 MB, free: 9.371 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.259e-05/0.007412, allocations: 15.92 kB / 279.6 MB, free: 9.355 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.712e-05/0.00745, allocations: 21.72 kB / 279.7 MB, free: 9.328 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.0002288/0.007678, allocations: 61.77 kB / 279.7 MB, free: 9.262 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.00768, allocations: 0 / 279.7 MB, free: 9.262 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001729/0.007853, allocations: 79.22 kB / 279.8 MB, free: 9.176 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.007882, allocations: 13.66 kB / 279.8 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.007892, allocations: 0 / 279.8 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001927/0.008084, allocations: 20.84 kB / 279.8 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.578e-05/0.00816, allocations: 12 kB / 279.8 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.009319, allocations: 1.178 MB / 281 MB, free: 7.863 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.716e-05/0.009346, allocations: 0 / 281 MB, free: 7.863 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.009355, allocations: 4 kB / 281 MB, free: 7.859 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 0.0001292/0.009484, allocations: 125.7 kB / 281.2 MB, free: 7.727 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.009512, allocations: 4.031 kB / 281.2 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.91e-05/0.009551, allocations: 12.12 kB / 281.2 MB, free: 7.711 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.009555, allocations: 0 / 281.2 MB, free: 7.711 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.009561, allocations: 0 / 281.2 MB, free: 7.711 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.009569, allocations: 3.938 kB / 281.2 MB, free: 7.707 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004549/0.01002, allocations: 262 kB / 281.4 MB, free: 7.414 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.01003, allocations: 3.938 kB / 281.4 MB, free: 7.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.751e-05/0.0101, allocations: 11.94 kB / 281.4 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001093/0.01021, allocations: 28.94 kB / 281.5 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.01022, allocations: 0 / 281.5 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009452/0.01116, allocations: 1.174 MB / 282.6 MB, free: 6.105 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.01117, allocations: 4.062 kB / 282.6 MB, free: 6.102 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.0114, allocations: 202.9 kB / 282.8 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.535e-05/0.01141, allocations: 7.938 kB / 282.9 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.01143, allocations: 4 kB / 282.9 MB, free: 5.863 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.484e-05/0.0115, allocations: 64 / 282.9 MB, free: 5.863 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.01153, allocations: 19.92 kB / 282.9 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.964e-06/0.01154, allocations: 4 kB / 282.9 MB, free: 5.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.891e-05/0.01156, allocations: 4.859 kB / 282.9 MB, free: 5.832 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01156, allocations: 0 / 282.9 MB, free: 5.832 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002721/0.01183, allocations: 16 kB / 282.9 MB, free: 5.816 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 0.0001432/0.01197, allocations: 76.36 kB / 283 MB, free: 5.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003293/0.0123, allocations: 167.3 kB / 283.1 MB, free: 5.551 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.01231, allocations: 11.94 kB / 283.2 MB, free: 5.539 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.01252, allocations: 143.4 kB / 283.3 MB, free: 5.383 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.01272, allocations: 4 kB / 283.3 MB, free: 5.379 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.01314, allocations: 170.9 kB / 283.5 MB, free: 5.176 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.983e-05/0.01322, allocations: 59.34 kB / 283.5 MB, free: 5.098 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.285e-05/0.01325, allocations: 4 kB / 283.5 MB, free: 5.094 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.0133, allocations: 51.38 kB / 283.6 MB, free: 5.043 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.0133, allocations: 4.188 kB / 283.6 MB, free: 5.039 MB / 266.7 MB Notification: Performance of Templates: time 0.004214/0.01752, allocations: 0.8158 MB / 284.4 MB, free: 4.289 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.934433124959469]