Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.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.001499/0.001499, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002122/0.002122, allocations: 210.7 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.571/1.571, allocations: 230.6 MB / 256 MB, free: 7.801 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.002954/0.002954, allocations: 0.5766 MB / 313 MB, free: 2.32 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.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003299/0.003299, allocations: 63.91 kB / 435.6 MB, free: 16.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1241, allocations: 53.53 MB / 489.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.002875/0.1269, allocations: 1.612 MB / 490.7 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00027/0.1272, allocations: 91.69 kB / 490.8 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.754e-05/0.1273, allocations: 4 kB / 490.8 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.969e-05/0.1273, allocations: 19.86 kB / 490.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.1274, allocations: 31.7 kB / 490.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001214/0.1276, allocations: 27.91 kB / 490.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.1277, allocations: 107.5 kB / 491 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.1278, allocations: 23.92 kB / 491 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.969e-05/0.1279, allocations: 47.84 kB / 491.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.046e-05/0.128, allocations: 39.78 kB / 491.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.128, allocations: 8 kB / 491.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.329e-05/0.128, allocations: 8 kB / 491.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.51e-05/0.1281, allocations: 19.94 kB / 491.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.158e-05/0.1281, allocations: 43.8 kB / 491.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.1283, allocations: 111.5 kB / 491.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1283, allocations: 0 / 491.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1283, allocations: 0 / 491.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1283, allocations: 0 / 491.3 MB, free: 8.582 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005238/0.1288, allocations: 318.2 kB / 491.6 MB, free: 8.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.1289, allocations: 8.031 kB / 491.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/0.1289, allocations: 20.84 kB / 491.6 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.1291, allocations: 130.4 kB / 491.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.1291, allocations: 8.562 kB / 491.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.1291, allocations: 12.33 kB / 491.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.1293, allocations: 93.97 kB / 491.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.1293, allocations: 0 / 491.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.1293, allocations: 7.938 kB / 491.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.1294, allocations: 4 kB / 491.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.1295, allocations: 51.97 kB / 491.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005117/0.13, allocations: 312.3 kB / 492.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.1302, allocations: 102.5 kB / 492.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.627e-05/0.1303, allocations: 36.84 kB / 492.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.1303, allocations: 0 / 492.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.1303, allocations: 34.56 kB / 492.4 MB, free: 7.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.1303, allocations: 0 / 492.4 MB, free: 7.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001081/0.1314, allocations: 0.535 MB / 493 MB, free: 6.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.1314, allocations: 55.41 kB / 493 MB, free: 6.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.1315, allocations: 113.8 kB / 493.1 MB, free: 6.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.1316, allocations: 33.7 kB / 493.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.293e-05/0.1316, allocations: 104 kB / 493.3 MB, free: 6.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.337e-05/0.1317, allocations: 63.47 kB / 493.3 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.848e-05/0.1317, allocations: 37.7 kB / 493.4 MB, free: 6.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1319, allocations: 314.8 kB / 493.7 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.944e-05/0.132, allocations: 39.92 kB / 493.7 MB, free: 5.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.237e-05/0.1321, allocations: 62.55 kB / 493.8 MB, free: 5.898 MB / 350.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.v = $START.mass1.v ($START.mass2.v = $START.mass1.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.a = $START.mass2.a ($START.mass1.a = $START.mass2.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005351/0.1326, allocations: 212.8 kB / 494 MB, free: 5.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1326, allocations: 0 / 494 MB, free: 5.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002343/0.1328, allocations: 151.9 kB / 494.1 MB, free: 5.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1328, allocations: 4 kB / 494.1 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1329, allocations: 0 / 494.1 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1329, allocations: 4 kB / 494.1 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.133, allocations: 31.98 kB / 494.2 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.133, allocations: 0 / 494.2 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.179e-05/0.1331, allocations: 8 kB / 494.2 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.1331, allocations: 7.938 kB / 494.2 MB, free: 5.477 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: mass1.v = $START.mass1.v mass2.a = $START.mass2.a. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001416/0.1333, allocations: 142 kB / 494.3 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.1333, allocations: 11.89 kB / 494.3 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.318e-05/0.1333, allocations: 12.78 kB / 494.3 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1333, allocations: 4 kB / 494.3 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1333, allocations: 0 / 494.3 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1333, allocations: 3.984 kB / 494.3 MB, free: 5.293 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006426/0.134, allocations: 429.3 kB / 494.8 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.134, allocations: 4.031 kB / 494.8 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.1341, allocations: 31.92 kB / 494.8 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001088/0.1342, allocations: 20.84 kB / 494.8 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.1342, allocations: 4 kB / 494.8 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.1354, allocations: 1.244 MB / 496.1 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1354, allocations: 8.188 kB / 496.1 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003845/0.1358, allocations: 302.7 kB / 496.4 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.549e-05/0.1358, allocations: 7.984 kB / 496.4 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.1358, allocations: 8.062 kB / 496.4 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.236e-05/0.1359, allocations: 4 kB / 496.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.1359, allocations: 11.97 kB / 496.4 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.1359, allocations: 8 kB / 496.4 MB, free: 3.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.848e-05/0.136, allocations: 95.53 kB / 496.5 MB, free: 2.949 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.136, allocations: 0 / 496.5 MB, free: 2.949 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.1363, allocations: 28 kB / 496.5 MB, free: 2.922 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.v) * 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 (15): * Single equations (assignments): 14 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001079/0.1364, allocations: 107.2 kB / 496.6 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002348/0.1366, allocations: 99.84 kB / 496.7 MB, free: 2.711 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1366, allocations: 0 / 496.7 MB, free: 2.711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002527/0.1369, allocations: 166.2 kB / 496.9 MB, free: 2.539 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.1372, allocations: 26.41 kB / 496.9 MB, free: 2.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006774/0.1379, allocations: 390.8 kB / 497.3 MB, free: 2.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.468e-05/0.138, allocations: 88.62 kB / 497.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.185e-05/0.138, allocations: 24.41 kB / 497.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/0.1381, allocations: 15.44 kB / 497.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1381, allocations: 0 / 497.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of Templates: time 0.004802/0.1429, allocations: 1.495 MB / 498.9 MB, free: 0.5273 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.640442872419953] Failed to read output from testmodel.py, exit status != 0: 0.15176090970635414 0.17222230700000002 0.03926136 Calling exit ...