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.001321/0.001321, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001428/0.001428, allocations: 157.2 kB / 23.01 MB, free: 4.602 MB / 14.72 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.546/1.546, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 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.002814/0.002814, allocations: 412.3 kB / 260.2 MB, free: 276 kB / 238.1 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 0.002264/0.002264, allocations: 63.91 kB / 382.8 MB, free: 5.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1107, allocations: 53.49 MB / 436.3 MB, free: 15.9 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001911/0.1126, allocations: 0.5395 MB / 436.8 MB, free: 15.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001845/0.1128, allocations: 25.78 kB / 436.8 MB, free: 15.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.523e-05/0.1129, allocations: 0 / 436.8 MB, free: 15.34 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.865e-05/0.1129, allocations: 0 / 436.8 MB, free: 15.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 3.469e-05/0.1129, allocations: 3.938 kB / 436.8 MB, free: 15.33 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/0.113, allocations: 7.984 kB / 436.8 MB, free: 15.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.604e-05/0.1131, allocations: 15.94 kB / 436.9 MB, free: 15.31 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.771e-05/0.1132, allocations: 7.984 kB / 436.9 MB, free: 15.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.968e-05/0.1132, allocations: 15.98 kB / 436.9 MB, free: 15.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.162e-05/0.1133, allocations: 11.92 kB / 436.9 MB, free: 15.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.1133, allocations: 0 / 436.9 MB, free: 15.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.768e-06/0.1133, allocations: 0 / 436.9 MB, free: 15.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.19e-05/0.1133, allocations: 8 kB / 436.9 MB, free: 15.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.1134, allocations: 3.938 kB / 436.9 MB, free: 15.26 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 8.228e-05/0.1134, allocations: 19.84 kB / 436.9 MB, free: 15.24 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1134, allocations: 7.875 kB / 436.9 MB, free: 15.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.1135, allocations: 4 kB / 436.9 MB, free: 15.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.1135, allocations: 0 / 436.9 MB, free: 15.23 MB / 414.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.0004584/0.1139, allocations: 266.3 kB / 437.2 MB, free: 14.94 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.114, allocations: 11.98 kB / 437.2 MB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.114, allocations: 4.938 kB / 437.2 MB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.1141, allocations: 106.5 kB / 437.3 MB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.1142, allocations: 4.375 kB / 437.3 MB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/0.1142, allocations: 12.33 kB / 437.3 MB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.1143, allocations: 42.25 kB / 437.4 MB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1143, allocations: 192 / 437.4 MB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.1143, allocations: 7.922 kB / 437.4 MB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1143, allocations: 0 / 437.4 MB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.091e-05/0.1144, allocations: 19.92 kB / 437.4 MB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.1147, allocations: 196.7 kB / 437.6 MB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.1149, allocations: 46.56 kB / 437.6 MB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.26e-05/0.1149, allocations: 20.97 kB / 437.7 MB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.1149, allocations: 0 / 437.7 MB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.115, allocations: 38.5 kB / 437.7 MB, free: 14.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 8.61e-07/0.115, allocations: 0 / 437.7 MB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007657/0.1157, allocations: 352.4 kB / 438 MB, free: 13.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.1158, allocations: 59.34 kB / 438.1 MB, free: 13.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.197e-05/0.1158, allocations: 105.8 kB / 438.2 MB, free: 13.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.1159, allocations: 25.7 kB / 438.2 MB, free: 13.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/0.1159, allocations: 84.14 kB / 438.3 MB, free: 13.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.116, allocations: 31.69 kB / 438.3 MB, free: 13.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.116, allocations: 25.7 kB / 438.4 MB, free: 13.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1161, allocations: 318.8 kB / 438.7 MB, free: 13.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.506e-05/0.1162, allocations: 15.98 kB / 438.7 MB, free: 13.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.76e-05/0.1162, allocations: 29.7 kB / 438.7 MB, free: 13.22 MB / 414.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.0003369/0.1165, allocations: 97.77 kB / 438.8 MB, free: 13.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1165, allocations: 4 kB / 438.8 MB, free: 13.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001858/0.1167, allocations: 98.42 kB / 438.9 MB, free: 13.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1168, allocations: 7.984 kB / 438.9 MB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.1168, allocations: 0 / 438.9 MB, free: 13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001139/0.1169, allocations: 16.86 kB / 438.9 MB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.823e-05/0.1169, allocations: 11.98 kB / 439 MB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/0.1181, allocations: 1.261 MB / 440.2 MB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.219e-05/0.1181, allocations: 7.969 kB / 440.2 MB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.1181, allocations: 4.062 kB / 440.2 MB, free: 11.59 MB / 414.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 0.0001069/0.1182, allocations: 113.8 kB / 440.3 MB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.1182, allocations: 11.89 kB / 440.4 MB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.1183, allocations: 12.11 kB / 440.4 MB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1183, allocations: 0 / 440.4 MB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1183, allocations: 0 / 440.4 MB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1183, allocations: 0 / 440.4 MB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004436/0.1187, allocations: 325.7 kB / 440.7 MB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1187, allocations: 0 / 440.7 MB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.864e-05/0.1188, allocations: 11.94 kB / 440.7 MB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.739e-05/0.1189, allocations: 24.84 kB / 440.7 MB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.1189, allocations: 0 / 440.7 MB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.1199, allocations: 1.264 MB / 442 MB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1199, allocations: 4.031 kB / 442 MB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.1202, allocations: 218.9 kB / 442.2 MB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.04e-05/0.1202, allocations: 12.05 kB / 442.2 MB, free: 9.418 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.1202, allocations: 7.984 kB / 442.2 MB, free: 9.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.166e-05/0.1202, allocations: 4 kB / 442.2 MB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.1203, allocations: 7.922 kB / 442.2 MB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.1203, allocations: 7.938 kB / 442.2 MB, free: 9.391 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.668e-05/0.1203, allocations: 83.28 kB / 442.3 MB, free: 9.309 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1203, allocations: 0 / 442.3 MB, free: 9.309 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.1206, allocations: 12 kB / 442.3 MB, free: 9.297 MB / 414.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 0.0001134/0.1207, allocations: 103.2 kB / 442.4 MB, free: 9.184 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003166/0.121, allocations: 158.7 kB / 442.6 MB, free: 9.016 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.121, allocations: 3.938 kB / 442.6 MB, free: 9.012 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.1212, allocations: 138.7 kB / 442.7 MB, free: 8.863 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.1214, allocations: 7.984 kB / 442.7 MB, free: 8.855 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/0.1218, allocations: 184.4 kB / 442.9 MB, free: 8.637 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.974e-05/0.1219, allocations: 71.53 kB / 443 MB, free: 8.547 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.806e-05/0.1219, allocations: 0 / 443 MB, free: 8.547 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.1219, allocations: 12.5 kB / 443 MB, free: 8.535 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1219, allocations: 0 / 443 MB, free: 8.535 MB / 414.1 MB Notification: Performance of Templates: time 0.00342/0.1253, allocations: 0.7367 MB / 443.7 MB, free: 7.859 MB / 414.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 -s ida -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.517109793960117] Failed to read output from testmodel.py, exit status != 0: 0.1348409689962864 0.14956878699999995 0.03304489699999994 Calling exit ...