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.001328/0.001328, allocations: 80.88 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.001532/0.001532, allocations: 181 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.011/1.011, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.002845/0.002845, allocations: 431.2 kB / 260.7 MB, free: 12.51 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.683e-06/1.683e-06, allocations: 0 / 277.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.522e-05, allocations: 2.312 kB / 277.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001324/0.00135, allocations: 0.5683 MB / 277.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001168/0.001466, allocations: 27.83 kB / 277.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.788e-05/0.001484, allocations: 4 kB / 277.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.646e-06/0.001493, allocations: 4 kB / 278 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.05e-05/0.001513, allocations: 0 / 278 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.166e-05/0.001585, allocations: 4 kB / 278 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.074e-05/0.001626, allocations: 23.84 kB / 278 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.232e-05/0.001658, allocations: 7.984 kB / 278 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.275e-05/0.001691, allocations: 8 kB / 278 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.979e-05/0.001741, allocations: 7.984 kB / 278 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.001752, allocations: 0 / 278 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.717e-06/0.001761, allocations: 4 kB / 278 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.001773, allocations: 11.92 kB / 278 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.436e-05/0.001788, allocations: 11.98 kB / 278 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 4.061e-05/0.001828, allocations: 7.984 kB / 278 MB, free: 11.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.00183, allocations: 0 / 278 MB, free: 11.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.001831, allocations: 0 / 278 MB, free: 11.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.886e-06/0.001834, allocations: 0 / 278 MB, free: 11.16 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.0002317/0.002066, allocations: 236.9 kB / 278.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.002103, allocations: 12.03 kB / 278.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.325e-05/0.002127, allocations: 4.922 kB / 278.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.73e-05/0.002194, allocations: 109.7 kB / 278.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.002204, allocations: 4.375 kB / 278.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.002218, allocations: 8.375 kB / 278.4 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.992e-05/0.002288, allocations: 46.19 kB / 278.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.002296, allocations: 192 / 278.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-06/0.002302, allocations: 384 / 278.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.002307, allocations: 384 / 278.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.701e-05/0.002334, allocations: 19.92 kB / 278.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.002494, allocations: 148.3 kB / 278.6 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.456e-05/0.002568, allocations: 42.53 kB / 278.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.077e-05/0.002589, allocations: 24.97 kB / 278.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.782e-06/0.002596, allocations: 4 kB / 278.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.002616, allocations: 34.56 kB / 278.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.002617, allocations: 0 / 278.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004607/0.003078, allocations: 339.8 kB / 279 MB, free: 9.992 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.003103, allocations: 55.41 kB / 279.1 MB, free: 9.926 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.911e-05/0.003152, allocations: 102.7 kB / 279.2 MB, free: 9.812 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.003163, allocations: 29.7 kB / 279.2 MB, free: 9.777 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.272e-05/0.003186, allocations: 88.12 kB / 279.3 MB, free: 9.688 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.003212, allocations: 27.8 kB / 279.3 MB, free: 9.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.003245, allocations: 25.7 kB / 279.4 MB, free: 9.629 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.486e-05/0.00332, allocations: 314.8 kB / 279.7 MB, free: 9.312 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.017e-05/0.00333, allocations: 8 kB / 279.7 MB, free: 9.305 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.405e-05/0.003354, allocations: 29.64 kB / 279.7 MB, free: 9.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.529e-05/0.003449, allocations: 62.48 kB / 279.8 MB, free: 9.203 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.00345, allocations: 0 / 279.8 MB, free: 9.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.115e-05/0.003541, allocations: 82.39 kB / 279.9 MB, free: 9.113 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.003553, allocations: 8 kB / 279.9 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.003557, allocations: 4 kB / 279.9 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.493e-05/0.003652, allocations: 16.91 kB / 279.9 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.035e-05/0.003692, allocations: 19.94 kB / 279.9 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006794/0.004372, allocations: 1.182 MB / 281.1 MB, free: 7.797 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.081e-05/0.004383, allocations: 0 / 281.1 MB, free: 7.797 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.004387, allocations: 4 kB / 281.1 MB, free: 7.793 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 6.988e-05/0.004457, allocations: 117.8 kB / 281.2 MB, free: 7.668 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.746e-05/0.004475, allocations: 7.984 kB / 281.2 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.621e-05/0.004491, allocations: 8.125 kB / 281.2 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.004492, allocations: 0 / 281.2 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.004496, allocations: 7.938 kB / 281.2 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.0045, allocations: 0 / 281.2 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.004747, allocations: 258 kB / 281.5 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.004748, allocations: 0 / 281.5 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.292e-05/0.004781, allocations: 16.08 kB / 281.5 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.883e-05/0.00484, allocations: 28.77 kB / 281.5 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.004847, allocations: 4 kB / 281.5 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005563/0.005404, allocations: 1.178 MB / 282.7 MB, free: 6.039 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.005405, allocations: 0 / 282.7 MB, free: 6.039 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.005532, allocations: 198.8 kB / 282.9 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-06/0.005538, allocations: 7.953 kB / 282.9 MB, free: 5.809 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-06/0.005547, allocations: 12.05 kB / 282.9 MB, free: 5.797 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.566e-05/0.005582, allocations: 7.938 kB / 282.9 MB, free: 5.789 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.005598, allocations: 7.984 kB / 282.9 MB, free: 5.781 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.005601, allocations: 0 / 282.9 MB, free: 5.781 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.238e-06/0.005611, allocations: 8.859 kB / 282.9 MB, free: 5.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005611, allocations: 0 / 282.9 MB, free: 5.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001285/0.005739, allocations: 12 kB / 283 MB, free: 5.758 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.019e-05/0.005809, allocations: 76.42 kB / 283 MB, free: 5.672 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001719/0.005981, allocations: 171.4 kB / 283.2 MB, free: 5.488 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.005983, allocations: 0 / 283.2 MB, free: 5.488 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.82e-05/0.006071, allocations: 151.4 kB / 283.3 MB, free: 5.324 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001075/0.006179, allocations: 15.98 kB / 283.4 MB, free: 5.309 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002/0.006379, allocations: 162.9 kB / 283.5 MB, free: 5.113 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.51e-05/0.006414, allocations: 63.34 kB / 283.6 MB, free: 5.031 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.319e-05/0.006427, allocations: 192 / 283.6 MB, free: 5.031 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/0.00646, allocations: 59.38 kB / 283.6 MB, free: 4.973 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.006461, allocations: 0 / 283.6 MB, free: 4.973 MB / 266.7 MB Notification: Performance of Templates: time 0.002117/0.008578, allocations: 0.8136 MB / 284.5 MB, free: 4.223 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.674731696024537]