Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.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.001199/0.001199, allocations: 82.05 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001383/0.001383, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.033/1.033, allocations: 177.2 MB / 203.7 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] 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.002126/0.002126, allocations: 420 kB / 260.7 MB, free: 12.5 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.TwoMassesEquationsFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 330.6 MB, free: 19.05 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.491e-05/3.726e-05, allocations: 4.562 kB / 330.6 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001131/0.001168, allocations: 0.5264 MB / 331.1 MB, free: 18.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001677/0.001336, allocations: 27.83 kB / 331.1 MB, free: 18.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.944e-05/0.001365, allocations: 4 kB / 331.1 MB, free: 18.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.001382, allocations: 0 / 331.1 MB, free: 18.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.284e-05/0.001415, allocations: 3.938 kB / 331.1 MB, free: 18.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001099/0.001525, allocations: 7.984 kB / 331.1 MB, free: 18.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.463e-05/0.001569, allocations: 19.91 kB / 331.1 MB, free: 18.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/0.001608, allocations: 8 kB / 331.2 MB, free: 18.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.069e-05/0.001649, allocations: 11.98 kB / 331.2 MB, free: 18.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.365e-05/0.001712, allocations: 7.984 kB / 331.2 MB, free: 18.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.00173, allocations: 4 kB / 331.2 MB, free: 18.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-06/0.001737, allocations: 0 / 331.2 MB, free: 18.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.001754, allocations: 7.922 kB / 331.2 MB, free: 18.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.926e-05/0.001773, allocations: 11.98 kB / 331.2 MB, free: 18.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.585e-05/0.001829, allocations: 7.984 kB / 331.2 MB, free: 18.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.001831, allocations: 0 / 331.2 MB, free: 18.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.001832, allocations: 0 / 331.2 MB, free: 18.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.001836, allocations: 0 / 331.2 MB, free: 18.4 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.0002661/0.002102, allocations: 364.3 kB / 331.6 MB, free: 18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.002144, allocations: 8.031 kB / 331.6 MB, free: 18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.002172, allocations: 9.234 kB / 331.6 MB, free: 17.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.767e-05/0.002229, allocations: 116.5 kB / 331.7 MB, free: 17.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.002241, allocations: 8.375 kB / 331.7 MB, free: 17.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.002258, allocations: 4.375 kB / 331.7 MB, free: 17.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.387e-05/0.002322, allocations: 38.25 kB / 331.7 MB, free: 17.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.002332, allocations: 4.188 kB / 331.7 MB, free: 17.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.002338, allocations: 384 / 331.7 MB, free: 17.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.002345, allocations: 384 / 331.7 MB, free: 17.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.922e-05/0.002364, allocations: 15.92 kB / 331.8 MB, free: 17.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000176/0.00254, allocations: 244.3 kB / 332 MB, free: 17.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.703e-05/0.002607, allocations: 51.03 kB / 332.1 MB, free: 17.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.613e-05/0.002623, allocations: 15.88 kB / 332.1 MB, free: 17.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.612e-06/0.00263, allocations: 7.984 kB / 332.1 MB, free: 17.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.002647, allocations: 37.38 kB / 332.1 MB, free: 17.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.002648, allocations: 0 / 332.1 MB, free: 17.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004049/0.003053, allocations: 356.1 kB / 332.5 MB, free: 16.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.856e-05/0.003071, allocations: 55.41 kB / 332.5 MB, free: 16.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.928e-05/0.00312, allocations: 153.9 kB / 332.7 MB, free: 16.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.003127, allocations: 25.7 kB / 332.7 MB, free: 16.69 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.722e-05/0.003155, allocations: 130.9 kB / 332.8 MB, free: 16.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.003183, allocations: 31.73 kB / 332.8 MB, free: 16.53 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.003209, allocations: 31.31 kB / 332.9 MB, free: 16.49 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.734e-05/0.003266, allocations: 0.4884 MB / 333.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.128e-05/0.003278, allocations: 8 kB / 333.4 MB, free: 15.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.454e-05/0.003302, allocations: 31.36 kB / 333.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.003426, allocations: 79.52 kB / 333.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.003427, allocations: 4 kB / 333.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.435e-05/0.003502, allocations: 73.56 kB / 333.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.003515, allocations: 4 kB / 333.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.003522, allocations: 4 kB / 333.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.003539, allocations: 0 / 333.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.432e-05/0.003613, allocations: 23.92 kB / 333.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.003617, allocations: 0 / 333.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.344e-05/0.00363, allocations: 0 / 333.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.003635, allocations: 4 kB / 333.6 MB, free: 15.74 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: $DER.v1 = 0.0 $DER.x1 = 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 (10): * Single equations (assignments): 10 * 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.0001001/0.003735, allocations: 164.6 kB / 333.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.003751, allocations: 7.891 kB / 333.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/0.003799, allocations: 12.12 kB / 333.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.003802, allocations: 0 / 333.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.003806, allocations: 0 / 333.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.00381, allocations: 7.922 kB / 333.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.004136, allocations: 352.6 kB / 334.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.004139, allocations: 3.984 kB / 334.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.223e-05/0.004182, allocations: 8 kB / 334.1 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001157/0.004297, allocations: 32.02 kB / 334.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.004305, allocations: 4 kB / 334.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005802/0.004885, allocations: 1.733 MB / 335.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.004887, allocations: 4 kB / 335.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.00501, allocations: 278.5 kB / 336.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-06/0.005016, allocations: 7.953 kB / 336.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.592e-06/0.005022, allocations: 4.062 kB / 336.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.149e-05/0.005054, allocations: 0 / 336.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.639e-05/0.00507, allocations: 11.98 kB / 336.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.005075, allocations: 4 kB / 336.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.716e-05/0.005092, allocations: 123.2 kB / 336.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005092, allocations: 0 / 336.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001497/0.005242, allocations: 8 kB / 336.3 MB, free: 12.77 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 7.148e-05/0.005313, allocations: 103.2 kB / 336.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.387e-05/0.005397, allocations: 47.61 kB / 336.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.005399, allocations: 0 / 336.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.005536, allocations: 209.4 kB / 336.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.005696, allocations: 7.938 kB / 336.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001776/0.005873, allocations: 175.2 kB / 336.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.807e-05/0.005901, allocations: 64 kB / 336.9 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.158e-05/0.005923, allocations: 3.938 kB / 336.9 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.005956, allocations: 74.2 kB / 337 MB, free: 12 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.005957, allocations: 4.188 kB / 337 MB, free: 12 MB / 266.7 MB Notification: Performance of Templates: time 0.002322/0.008279, allocations: 0.6962 MB / 337.7 MB, free: 11.36 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8047859286889434]