Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.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.001417/0.001417, allocations: 80.75 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.001467/0.001467, 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.059/1.059, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.003133/0.003133, allocations: 432.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.TwoMassesEquationsFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 277.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.377e-05, allocations: 2.312 kB / 277.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001284/0.001308, allocations: 0.5682 MB / 277.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001456/0.001454, allocations: 27.91 kB / 277.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.213e-05/0.001476, allocations: 0 / 277.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.375e-05/0.001489, allocations: 3.938 kB / 277.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.945e-05/0.001519, allocations: 0 / 277.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001032/0.001622, allocations: 11.98 kB / 278 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.024e-05/0.001672, allocations: 19.91 kB / 278 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.561e-05/0.001708, allocations: 4 kB / 278 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.838e-05/0.001746, allocations: 15.92 kB / 278 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.271e-05/0.001809, allocations: 11.97 kB / 278 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.001824, allocations: 0 / 278 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-06/0.001832, allocations: 11.94 kB / 278 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.001848, allocations: 4 kB / 278 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.578e-05/0.001863, allocations: 7.984 kB / 278 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.266e-05/0.001916, allocations: 11.97 kB / 278 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.001918, allocations: 0 / 278 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.001919, allocations: 0 / 278 MB, free: 11.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.001923, allocations: 0 / 278 MB, free: 11.14 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.0002553/0.002178, allocations: 236.9 kB / 278.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.002211, allocations: 12.03 kB / 278.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.34e-05/0.002234, allocations: 4.875 kB / 278.3 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.352e-05/0.002308, allocations: 113.8 kB / 278.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.002318, allocations: 8.375 kB / 278.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.002335, allocations: 384 / 278.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.312e-05/0.002398, allocations: 50.19 kB / 278.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.002407, allocations: 192 / 278.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.002413, allocations: 384 / 278.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.351e-06/0.002418, allocations: 4.375 kB / 278.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.968e-05/0.002438, allocations: 11.92 kB / 278.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.002605, allocations: 144.3 kB / 278.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.81e-05/0.002673, allocations: 46.61 kB / 278.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.616e-05/0.00269, allocations: 16.8 kB / 278.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.583e-06/0.002696, allocations: 4 kB / 278.7 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.002716, allocations: 34.55 kB / 278.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.002717, allocations: 0 / 278.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004814/0.003199, allocations: 347.9 kB / 279.1 MB, free: 9.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.003228, allocations: 55.41 kB / 279.1 MB, free: 9.914 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.195e-05/0.00328, allocations: 98.72 kB / 279.2 MB, free: 9.805 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.00329, allocations: 29.7 kB / 279.2 MB, free: 9.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.003314, allocations: 88.12 kB / 279.3 MB, free: 9.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.003349, allocations: 23.8 kB / 279.3 MB, free: 9.656 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.003376, allocations: 25.7 kB / 279.4 MB, free: 9.625 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.036e-05/0.003457, allocations: 318.8 kB / 279.7 MB, free: 9.305 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.097e-05/0.003468, allocations: 4 kB / 279.7 MB, free: 9.301 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.421e-05/0.003492, allocations: 33.62 kB / 279.7 MB, free: 9.262 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.003596, allocations: 62.5 kB / 279.8 MB, free: 9.195 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.003598, allocations: 3.984 kB / 279.8 MB, free: 9.191 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.766e-05/0.003665, allocations: 73.73 kB / 279.9 MB, free: 9.113 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.003677, allocations: 8 kB / 279.9 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.003682, allocations: 0 / 279.9 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.003693, allocations: 4 kB / 279.9 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.385e-05/0.003787, allocations: 23.92 kB / 279.9 MB, free: 9.078 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.205e-06/0.003789, allocations: 0 / 279.9 MB, free: 9.078 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.5e-05/0.003804, allocations: 8 kB / 279.9 MB, free: 9.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-06/0.003807, allocations: 0 / 279.9 MB, free: 9.07 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: $DER.v1 = 0.0 $DER.x1 = 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 (10): * Single equations (assignments): 10 * 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 6.958e-05/0.003877, allocations: 125.7 kB / 280 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.003902, allocations: 11.94 kB / 280 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.527e-05/0.003928, allocations: 12.12 kB / 280 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.003929, allocations: 0 / 280 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.003933, allocations: 0 / 280 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.003936, allocations: 0 / 280 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.004199, allocations: 258 kB / 280.3 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.004202, allocations: 4 kB / 280.3 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-05/0.004237, allocations: 8 kB / 280.3 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.131e-05/0.004329, allocations: 20.84 kB / 280.3 MB, free: 8.594 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.004335, allocations: 8.094 kB / 280.3 MB, free: 8.586 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006154/0.00495, allocations: 1.178 MB / 281.5 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.004952, allocations: 4 kB / 281.5 MB, free: 7.316 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.005085, allocations: 202.8 kB / 281.7 MB, free: 7.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.77e-06/0.00509, allocations: 7.953 kB / 281.7 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.003e-06/0.005097, allocations: 0 / 281.7 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.613e-05/0.005133, allocations: 11.94 kB / 281.7 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.005149, allocations: 12.05 kB / 281.7 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.005153, allocations: 0 / 281.7 MB, free: 7.059 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.518e-06/0.005163, allocations: 8.859 kB / 281.8 MB, free: 7.047 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005163, allocations: 0 / 281.8 MB, free: 7.047 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001352/0.005298, allocations: 12 kB / 281.8 MB, free: 7.035 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.511e-05/0.005373, allocations: 72.42 kB / 281.8 MB, free: 6.953 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.261e-05/0.005446, allocations: 44.88 kB / 281.9 MB, free: 6.906 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.005448, allocations: 0 / 281.9 MB, free: 6.906 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.0056, allocations: 155.3 kB / 282 MB, free: 6.738 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.005722, allocations: 15.88 kB / 282 MB, free: 6.723 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002031/0.005925, allocations: 159 kB / 282.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.454e-05/0.005959, allocations: 63.34 kB / 282.3 MB, free: 6.449 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.83e-05/0.005977, allocations: 3.938 kB / 282.3 MB, free: 6.445 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.006014, allocations: 59.31 kB / 282.3 MB, free: 6.387 MB / 266.7 MB Notification: Performance of SimCode: time 6.52e-07/0.006015, allocations: 3.938 kB / 282.3 MB, free: 6.383 MB / 266.7 MB Notification: Performance of Templates: time 0.002179/0.008194, allocations: 0.7373 MB / 283.1 MB, free: 5.715 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5971805108711123]