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.000959/0.000959, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.001635/0.001635, allocations: 177 kB / 23.36 MB, free: 1.133 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.054/1.054, allocations: 177.1 MB / 203.8 MB, free: 5.453 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.002179/0.002179, allocations: 434.8 kB / 260.7 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.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.553e-06/1.553e-06, allocations: 0 / 277.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.465e-05/1.62e-05, allocations: 5.688 kB / 277.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.001121/0.001138, allocations: 0.5683 MB / 277.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004117/0.001549, allocations: 27.84 kB / 277.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.192e-05/0.001571, allocations: 0 / 277.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.256e-05/0.001584, allocations: 4 kB / 277.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.851e-05/0.001612, allocations: 0 / 277.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001018/0.001714, allocations: 11.97 kB / 278 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.02e-05/0.001764, allocations: 23.86 kB / 278 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.691e-05/0.001801, allocations: 0 / 278 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.901e-05/0.00184, allocations: 7.984 kB / 278 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.235e-05/0.001903, allocations: 11.98 kB / 278 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.00192, allocations: 0 / 278 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.005e-06/0.001928, allocations: 4 kB / 278 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.001944, allocations: 7.922 kB / 278 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.374e-05/0.001958, allocations: 4 kB / 278 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.116e-05/0.002009, allocations: 15.97 kB / 278 MB, free: 11.13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.002011, allocations: 0 / 278 MB, free: 11.13 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.002012, allocations: 0 / 278 MB, free: 11.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.936e-06/0.002015, allocations: 0 / 278 MB, free: 11.13 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.0002186/0.002233, allocations: 232.9 kB / 278.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.743e-05/0.002261, allocations: 8.031 kB / 278.3 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.328e-05/0.002284, allocations: 8.922 kB / 278.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.67e-05/0.002351, allocations: 109.8 kB / 278.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.00236, allocations: 4.375 kB / 278.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.002377, allocations: 4.375 kB / 278.4 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.884e-05/0.002436, allocations: 50.19 kB / 278.4 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.002444, allocations: 4.188 kB / 278.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.661e-06/0.002449, allocations: 384 / 278.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.002453, allocations: 384 / 278.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.1e-05/0.002474, allocations: 19.86 kB / 278.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002025/0.002677, allocations: 164.2 kB / 278.6 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.885e-05/0.002735, allocations: 38.56 kB / 278.7 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.519e-05/0.002751, allocations: 8.859 kB / 278.7 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/0.002759, allocations: 4 kB / 278.7 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.00278, allocations: 30.56 kB / 278.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.002781, allocations: 4 kB / 278.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002229/0.003004, allocations: 78.67 kB / 278.8 MB, free: 10.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.003027, allocations: 55.41 kB / 278.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.607e-05/0.003073, allocations: 106.7 kB / 278.9 MB, free: 10.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.003081, allocations: 25.7 kB / 279 MB, free: 10.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.467e-05/0.003106, allocations: 84.12 kB / 279.1 MB, free: 9.977 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.003125, allocations: 19.84 kB / 279.1 MB, free: 9.957 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.072e-05/0.003146, allocations: 17.7 kB / 279.1 MB, free: 9.934 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.177e-05/0.003208, allocations: 314.8 kB / 279.4 MB, free: 9.617 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.823e-06/0.003214, allocations: 8 kB / 279.4 MB, free: 9.609 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.598e-05/0.00323, allocations: 17.72 kB / 279.4 MB, free: 9.586 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.088e-05/0.003261, allocations: 29.69 kB / 279.4 MB, free: 9.551 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.003263, allocations: 3.938 kB / 279.5 MB, free: 9.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 4.578e-05/0.003309, allocations: 45.69 kB / 279.5 MB, free: 9.496 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.003323, allocations: 14.75 kB / 279.5 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.003327, allocations: 0 / 279.5 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.003336, allocations: 0 / 279.5 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.966e-05/0.003416, allocations: 19.92 kB / 279.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.003418, allocations: 4.031 kB / 279.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.287e-05/0.003431, allocations: 7.953 kB / 279.5 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-06/0.003434, allocations: 0 / 279.5 MB, free: 9.453 MB / 266.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 4.42e-05/0.003478, allocations: 109.8 kB / 279.7 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.003495, allocations: 11.92 kB / 279.7 MB, free: 9.324 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.791e-05/0.003513, allocations: 3.688 kB / 279.7 MB, free: 9.324 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.003515, allocations: 0 / 279.7 MB, free: 9.324 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.003518, allocations: 4 kB / 279.7 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.00352, allocations: 0 / 279.7 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.459e-05/0.003595, allocations: 65.91 kB / 279.7 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-07/0.003595, allocations: 4 kB / 279.7 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.94e-05/0.003615, allocations: 11.92 kB / 279.7 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.976e-05/0.003704, allocations: 16.86 kB / 279.8 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.003713, allocations: 4.125 kB / 279.8 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000518/0.004231, allocations: 1.158 MB / 280.9 MB, free: 7.953 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.004233, allocations: 8.109 kB / 280.9 MB, free: 7.945 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.077e-05/0.004324, allocations: 160.5 kB / 281.1 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-06/0.004327, allocations: 7.938 kB / 281.1 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.681e-06/0.004333, allocations: 3.984 kB / 281.1 MB, free: 7.758 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.833e-05/0.004361, allocations: 4 kB / 281.1 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.004373, allocations: 4 kB / 281.1 MB, free: 7.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.004375, allocations: 0 / 281.1 MB, free: 7.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.114e-05/0.004386, allocations: 16.83 kB / 281.1 MB, free: 7.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.004386, allocations: 0 / 281.1 MB, free: 7.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001217/0.004508, allocations: 4 kB / 281.1 MB, free: 7.727 MB / 266.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 6.16e-05/0.00457, allocations: 80.45 kB / 281.2 MB, free: 7.641 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.027e-05/0.00462, allocations: 20.8 kB / 281.2 MB, free: 7.617 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.004622, allocations: 4 kB / 281.2 MB, free: 7.613 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.004773, allocations: 127.4 kB / 281.4 MB, free: 7.473 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001029/0.004876, allocations: 11.94 kB / 281.4 MB, free: 7.461 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001615/0.005037, allocations: 136.5 kB / 281.5 MB, free: 7.301 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.904e-05/0.005066, allocations: 55.36 kB / 281.6 MB, free: 7.227 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.639e-05/0.005083, allocations: 8.047 kB / 281.6 MB, free: 7.219 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.005114, allocations: 55.31 kB / 281.6 MB, free: 7.164 MB / 266.7 MB Notification: Performance of SimCode: time 4.5e-07/0.005114, allocations: 0 / 281.6 MB, free: 7.164 MB / 266.7 MB Notification: Performance of Templates: time 0.002617/0.007732, allocations: 0.5933 MB / 282.2 MB, free: 6.633 MB / 266.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.579101412091404]