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.001105/0.001105, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001662/0.001662, allocations: 173 kB / 23.49 MB, free: 1.055 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.028/1.028, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.002266/0.002266, allocations: 424.2 kB / 260.7 MB, free: 12.7 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 2.024e-06/2.024e-06, allocations: 0 / 330.1 MB, free: 19.65 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.486e-05/3.689e-05, allocations: 2.312 kB / 330.1 MB, free: 19.64 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001563/0.0016, allocations: 0.5179 MB / 330.6 MB, free: 19.13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001756/0.001776, allocations: 35.77 kB / 330.7 MB, free: 19.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.254e-05/0.001808, allocations: 4 kB / 330.7 MB, free: 19.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.93e-05/0.001828, allocations: 3.938 kB / 330.7 MB, free: 19.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.426e-05/0.001862, allocations: 0 / 330.7 MB, free: 19.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001416/0.002004, allocations: 7.984 kB / 330.7 MB, free: 19.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.183e-05/0.002075, allocations: 8 kB / 330.7 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.281e-05/0.002138, allocations: 11.98 kB / 330.7 MB, free: 19.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.965e-05/0.002188, allocations: 11.92 kB / 330.7 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.171e-05/0.00227, allocations: 7.984 kB / 330.7 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.002297, allocations: 0 / 330.7 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.134e-05/0.002308, allocations: 4 kB / 330.7 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.694e-05/0.002335, allocations: 8 kB / 330.7 MB, free: 19.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.028e-05/0.002365, allocations: 15.91 kB / 330.8 MB, free: 19.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.005e-05/0.002445, allocations: 7.984 kB / 330.8 MB, free: 19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.002448, allocations: 0 / 330.8 MB, free: 19 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.002449, allocations: 0 / 330.8 MB, free: 19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.002457, allocations: 0 / 330.8 MB, free: 19 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.0004052/0.002862, allocations: 356.4 kB / 331.1 MB, free: 18.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.002921, allocations: 12.03 kB / 331.1 MB, free: 18.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.002966, allocations: 9.172 kB / 331.1 MB, free: 18.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.393e-05/0.00305, allocations: 116.5 kB / 331.2 MB, free: 18.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.003065, allocations: 384 / 331.2 MB, free: 18.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.00309, allocations: 12.38 kB / 331.3 MB, free: 18.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.786e-05/0.003188, allocations: 42.25 kB / 331.3 MB, free: 18.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.0032, allocations: 192 / 331.3 MB, free: 18.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.00321, allocations: 384 / 331.3 MB, free: 18.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.003221, allocations: 4.375 kB / 331.3 MB, free: 18.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.019e-05/0.003261, allocations: 11.92 kB / 331.3 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.00352, allocations: 255.7 kB / 331.6 MB, free: 18.1 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.003634, allocations: 59.11 kB / 331.6 MB, free: 18.03 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.149e-05/0.003665, allocations: 15.69 kB / 331.6 MB, free: 18.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.003674, allocations: 4 kB / 331.6 MB, free: 18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.003692, allocations: 33.52 kB / 331.7 MB, free: 17.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.003693, allocations: 0 / 331.7 MB, free: 17.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006576/0.004351, allocations: 375.7 kB / 332 MB, free: 17.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.004374, allocations: 55.34 kB / 332.1 MB, free: 17.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.923e-05/0.004433, allocations: 161.9 kB / 332.3 MB, free: 17.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.745e-06/0.004441, allocations: 25.7 kB / 332.3 MB, free: 17.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.304e-05/0.004464, allocations: 130.9 kB / 332.4 MB, free: 17.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.004496, allocations: 35.69 kB / 332.4 MB, free: 17.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.004534, allocations: 31.38 kB / 332.5 MB, free: 17.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.501e-05/0.004589, allocations: 0.4884 MB / 333 MB, free: 16.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.19e-05/0.00461, allocations: 8 kB / 333 MB, free: 16.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.641e-05/0.004647, allocations: 35.36 kB / 333 MB, free: 16.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.004807, allocations: 79.47 kB / 333.1 MB, free: 16.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.00481, allocations: 3.938 kB / 333.1 MB, free: 16.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001487/0.004959, allocations: 94.17 kB / 333.2 MB, free: 16.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.004975, allocations: 4 kB / 333.2 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.00498, allocations: 0 / 333.2 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001652/0.005145, allocations: 31.67 kB / 333.2 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.029e-05/0.005215, allocations: 8 kB / 333.2 MB, free: 16.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007658/0.005981, allocations: 1.756 MB / 335 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/0.006, allocations: 4 kB / 335 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.006006, allocations: 4 kB / 335 MB, free: 14.37 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 9.143e-05/0.006097, allocations: 159.7 kB / 335.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.006127, allocations: 12.02 kB / 335.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.214e-05/0.00615, allocations: 12.06 kB / 335.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.006153, allocations: 4 kB / 335.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.006156, allocations: 0 / 335.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.006161, allocations: 3.984 kB / 335.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003442/0.006505, allocations: 383.9 kB / 335.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.006509, allocations: 0 / 335.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.934e-05/0.006558, allocations: 8 kB / 335.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.279e-05/0.006641, allocations: 27.77 kB / 335.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.00665, allocations: 0 / 335.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005855/0.007235, allocations: 1.755 MB / 337.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.007237, allocations: 0 / 337.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.007405, allocations: 286.4 kB / 337.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-06/0.007412, allocations: 4.203 kB / 337.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.007425, allocations: 11.97 kB / 337.6 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.592e-05/0.007481, allocations: 4 kB / 337.6 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-05/0.007505, allocations: 12.05 kB / 337.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.007509, allocations: 4 kB / 337.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.215e-05/0.007532, allocations: 123.2 kB / 337.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007532, allocations: 0 / 337.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002599/0.007792, allocations: 12 kB / 337.8 MB, free: 11.34 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 9.465e-05/0.007886, allocations: 99.12 kB / 337.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002802/0.008166, allocations: 233.4 kB / 338.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.008168, allocations: 4 kB / 338.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.008278, allocations: 201.5 kB / 338.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.008518, allocations: 11.94 kB / 338.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.008839, allocations: 187.1 kB / 338.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.674e-05/0.008875, allocations: 63.34 kB / 338.6 MB, free: 10.44 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.313e-05/0.008898, allocations: 0 / 338.6 MB, free: 10.44 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/0.008923, allocations: 12.5 kB / 338.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of SimCode: time 9.32e-07/0.008924, allocations: 4.188 kB / 338.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of Templates: time 0.003108/0.01203, allocations: 0.7673 MB / 339.4 MB, free: 9.715 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: 2.7411015080288053]