Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.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.000662/0.000662, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008702/0.001532, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006675/0.0006675, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008467/0.001514, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.8711/0.8711, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0711/0.9422, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.002768/0.002768, allocations: 426.8 kB / 244.6 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001206/0.003974, allocations: 0.5732 MB / 245.1 MB, free: 13.77 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.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 246.4 MB, free: 12.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.243e-05/1.368e-05, allocations: 2.312 kB / 246.4 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.0008794/0.0008931, allocations: 0.5709 MB / 247 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 4.504e-05/0.0009381, allocations: 27.84 kB / 247 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.269e-05/0.0009508, allocations: 0 / 247 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.436e-06/0.0009542, allocations: 0 / 247 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.955e-06/0.0009622, allocations: 3.938 kB / 247 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.077e-05/0.001003, allocations: 11.97 kB / 247 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.257e-05/0.001046, allocations: 19.94 kB / 247.1 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.06e-05/0.001076, allocations: 3.984 kB / 247.1 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.232e-05/0.001118, allocations: 19.97 kB / 247.1 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.812e-05/0.001167, allocations: 11.92 kB / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.001182, allocations: 0 / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.96e-06/0.001187, allocations: 0 / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.0012, allocations: 4 kB / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.371e-05/0.001214, allocations: 4 kB / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 4.998e-05/0.001264, allocations: 11.92 kB / 247.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.001272, allocations: 0 / 247.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.001272, allocations: 0 / 247.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.001279, allocations: 4 kB / 247.1 MB, free: 11.78 MB / 250.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.0002402/0.001519, allocations: 244.6 kB / 247.4 MB, free: 11.52 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.473e-05/0.001544, allocations: 11.98 kB / 247.4 MB, free: 11.5 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.211e-05/0.001566, allocations: 4.938 kB / 247.4 MB, free: 11.5 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.317e-05/0.001629, allocations: 109.7 kB / 247.5 MB, free: 11.37 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.001637, allocations: 4.375 kB / 247.5 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.001655, allocations: 8.375 kB / 247.5 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.715e-05/0.001713, allocations: 42.23 kB / 247.5 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.00172, allocations: 192 / 247.5 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-06/0.001726, allocations: 4.375 kB / 247.5 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.001732, allocations: 8.375 kB / 247.5 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.346e-05/0.001755, allocations: 7.938 kB / 247.6 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001842/0.001939, allocations: 172.2 kB / 247.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.148e-05/0.001991, allocations: 30.56 kB / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.181e-05/0.002002, allocations: 8.859 kB / 247.8 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.678e-06/0.002007, allocations: 0 / 247.8 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.002028, allocations: 38.62 kB / 247.8 MB, free: 11.01 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.31e-07/0.002029, allocations: 0 / 247.8 MB, free: 11.01 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001842/0.002213, allocations: 74.48 kB / 247.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.002235, allocations: 55.41 kB / 247.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.257e-05/0.002278, allocations: 106.7 kB / 248 MB, free: 10.74 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.002285, allocations: 33.7 kB / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.404e-05/0.002309, allocations: 84.08 kB / 248.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.282e-05/0.002322, allocations: 7.906 kB / 248.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.17e-05/0.002344, allocations: 29.69 kB / 248.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 5.884e-05/0.002403, allocations: 310.8 kB / 248.5 MB, free: 10.26 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-06/0.00241, allocations: 7.938 kB / 248.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.386e-05/0.002424, allocations: 13.72 kB / 248.5 MB, free: 10.23 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.736e-05/0.002451, allocations: 33.62 kB / 248.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.002452, allocations: 4 kB / 248.5 MB, free: 10.19 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 3.953e-05/0.002492, allocations: 50 kB / 248.6 MB, free: 10.14 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.002504, allocations: 11.92 kB / 248.6 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.002507, allocations: 0 / 248.6 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.002517, allocations: 4 kB / 248.6 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.517e-05/0.002592, allocations: 16.05 kB / 248.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.002595, allocations: 3.984 kB / 248.6 MB, free: 10.1 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.091e-05/0.002606, allocations: 7.984 kB / 248.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-06/0.002608, allocations: 0 / 248.6 MB, free: 10.09 MB / 250.7 MB 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 (6): * Single equations (assignments): 6 * 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 3.821e-05/0.002647, allocations: 109.9 kB / 248.7 MB, free: 9.977 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.002659, allocations: 7.938 kB / 248.7 MB, free: 9.969 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.459e-05/0.002684, allocations: 7.688 kB / 248.8 MB, free: 9.957 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.82e-07/0.002684, allocations: 0 / 248.8 MB, free: 9.957 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.002686, allocations: 0 / 248.8 MB, free: 9.957 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.002688, allocations: 4 kB / 248.8 MB, free: 9.953 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.761e-05/0.002756, allocations: 69.84 kB / 248.8 MB, free: 9.867 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.002756, allocations: 0 / 248.8 MB, free: 9.867 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.823e-05/0.002775, allocations: 4 kB / 248.8 MB, free: 9.863 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-06/0.002779, allocations: 8.062 kB / 248.8 MB, free: 9.855 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.372e-05/0.002863, allocations: 32.7 kB / 248.9 MB, free: 9.82 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.00287, allocations: 8 kB / 248.9 MB, free: 9.812 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004431/0.003313, allocations: 1.147 MB / 250 MB, free: 8.582 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.003314, allocations: 0 / 250 MB, free: 8.582 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.313e-05/0.003397, allocations: 160.3 kB / 250.2 MB, free: 8.406 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-06/0.003401, allocations: 4.156 kB / 250.2 MB, free: 8.402 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.396e-05/0.003425, allocations: 0 / 250.2 MB, free: 8.402 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-06/0.003435, allocations: 7.984 kB / 250.2 MB, free: 8.395 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.003437, allocations: 0 / 250.2 MB, free: 8.395 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.177e-06/0.003446, allocations: 20.78 kB / 250.2 MB, free: 8.371 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003446, allocations: 0 / 250.2 MB, free: 8.371 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001158/0.003562, allocations: 4 kB / 250.2 MB, free: 8.367 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * 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 5.124e-05/0.003613, allocations: 72.42 kB / 250.3 MB, free: 8.289 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.463e-05/0.003668, allocations: 33.05 kB / 250.3 MB, free: 8.254 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.00367, allocations: 4 kB / 250.3 MB, free: 8.25 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.99e-05/0.00377, allocations: 135.4 kB / 250.5 MB, free: 8.102 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.864e-05/0.003869, allocations: 37.58 kB / 250.5 MB, free: 8.059 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001253/0.003994, allocations: 132.3 kB / 250.6 MB, free: 7.902 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.52e-05/0.004019, allocations: 59.34 kB / 250.7 MB, free: 7.824 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.115e-05/0.00403, allocations: 0 / 250.7 MB, free: 7.824 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.00406, allocations: 51.38 kB / 250.7 MB, free: 7.773 MB / 250.7 MB Notification: Performance of SimCode: time 3.41e-07/0.00406, allocations: 0 / 250.7 MB, free: 7.773 MB / 250.7 MB Notification: Performance of Templates: time 0.001941/0.006001, allocations: 0.6158 MB / 251.3 MB, free: 7.223 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.1460141697898507]