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.001455/0.001455, allocations: 92.7 kB / 19.44 MB, free: 320 kB / 13.93 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.00166/0.00166, allocations: 165.3 kB / 22.76 MB, free: 1.648 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.49/1.49, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.002984/0.002984, allocations: 426.4 kB / 260 MB, free: 12.64 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.343e-06/1.343e-06, allocations: 3.938 kB / 329.4 MB, free: 19.64 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.502e-05, allocations: 2.312 kB / 329.4 MB, free: 19.64 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.001333/0.001358, allocations: 0.5099 MB / 329.9 MB, free: 19.13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001647/0.001523, allocations: 23.91 kB / 329.9 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.608e-05/0.001549, allocations: 0 / 329.9 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.321e-05/0.001562, allocations: 11.88 kB / 329.9 MB, free: 19.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.671e-05/0.001599, allocations: 0 / 329.9 MB, free: 19.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001252/0.001724, allocations: 7.984 kB / 329.9 MB, free: 19.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.947e-05/0.001774, allocations: 19.97 kB / 330 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.564e-05/0.001809, allocations: 0 / 330 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.381e-05/0.001843, allocations: 11.92 kB / 330 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.931e-05/0.001903, allocations: 11.98 kB / 330 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.001918, allocations: 0 / 330 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.787e-06/0.001927, allocations: 4 kB / 330 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.001941, allocations: 3.984 kB / 330 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.001965, allocations: 11.94 kB / 330 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.408e-05/0.002019, allocations: 11.92 kB / 330 MB, free: 19.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.00202, allocations: 3.938 kB / 330 MB, free: 19.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.002021, allocations: 0 / 330 MB, free: 19.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.566e-06/0.002024, allocations: 0 / 330 MB, free: 19.01 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.0002809/0.002305, allocations: 254.4 kB / 330.3 MB, free: 18.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.002339, allocations: 12.02 kB / 330.3 MB, free: 18.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.002379, allocations: 8.891 kB / 330.3 MB, free: 18.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.994e-05/0.002439, allocations: 105.7 kB / 330.4 MB, free: 18.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.00245, allocations: 4.375 kB / 330.4 MB, free: 18.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.002476, allocations: 12.38 kB / 330.4 MB, free: 18.56 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.765e-05/0.002573, allocations: 42.25 kB / 330.4 MB, free: 18.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.002584, allocations: 192 / 330.4 MB, free: 18.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.002593, allocations: 384 / 330.4 MB, free: 18.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.002597, allocations: 384 / 330.4 MB, free: 18.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.61e-05/0.002633, allocations: 23.86 kB / 330.5 MB, free: 18.49 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002829/0.002916, allocations: 216.6 kB / 330.7 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.955e-05/0.002996, allocations: 42.56 kB / 330.7 MB, free: 18.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.196e-05/0.003018, allocations: 12.86 kB / 330.7 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.003029, allocations: 0 / 330.7 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.003044, allocations: 34.5 kB / 330.8 MB, free: 18.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.003045, allocations: 4 kB / 330.8 MB, free: 18.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003398/0.003385, allocations: 86.55 kB / 330.9 MB, free: 18.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/0.003406, allocations: 51.41 kB / 330.9 MB, free: 17.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.756e-05/0.003453, allocations: 101.8 kB / 331 MB, free: 17.87 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.003461, allocations: 25.7 kB / 331 MB, free: 17.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/0.003497, allocations: 84.08 kB / 331.1 MB, free: 17.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.003515, allocations: 19.86 kB / 331.1 MB, free: 17.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.003544, allocations: 25.64 kB / 331.2 MB, free: 17.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.17e-05/0.003585, allocations: 310.8 kB / 331.5 MB, free: 17.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/0.003606, allocations: 16 kB / 331.5 MB, free: 17.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.323e-05/0.003629, allocations: 21.7 kB / 331.5 MB, free: 17.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.971e-05/0.003669, allocations: 33.72 kB / 331.5 MB, free: 17.31 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.00367, allocations: 0 / 331.5 MB, free: 17.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.357e-05/0.003744, allocations: 65.94 kB / 331.6 MB, free: 17.24 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.003754, allocations: 4 kB / 331.6 MB, free: 17.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.003758, allocations: 0 / 331.6 MB, free: 17.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.003776, allocations: 4 kB / 331.6 MB, free: 17.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.323e-05/0.003859, allocations: 12.03 kB / 331.6 MB, free: 17.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.003865, allocations: 8.031 kB / 331.6 MB, free: 17.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.123e-05/0.003886, allocations: 7.922 kB / 331.6 MB, free: 17.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-06/0.00389, allocations: 0 / 331.6 MB, free: 17.2 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.087e-05/0.003931, allocations: 117.8 kB / 331.7 MB, free: 17.08 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.003955, allocations: 11.89 kB / 331.8 MB, free: 17.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.382e-05/0.003979, allocations: 7.688 kB / 331.8 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.003981, allocations: 0 / 331.8 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.003985, allocations: 0 / 331.8 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.003987, allocations: 0 / 331.8 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.606e-05/0.004083, allocations: 109.3 kB / 331.9 MB, free: 16.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.004084, allocations: 4 kB / 331.9 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.371e-05/0.004118, allocations: 4 kB / 331.9 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001365/0.004254, allocations: 16.78 kB / 331.9 MB, free: 16.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.004263, allocations: 4 kB / 331.9 MB, free: 16.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006542/0.004917, allocations: 1.221 MB / 333.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.004918, allocations: 160 / 333.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.005056, allocations: 184.2 kB / 333.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-06/0.00506, allocations: 0 / 333.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.624e-06/0.005068, allocations: 0 / 333.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.236e-05/0.00512, allocations: 4.031 kB / 333.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.925e-05/0.00514, allocations: 11.92 kB / 333.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.005143, allocations: 0 / 333.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.26e-05/0.005165, allocations: 79.28 kB / 333.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005165, allocations: 3.938 kB / 333.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002406/0.005406, allocations: 8 kB / 333.4 MB, free: 15.26 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.979e-05/0.005476, allocations: 95.31 kB / 333.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.174e-05/0.005557, allocations: 28.11 kB / 333.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.005559, allocations: 0 / 333.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.005723, allocations: 134.7 kB / 333.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.005937, allocations: 2.188 kB / 333.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000208/0.006145, allocations: 142.2 kB / 333.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.828e-05/0.006184, allocations: 63.34 kB / 333.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.763e-05/0.006201, allocations: 8.062 kB / 333.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.006229, allocations: 8.5 kB / 333.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of SimCode: time 3.9e-07/0.006229, allocations: 0 / 333.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of Templates: time 0.002987/0.009216, allocations: 0.5198 MB / 334.4 MB, free: 14.26 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=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.306558190961368]