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.001294/0.001294, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001517/0.001517, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9473/0.9473, allocations: 177.1 MB / 203.7 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.002114/0.002114, allocations: 424 kB / 260.7 MB, free: 12.46 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 2.225e-06/2.225e-06, allocations: 0 / 330.6 MB, free: 19.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/2.079e-05, allocations: 2.312 kB / 330.6 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001381/0.001402, allocations: 0.5296 MB / 331.1 MB, free: 18.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001877/0.001589, allocations: 27.83 kB / 331.1 MB, free: 18.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.807e-05/0.001627, allocations: 0 / 331.1 MB, free: 18.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.002e-05/0.001647, allocations: 0 / 331.1 MB, free: 18.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.857e-05/0.001686, allocations: 7.938 kB / 331.1 MB, free: 18.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.001831, allocations: 4 kB / 331.1 MB, free: 18.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.799e-05/0.001899, allocations: 19.92 kB / 331.1 MB, free: 18.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.095e-05/0.00195, allocations: 0 / 331.1 MB, free: 18.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.75e-05/0.002007, allocations: 19.97 kB / 331.2 MB, free: 18.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.821e-05/0.002095, allocations: 3.984 kB / 331.2 MB, free: 18.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.002119, allocations: 4 kB / 331.2 MB, free: 18.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.053e-05/0.00213, allocations: 0 / 331.2 MB, free: 18.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.233e-05/0.002152, allocations: 3.938 kB / 331.2 MB, free: 18.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/0.002181, allocations: 7.984 kB / 331.2 MB, free: 18.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.812e-05/0.00226, allocations: 15.97 kB / 331.2 MB, free: 18.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.002263, allocations: 4 kB / 331.2 MB, free: 18.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.002263, allocations: 0 / 331.2 MB, free: 18.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.002269, allocations: 0 / 331.2 MB, free: 18.38 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.0003585/0.002628, allocations: 360.3 kB / 331.6 MB, free: 17.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.002677, allocations: 8.031 kB / 331.6 MB, free: 17.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.002713, allocations: 9.234 kB / 331.6 MB, free: 17.97 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.092e-05/0.002794, allocations: 112.5 kB / 331.7 MB, free: 17.83 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.002809, allocations: 4.375 kB / 331.7 MB, free: 17.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.002835, allocations: 12.31 kB / 331.7 MB, free: 17.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.118e-05/0.002926, allocations: 38.25 kB / 331.7 MB, free: 17.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.002942, allocations: 12.17 kB / 331.7 MB, free: 17.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.00295, allocations: 384 / 331.7 MB, free: 17.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.002958, allocations: 384 / 331.7 MB, free: 17.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.038e-05/0.002988, allocations: 7.938 kB / 331.8 MB, free: 17.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002359/0.003224, allocations: 232.4 kB / 332 MB, free: 17.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.003331, allocations: 59.03 kB / 332 MB, free: 17.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.693e-05/0.003358, allocations: 15.67 kB / 332.1 MB, free: 17.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.003369, allocations: 4 kB / 332.1 MB, free: 17.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.003394, allocations: 37.52 kB / 332.1 MB, free: 17.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.003396, allocations: 4 kB / 332.1 MB, free: 17.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006104/0.004006, allocations: 351.7 kB / 332.4 MB, free: 16.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.004033, allocations: 51.41 kB / 332.5 MB, free: 16.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.247e-05/0.004105, allocations: 161.9 kB / 332.7 MB, free: 16.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/0.004115, allocations: 25.7 kB / 332.7 MB, free: 16.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.984e-05/0.004145, allocations: 126.9 kB / 332.8 MB, free: 16.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.004185, allocations: 31.73 kB / 332.8 MB, free: 16.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.004224, allocations: 31.36 kB / 332.9 MB, free: 16.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.389e-05/0.004298, allocations: 496.1 kB / 333.3 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.287e-05/0.004321, allocations: 19.92 kB / 333.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.391e-05/0.004355, allocations: 31.97 kB / 333.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.004515, allocations: 71.53 kB / 333.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.004516, allocations: 0 / 333.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000155/0.004671, allocations: 93.23 kB / 333.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.004688, allocations: 6.969 kB / 333.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.004694, allocations: 0 / 333.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001552/0.004849, allocations: 31.61 kB / 333.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.281e-05/0.004912, allocations: 8 kB / 333.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007897/0.005702, allocations: 1.729 MB / 335.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.003e-05/0.005722, allocations: 4 kB / 335.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.005726, allocations: 3.938 kB / 335.3 MB, free: 13.84 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 8.078e-05/0.005807, allocations: 160.6 kB / 335.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.005831, allocations: 8.141 kB / 335.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.131e-05/0.005852, allocations: 16.09 kB / 335.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.005853, allocations: 4.031 kB / 335.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.005858, allocations: 3.938 kB / 335.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.005861, allocations: 0 / 335.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/0.006186, allocations: 356.9 kB / 335.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.006189, allocations: 4.062 kB / 335.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.554e-05/0.006235, allocations: 15.94 kB / 335.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.24e-05/0.006317, allocations: 23.67 kB / 335.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.006324, allocations: 0 / 335.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006155/0.006939, allocations: 1.733 MB / 337.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.006941, allocations: 0 / 337.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.007125, allocations: 278.5 kB / 337.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-06/0.007132, allocations: 4.141 kB / 337.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.007142, allocations: 0 / 337.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.941e-05/0.007201, allocations: 11.92 kB / 337.9 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.068e-05/0.007222, allocations: 11.98 kB / 338 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.007226, allocations: 0 / 338 MB, free: 11.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.597e-05/0.007252, allocations: 131.2 kB / 338.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007252, allocations: 0 / 338.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000241/0.007493, allocations: 12 kB / 338.1 MB, free: 10.88 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.904e-05/0.007572, allocations: 99.12 kB / 338.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002378/0.00781, allocations: 225.4 kB / 338.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.007812, allocations: 0 / 338.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.00795, allocations: 209.6 kB / 338.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.008179, allocations: 4 kB / 338.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.008452, allocations: 187.1 kB / 338.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.578e-05/0.008488, allocations: 63.34 kB / 338.9 MB, free: 9.988 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.271e-05/0.00851, allocations: 4 kB / 338.9 MB, free: 9.984 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.008549, allocations: 70.2 kB / 338.9 MB, free: 9.914 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.00855, allocations: 0 / 338.9 MB, free: 9.914 MB / 266.7 MB Notification: Performance of Templates: time 0.003147/0.0117, allocations: 0.815 MB / 339.8 MB, free: 9.152 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 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7104183323681355]