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.001389/0.001389, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001517/0.001517, allocations: 221.6 kB / 23 MB, free: 4.914 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.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.003223/0.003223, allocations: 0.583 MB / 313.8 MB, free: 2.344 MB / 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.002035/0.002035, allocations: 63.89 kB / 436.4 MB, free: 16.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1046, allocations: 53.53 MB / 489.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001958/0.1065, allocations: 0.52 MB / 490.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001843/0.1067, allocations: 23.86 kB / 490.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.748e-05/0.1067, allocations: 0 / 490.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.319e-05/0.1067, allocations: 4 kB / 490.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.715e-05/0.1068, allocations: 3.938 kB / 490.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001265/0.1069, allocations: 11.98 kB / 490.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.849e-05/0.107, allocations: 19.97 kB / 490.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.097e-05/0.107, allocations: 4 kB / 490.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.356e-05/0.1071, allocations: 8 kB / 490.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.248e-05/0.1071, allocations: 7.922 kB / 490.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.1071, allocations: 4 kB / 490.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.357e-06/0.1071, allocations: 0 / 490.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.1072, allocations: 7.938 kB / 490.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.1072, allocations: 11.98 kB / 490.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.431e-05/0.1073, allocations: 23.84 kB / 490.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1073, allocations: 0 / 490.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.1073, allocations: 0 / 490.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.1073, allocations: 0 / 490.5 MB, free: 10.14 MB / 350.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.0004242/0.1077, allocations: 254.4 kB / 490.8 MB, free: 9.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1077, allocations: 19.92 kB / 490.8 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/0.1078, allocations: 0.9375 kB / 490.8 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.1079, allocations: 106.5 kB / 490.9 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.1079, allocations: 4.375 kB / 490.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.1079, allocations: 4.375 kB / 490.9 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.1081, allocations: 50.23 kB / 491 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1081, allocations: 192 / 491 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1081, allocations: 7.938 kB / 491 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.1081, allocations: 7.938 kB / 491 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.988e-05/0.1081, allocations: 8 kB / 491 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/0.1085, allocations: 204.4 kB / 491.2 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.1086, allocations: 54.56 kB / 491.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.601e-05/0.1086, allocations: 16.98 kB / 491.3 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.1086, allocations: 0 / 491.3 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.1087, allocations: 42.5 kB / 491.3 MB, free: 9.262 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.1087, allocations: 0 / 491.3 MB, free: 9.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007161/0.1094, allocations: 359.9 kB / 491.7 MB, free: 8.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.1094, allocations: 55.39 kB / 491.7 MB, free: 8.785 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.265e-05/0.1095, allocations: 93.86 kB / 491.8 MB, free: 8.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.1095, allocations: 33.64 kB / 491.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/0.1096, allocations: 84.14 kB / 491.9 MB, free: 8.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.1096, allocations: 31.73 kB / 491.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.1096, allocations: 21.72 kB / 492 MB, free: 8.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1098, allocations: 326.8 kB / 492.3 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.976e-05/0.1098, allocations: 12 kB / 492.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.744e-05/0.1099, allocations: 33.7 kB / 492.3 MB, free: 8.121 MB / 350.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.0003323/0.1102, allocations: 97.77 kB / 492.4 MB, free: 8.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1102, allocations: 0 / 492.4 MB, free: 8.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000172/0.1104, allocations: 94.66 kB / 492.5 MB, free: 7.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1104, allocations: 4 kB / 492.5 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1104, allocations: 0 / 492.5 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001193/0.1105, allocations: 28.88 kB / 492.6 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.317e-05/0.1106, allocations: 12 kB / 492.6 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.1118, allocations: 1.257 MB / 493.8 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.382e-05/0.1118, allocations: 4 kB / 493.8 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.1118, allocations: 8.031 kB / 493.8 MB, free: 6.496 MB / 350.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.000103/0.1119, allocations: 113.8 kB / 493.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.1119, allocations: 7.891 kB / 494 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.562e-05/0.1119, allocations: 12.12 kB / 494 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.112, allocations: 7.938 kB / 494 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.112, allocations: 0 / 494 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.112, allocations: 0 / 494 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004333/0.1124, allocations: 317.5 kB / 494.3 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1124, allocations: 0 / 494.3 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.24e-05/0.1124, allocations: 15.92 kB / 494.3 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.125e-05/0.1125, allocations: 20.97 kB / 494.3 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1125, allocations: 8 kB / 494.3 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/0.1135, allocations: 1.261 MB / 495.6 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1135, allocations: 3.938 kB / 495.6 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.1138, allocations: 230.8 kB / 495.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-06/0.1138, allocations: 0 / 495.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.1138, allocations: 4 kB / 495.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.51e-05/0.1139, allocations: 0 / 495.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.332e-05/0.1139, allocations: 11.98 kB / 495.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.1139, allocations: 8 kB / 495.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.135e-05/0.114, allocations: 79.41 kB / 495.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.114, allocations: 0 / 495.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.1142, allocations: 16 kB / 495.9 MB, free: 4.203 MB / 350.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.0001/0.1143, allocations: 102 kB / 496 MB, free: 4.098 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003104/0.1146, allocations: 166.6 kB / 496.2 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1146, allocations: 0 / 496.2 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.1148, allocations: 142.8 kB / 496.3 MB, free: 3.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.115, allocations: 8 kB / 496.3 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003615/0.1154, allocations: 210.6 kB / 496.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.222e-05/0.1155, allocations: 67.34 kB / 496.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.59e-05/0.1155, allocations: 15.42 kB / 496.6 MB, free: 3.41 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1155, allocations: 0 / 496.6 MB, free: 3.41 MB / 350.1 MB Notification: Performance of Templates: time 0.002893/0.1184, allocations: 0.9457 MB / 497.6 MB, free: 2.473 MB / 350.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 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.53887231554836] Failed to read output from testmodel.py, exit status != 0: 0.12661326490342617 0.14363993900000002 0.03304691 Calling exit ...