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.001781/0.001781, allocations: 81.48 kB / 19.44 MB, free: 348 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.00204/0.00204, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.542/1.542, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.005416/0.005416, allocations: 430.4 kB / 260 MB, free: 12.65 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.233e-06/1.233e-06, allocations: 0 / 329.4 MB, free: 19.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/1.98e-05, allocations: 2.312 kB / 329.4 MB, free: 19.66 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001215/0.001234, allocations: 0.5205 MB / 329.9 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001463/0.001381, allocations: 23.91 kB / 329.9 MB, free: 19.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.81e-05/0.001409, allocations: 3.938 kB / 329.9 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.306e-05/0.001422, allocations: 7.938 kB / 329.9 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.751e-05/0.001459, allocations: 0 / 329.9 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001026/0.001562, allocations: 3.984 kB / 329.9 MB, free: 19.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.486e-05/0.001607, allocations: 19.98 kB / 330 MB, free: 19.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.789e-05/0.001645, allocations: 0 / 330 MB, free: 19.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.767e-05/0.001692, allocations: 23.91 kB / 330 MB, free: 19.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.445e-05/0.001757, allocations: 3.984 kB / 330 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.001774, allocations: 7.938 kB / 330 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-06/0.001782, allocations: 0 / 330 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.001798, allocations: 7.984 kB / 330 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.99e-05/0.001817, allocations: 11.92 kB / 330 MB, free: 19.03 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.537e-05/0.001873, allocations: 15.92 kB / 330 MB, free: 19.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.001875, allocations: 0 / 330 MB, free: 19.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.001875, allocations: 4 kB / 330 MB, free: 19.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.165e-06/0.001878, 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.0003241/0.002203, allocations: 352.4 kB / 330.4 MB, free: 18.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.002235, allocations: 8.031 kB / 330.4 MB, free: 18.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.002275, allocations: 8.891 kB / 330.4 MB, free: 18.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.308e-05/0.002338, allocations: 120.5 kB / 330.5 MB, free: 18.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.002352, allocations: 384 / 330.5 MB, free: 18.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.002372, allocations: 8.375 kB / 330.5 MB, free: 18.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.832e-05/0.00246, allocations: 50.19 kB / 330.6 MB, free: 18.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.002472, allocations: 192 / 330.6 MB, free: 18.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.00248, allocations: 384 / 330.6 MB, free: 18.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.002485, allocations: 4.375 kB / 330.6 MB, free: 18.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.091e-05/0.002525, allocations: 15.92 kB / 330.6 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002158/0.002741, allocations: 255.8 kB / 330.8 MB, free: 18.1 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.491e-05/0.002836, allocations: 67.03 kB / 330.9 MB, free: 18.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.833e-05/0.002864, allocations: 19.81 kB / 330.9 MB, free: 18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.002877, allocations: 0 / 330.9 MB, free: 18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.002893, allocations: 37.39 kB / 331 MB, free: 17.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.21e-07/0.002894, allocations: 4 kB / 331 MB, free: 17.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005538/0.003448, allocations: 375.7 kB / 331.3 MB, free: 17.51 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.83e-05/0.003467, allocations: 51.41 kB / 331.4 MB, free: 17.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.114e-05/0.003518, allocations: 157.9 kB / 331.5 MB, free: 17.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/0.003526, allocations: 29.64 kB / 331.6 MB, free: 17.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.321e-05/0.003549, allocations: 130.9 kB / 331.7 MB, free: 17.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.003576, allocations: 35.69 kB / 331.7 MB, free: 17.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.003608, allocations: 27.38 kB / 331.8 MB, free: 17.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.663e-05/0.003664, allocations: 0.4962 MB / 332.2 MB, free: 16.53 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.616e-05/0.003691, allocations: 12 kB / 332.3 MB, free: 16.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.261e-05/0.003723, allocations: 39.3 kB / 332.3 MB, free: 16.47 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.003939, allocations: 107.3 kB / 332.4 MB, free: 16.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.003941, allocations: 3.938 kB / 332.4 MB, free: 16.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.23e-05/0.004033, allocations: 82.44 kB / 332.5 MB, free: 16.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.004045, allocations: 7.984 kB / 332.5 MB, free: 16.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.004051, allocations: 4 kB / 332.5 MB, free: 16.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.004065, allocations: 0 / 332.5 MB, free: 16.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.37e-05/0.004159, allocations: 16 kB / 332.5 MB, free: 16.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.004164, allocations: 4 kB / 332.5 MB, free: 16.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.034e-05/0.004184, allocations: 4.062 kB / 332.5 MB, free: 16.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.00419, allocations: 4 kB / 332.5 MB, free: 16.23 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 7.439e-05/0.004265, allocations: 174 kB / 332.7 MB, free: 16.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.00429, allocations: 7.953 kB / 332.7 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/0.004318, allocations: 8.125 kB / 332.7 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.004319, allocations: 0 / 332.7 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.004323, allocations: 0 / 332.7 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.004326, allocations: 4 kB / 332.7 MB, free: 16.03 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.004626, allocations: 384 kB / 333.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.004628, allocations: 0 / 333.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.614e-05/0.004674, allocations: 11.98 kB / 333.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001185/0.004793, allocations: 27.67 kB / 333.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.004801, allocations: 0 / 333.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006947/0.005495, allocations: 1.783 MB / 334.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.005498, allocations: 8.125 kB / 334.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.005672, allocations: 294.5 kB / 335.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-06/0.005678, allocations: 4 kB / 335.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-06/0.005686, allocations: 3.938 kB / 335.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.493e-05/0.005741, allocations: 4 kB / 335.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.005767, allocations: 19.86 kB / 335.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.005771, allocations: 64 / 335.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.179e-05/0.005793, allocations: 127.2 kB / 335.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005793, allocations: 0 / 335.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002203/0.006014, allocations: 12 kB / 335.4 MB, free: 13.14 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 6.386e-05/0.006077, allocations: 99.28 kB / 335.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.006186, allocations: 51.61 kB / 335.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.006187, allocations: 0 / 335.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.006374, allocations: 217.4 kB / 335.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.006585, allocations: 8 kB / 335.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002066/0.006791, allocations: 183 kB / 335.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.626e-05/0.006828, allocations: 75.98 kB / 336 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.537e-05/0.006843, allocations: 4 kB / 336 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.958e-05/0.006863, allocations: 8.5 kB / 336 MB, free: 12.41 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.006863, allocations: 0 / 336 MB, free: 12.41 MB / 266.7 MB Notification: Performance of Templates: time 0.003064/0.009927, allocations: 0.65 MB / 336.7 MB, free: 11.82 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 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.415759562049061]