Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.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.001843/0.001843, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002016/0.002016, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.553/1.553, allocations: 177.1 MB / 203.1 MB, free: 5.566 MB / 186.7 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.003305/0.003305, allocations: 424.1 kB / 260 MB, free: 12.68 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.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 329.4 MB, free: 19.67 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.289e-05, allocations: 2.312 kB / 329.4 MB, free: 19.66 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001298/0.001321, allocations: 0.5264 MB / 329.9 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001354/0.001456, allocations: 19.86 kB / 329.9 MB, free: 19.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.453e-05/0.00148, allocations: 4 kB / 329.9 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.688e-06/0.00149, allocations: 0 / 329.9 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.206e-05/0.001522, allocations: 0 / 329.9 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.316e-05/0.001605, allocations: 11.91 kB / 329.9 MB, free: 19.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.897e-05/0.001644, allocations: 19.92 kB / 330 MB, free: 19.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.139e-05/0.001676, allocations: 4 kB / 330 MB, free: 19.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.153e-05/0.001707, allocations: 15.98 kB / 330 MB, free: 19.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.112e-05/0.001758, allocations: 15.91 kB / 330 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.001773, allocations: 0 / 330 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.155e-06/0.001781, allocations: 4 kB / 330 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.001792, allocations: 0 / 330 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.496e-05/0.001807, allocations: 4 kB / 330 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 4.6e-05/0.001853, allocations: 23.84 kB / 330 MB, free: 19.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.001855, allocations: 0 / 330 MB, free: 19.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.001856, allocations: 0 / 330 MB, free: 19.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.905e-06/0.001859, allocations: 0 / 330 MB, free: 19.02 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.000266/0.002125, allocations: 356.3 kB / 330.4 MB, free: 18.63 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.606e-05/0.002151, allocations: 12.03 kB / 330.4 MB, free: 18.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.002185, allocations: 8.891 kB / 330.4 MB, free: 18.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.453e-05/0.00224, allocations: 116.6 kB / 330.5 MB, free: 18.47 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.002251, allocations: 384 / 330.5 MB, free: 18.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.002267, allocations: 4.375 kB / 330.5 MB, free: 18.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.492e-05/0.002352, allocations: 50.19 kB / 330.6 MB, free: 18.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.002363, allocations: 192 / 330.6 MB, free: 18.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.00237, allocations: 4.375 kB / 330.6 MB, free: 18.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-06/0.002373, allocations: 384 / 330.6 MB, free: 18.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.607e-05/0.002409, allocations: 15.92 kB / 330.6 MB, free: 18.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.002584, allocations: 247.8 kB / 330.8 MB, free: 18.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.409e-05/0.002669, allocations: 67.05 kB / 330.9 MB, free: 18.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.671e-05/0.002695, allocations: 23.8 kB / 330.9 MB, free: 18.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.002707, allocations: 3.984 kB / 330.9 MB, free: 18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.437e-05/0.002722, allocations: 37.39 kB / 330.9 MB, free: 17.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.002723, allocations: 0 / 330.9 MB, free: 17.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005059/0.003229, allocations: 380.1 kB / 331.3 MB, free: 17.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.72e-05/0.003246, allocations: 51.41 kB / 331.4 MB, free: 17.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.552e-05/0.003301, allocations: 165.9 kB / 331.5 MB, free: 17.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.382e-06/0.003308, allocations: 25.7 kB / 331.6 MB, free: 17.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.056e-05/0.003328, allocations: 138.9 kB / 331.7 MB, free: 17.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.003349, allocations: 27.7 kB / 331.7 MB, free: 17.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.003382, allocations: 31.36 kB / 331.8 MB, free: 17.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.745e-05/0.003429, allocations: 0.4884 MB / 332.2 MB, free: 16.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.49e-05/0.003454, allocations: 15.98 kB / 332.3 MB, free: 16.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.072e-05/0.003485, allocations: 39.25 kB / 332.3 MB, free: 16.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.003687, allocations: 99.28 kB / 332.4 MB, free: 16.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.003689, allocations: 3.938 kB / 332.4 MB, free: 16.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001342/0.003823, allocations: 105.3 kB / 332.5 MB, free: 16.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.003834, allocations: 4 kB / 332.5 MB, free: 16.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.003837, allocations: 4 kB / 332.5 MB, free: 16.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001151/0.003952, allocations: 23.67 kB / 332.5 MB, free: 16.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.288e-05/0.004005, allocations: 19.92 kB / 332.5 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006749/0.00468, allocations: 1.779 MB / 334.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.116e-05/0.004701, allocations: 4.438 kB / 334.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.004707, allocations: 4 kB / 334.3 MB, free: 14.29 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 6.932e-05/0.004776, allocations: 164.6 kB / 334.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.004801, allocations: 4 kB / 334.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.016e-05/0.004821, allocations: 16.05 kB / 334.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.004823, allocations: 4 kB / 334.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.004825, allocations: 0 / 334.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.004827, allocations: 4 kB / 334.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003032/0.00513, allocations: 388 kB / 334.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.005133, allocations: 0 / 334.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.581e-05/0.005178, allocations: 8 kB / 334.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-05/0.005249, allocations: 23.67 kB / 334.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.005257, allocations: 4 kB / 334.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005994/0.005857, allocations: 1.795 MB / 336.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.005859, allocations: 7.938 kB / 336.7 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.00603, allocations: 286.6 kB / 337 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-06/0.006038, allocations: 11.98 kB / 337 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.757e-06/0.006046, allocations: 0 / 337 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.319e-05/0.00611, allocations: 4 kB / 337 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.006134, allocations: 7.984 kB / 337 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.006139, allocations: 4 kB / 337 MB, free: 11.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.004e-05/0.006159, allocations: 123.2 kB / 337.2 MB, free: 11.22 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006159, allocations: 0 / 337.2 MB, free: 11.22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002305/0.00639, allocations: 12 kB / 337.2 MB, free: 11.21 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 6.045e-05/0.00645, allocations: 95.28 kB / 337.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000234/0.006684, allocations: 233.4 kB / 337.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.006686, allocations: 3.938 kB / 337.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.006824, allocations: 213.6 kB / 337.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.007038, allocations: 11.94 kB / 337.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002376/0.007276, allocations: 195 kB / 337.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.968e-05/0.007316, allocations: 75.52 kB / 338 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.625e-05/0.007332, allocations: 7.938 kB / 338 MB, free: 10.28 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.65e-05/0.007348, allocations: 8.5 kB / 338 MB, free: 10.27 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.007349, allocations: 0 / 338 MB, free: 10.27 MB / 266.7 MB Notification: Performance of Templates: time 0.003294/0.01064, allocations: 0.7699 MB / 338.8 MB, free: 9.559 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.339155304944143]