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.001289/0.001289, allocations: 73.88 kB / 20.66 MB, free: 3.848 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.001473/0.001473, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.04/1.04, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.003581/0.003581, allocations: 427.1 kB / 261.5 MB, free: 12.48 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.303e-06/1.303e-06, allocations: 3.938 kB / 331.3 MB, free: 4.121 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.119e-05, allocations: 2.312 kB / 331.3 MB, free: 4.117 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001239/0.00126, allocations: 0.5256 MB / 331.9 MB, free: 3.594 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001364/0.001397, allocations: 23.84 kB / 331.9 MB, free: 3.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.001424, allocations: 0 / 331.9 MB, free: 3.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.895e-05/0.001443, allocations: 3.938 kB / 331.9 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.364e-05/0.001476, allocations: 4 kB / 331.9 MB, free: 3.562 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001084/0.001585, allocations: 15.92 kB / 331.9 MB, free: 3.547 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.577e-05/0.00163, allocations: 11.98 kB / 331.9 MB, free: 3.535 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.001673, allocations: 8 kB / 331.9 MB, free: 3.527 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.473e-05/0.001708, allocations: 15.91 kB / 331.9 MB, free: 3.512 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.829e-05/0.001766, allocations: 7.984 kB / 331.9 MB, free: 3.504 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.001781, allocations: 0 / 331.9 MB, free: 3.504 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.204e-06/0.001788, allocations: 0 / 331.9 MB, free: 3.504 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.001806, allocations: 8 kB / 332 MB, free: 3.496 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.677e-05/0.001822, allocations: 11.94 kB / 332 MB, free: 3.484 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.204e-05/0.001874, allocations: 11.95 kB / 332 MB, free: 3.473 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.001876, allocations: 8 kB / 332 MB, free: 3.465 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.001877, allocations: 0 / 332 MB, free: 3.465 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.001881, allocations: 0 / 332 MB, free: 3.465 MB / 298.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.0002849/0.002165, allocations: 356.7 kB / 332.3 MB, free: 3.078 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.002201, allocations: 8.031 kB / 332.3 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.653e-05/0.002228, allocations: 4.938 kB / 332.3 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.518e-05/0.002313, allocations: 116.6 kB / 332.5 MB, free: 2.926 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.002325, allocations: 384 / 332.5 MB, free: 2.926 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.002344, allocations: 12.3 kB / 332.5 MB, free: 2.914 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.716e-05/0.002421, allocations: 46.23 kB / 332.5 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.002433, allocations: 8.141 kB / 332.5 MB, free: 2.855 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.002439, allocations: 384 / 332.5 MB, free: 2.855 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.002446, allocations: 4.359 kB / 332.5 MB, free: 2.852 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.164e-05/0.002468, allocations: 11.94 kB / 332.5 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.002683, allocations: 228.4 kB / 332.8 MB, free: 2.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.711e-05/0.00277, allocations: 58.97 kB / 332.8 MB, free: 2.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.329e-05/0.002793, allocations: 19.86 kB / 332.8 MB, free: 2.496 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.0028, allocations: 4 kB / 332.8 MB, free: 2.492 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.002825, allocations: 33.39 kB / 332.9 MB, free: 2.449 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.002826, allocations: 0 / 332.9 MB, free: 2.449 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004946/0.003321, allocations: 359.7 kB / 333.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.003351, allocations: 51.41 kB / 333.3 MB, free: 1.969 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.755e-05/0.003419, allocations: 161.9 kB / 333.4 MB, free: 1.793 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.00343, allocations: 25.7 kB / 333.5 MB, free: 1.762 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.944e-05/0.003469, allocations: 134.8 kB / 333.6 MB, free: 1.625 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.0035, allocations: 27.73 kB / 333.6 MB, free: 1.598 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.003531, allocations: 31.36 kB / 333.7 MB, free: 1.559 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.003653, allocations: 0.4884 MB / 334.1 MB, free: 1.059 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/0.003666, allocations: 7.984 kB / 334.1 MB, free: 1.051 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.865e-05/0.003695, allocations: 39.3 kB / 334.2 MB, free: 1 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.003795, allocations: 63.34 kB / 334.2 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.003796, allocations: 4 kB / 334.3 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001102/0.003906, allocations: 98 kB / 334.3 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.003916, allocations: 4 kB / 334.4 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.00392, allocations: 0 / 334.4 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.303e-05/0.004014, allocations: 23.67 kB / 334.4 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.843e-05/0.004052, allocations: 11.94 kB / 334.4 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007969/0.004849, allocations: 1.733 MB / 336.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.004868, allocations: 8 kB / 336.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-06/0.004871, allocations: 0 / 336.1 MB, free: 14.92 MB / 314.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.135e-05/0.004963, allocations: 156.6 kB / 336.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.004986, allocations: 11.95 kB / 336.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.668e-05/0.005002, allocations: 12.11 kB / 336.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.005004, allocations: 0 / 336.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.005007, allocations: 7.969 kB / 336.3 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.00501, allocations: 0 / 336.3 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002983/0.005308, allocations: 356.6 kB / 336.7 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.005311, allocations: 0 / 336.7 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.005347, allocations: 8 kB / 336.7 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-05/0.005414, allocations: 27.61 kB / 336.7 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.00542, allocations: 0 / 336.7 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007641/0.006184, allocations: 1.733 MB / 338.4 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.006187, allocations: 4 kB / 338.4 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.006397, allocations: 282.5 kB / 338.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-06/0.006405, allocations: 7.953 kB / 338.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-06/0.006413, allocations: 0 / 338.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.294e-05/0.006446, allocations: 11.88 kB / 338.7 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.006464, allocations: 7.984 kB / 338.7 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.006469, allocations: 4 kB / 338.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.539e-05/0.006504, allocations: 127.2 kB / 338.9 MB, free: 11.97 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006504, allocations: 4 kB / 338.9 MB, free: 11.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001689/0.006673, allocations: 12 kB / 338.9 MB, free: 11.95 MB / 314.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 8.48e-05/0.006758, allocations: 95.19 kB / 339 MB, free: 11.85 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.006977, allocations: 217.4 kB / 339.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.00698, allocations: 4 kB / 339.2 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.007089, allocations: 205.6 kB / 339.4 MB, free: 11.39 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.007241, allocations: 11.98 kB / 339.4 MB, free: 11.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002235/0.007465, allocations: 181.6 kB / 339.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.503e-05/0.0075, allocations: 59.36 kB / 339.6 MB, free: 11.08 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.568e-05/0.007515, allocations: 3.984 kB / 339.6 MB, free: 11.08 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.506e-05/0.007551, allocations: 74.2 kB / 339.7 MB, free: 11 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.007551, allocations: 0 / 339.7 MB, free: 11 MB / 314.7 MB Notification: Performance of Templates: time 0.002343/0.009894, allocations: 0.8408 MB / 340.6 MB, free: 10.22 MB / 314.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.800630292855203]