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.001431/0.001431, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001664/0.001664, allocations: 204.8 kB / 22.24 MB, free: 5.262 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.785 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.003134/0.003134, allocations: 0.5874 MB / 313 MB, free: 2.391 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.002086/0.002086, allocations: 63.91 kB / 435.6 MB, free: 16.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1243, allocations: 53.53 MB / 489.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001795/0.1261, allocations: 0.5316 MB / 489.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001806/0.1263, allocations: 31.89 kB / 489.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.087e-05/0.1263, allocations: 0 / 489.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.542e-05/0.1263, allocations: 0 / 489.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.854e-05/0.1264, allocations: 3.938 kB / 489.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/0.1265, allocations: 0 / 489.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.273e-05/0.1265, allocations: 15.98 kB / 489.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.904e-05/0.1266, allocations: 11.98 kB / 489.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.586e-05/0.1266, allocations: 15.94 kB / 489.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.75e-05/0.1267, allocations: 15.91 kB / 489.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.1267, allocations: 0 / 489.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.1267, allocations: 0 / 489.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.79e-05/0.1268, allocations: 4 kB / 489.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.1268, allocations: 7.938 kB / 489.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.735e-05/0.1269, allocations: 11.92 kB / 489.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1269, allocations: 0 / 489.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1269, allocations: 7.938 kB / 489.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.1269, allocations: 3.938 kB / 489.8 MB, free: 10.11 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.0004344/0.1273, allocations: 266.3 kB / 490 MB, free: 9.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.1273, allocations: 11.98 kB / 490 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.1274, allocations: 4.938 kB / 490.1 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.1275, allocations: 102.5 kB / 490.2 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.1275, allocations: 4.375 kB / 490.2 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.1275, allocations: 8.375 kB / 490.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.1276, allocations: 46.23 kB / 490.2 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1277, allocations: 192 / 490.2 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1277, allocations: 3.938 kB / 490.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1277, allocations: 0 / 490.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.156e-05/0.1277, allocations: 19.92 kB / 490.2 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003163/0.128, allocations: 208.5 kB / 490.4 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.1282, allocations: 46.56 kB / 490.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.745e-05/0.1282, allocations: 20.97 kB / 490.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.1282, allocations: 0 / 490.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.1282, allocations: 38.5 kB / 490.5 MB, free: 9.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1282, allocations: 0 / 490.5 MB, free: 9.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007284/0.129, allocations: 355.9 kB / 490.9 MB, free: 8.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.129, allocations: 59.34 kB / 490.9 MB, free: 8.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.873e-05/0.1291, allocations: 105.8 kB / 491.1 MB, free: 8.641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1291, allocations: 25.7 kB / 491.1 MB, free: 8.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.806e-05/0.1292, allocations: 84.14 kB / 491.2 MB, free: 8.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.1292, allocations: 31.73 kB / 491.2 MB, free: 8.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/0.1293, allocations: 25.7 kB / 491.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1294, allocations: 318.8 kB / 491.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.501e-05/0.1294, allocations: 15.98 kB / 491.5 MB, free: 8.125 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.577e-05/0.1295, allocations: 33.7 kB / 491.6 MB, free: 8.086 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.0003144/0.1298, allocations: 89.64 kB / 491.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1298, allocations: 4 kB / 491.7 MB, free: 7.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000191/0.13, allocations: 98.41 kB / 491.8 MB, free: 7.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.13, allocations: 4 kB / 491.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.13, allocations: 0 / 491.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001357/0.1301, allocations: 20.84 kB / 491.8 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.258e-05/0.1302, allocations: 11.98 kB / 491.8 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.1313, allocations: 1.269 MB / 493.1 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.135e-05/0.1314, allocations: 0 / 493.1 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.1314, allocations: 8.062 kB / 493.1 MB, free: 6.461 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.000117/0.1315, allocations: 117 kB / 493.2 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.1315, allocations: 11.89 kB / 493.2 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.1316, allocations: 12.05 kB / 493.2 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.1316, allocations: 0 / 493.2 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1316, allocations: 0 / 493.2 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1316, allocations: 4 kB / 493.2 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004328/0.132, allocations: 309.5 kB / 493.5 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.132, allocations: 0 / 493.5 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.355e-05/0.132, allocations: 11.94 kB / 493.5 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.24e-05/0.1321, allocations: 24.84 kB / 493.6 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.1321, allocations: 0 / 493.6 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009976/0.1331, allocations: 1.265 MB / 494.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.1331, allocations: 4.031 kB / 494.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.1334, allocations: 230.9 kB / 495 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-06/0.1334, allocations: 8.094 kB / 495.1 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.1334, allocations: 8.078 kB / 495.1 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.944e-05/0.1335, allocations: 7.938 kB / 495.1 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/0.1335, allocations: 7.984 kB / 495.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.1335, allocations: 3.938 kB / 495.1 MB, free: 4.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.459e-05/0.1336, allocations: 83.28 kB / 495.2 MB, free: 4.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1336, allocations: 0 / 495.2 MB, free: 4.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.1338, allocations: 8 kB / 495.2 MB, free: 4.172 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.0001072/0.1339, allocations: 103.2 kB / 495.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003246/0.1342, allocations: 166.7 kB / 495.4 MB, free: 3.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.1342, allocations: 4 kB / 495.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.1344, allocations: 138.6 kB / 495.6 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.1347, allocations: 14.89 kB / 495.6 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.135, allocations: 180.5 kB / 495.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.221e-05/0.1351, allocations: 75.47 kB / 495.8 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.803e-05/0.1351, allocations: 0 / 495.8 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.1351, allocations: 11.44 kB / 495.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1351, allocations: 0 / 495.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of Templates: time 0.00365/0.1388, allocations: 0.7309 MB / 496.6 MB, free: 2.734 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 os._exit(0), Time elapsed: 4.621209738776088] Failed to read output from testmodel.py, exit status != 0: 0.14667646400630474 0.162182125 0.032246864 Calling exit ...