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.001296/0.001296, allocations: 93.06 kB / 19.65 MB, free: 280 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.001436/0.001436, allocations: 173 kB / 23.02 MB, free: 1.551 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.8984/0.8984, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.002942/0.002942, allocations: 427.9 kB / 260.4 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.482e-06/1.482e-06, allocations: 0 / 330.1 MB, free: 19.31 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.515e-05/1.663e-05, allocations: 2.312 kB / 330.1 MB, free: 19.31 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.001126/0.001142, allocations: 0.5217 MB / 330.6 MB, free: 18.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001455/0.001288, allocations: 27.83 kB / 330.7 MB, free: 18.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.446e-05/0.001312, allocations: 0 / 330.7 MB, free: 18.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.118e-05/0.001334, allocations: 3.938 kB / 330.7 MB, free: 18.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.061e-05/0.001364, allocations: 0 / 330.7 MB, free: 18.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001095/0.001474, allocations: 4 kB / 330.7 MB, free: 18.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.51e-05/0.001529, allocations: 23.91 kB / 330.7 MB, free: 18.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.468e-05/0.001563, allocations: 0 / 330.7 MB, free: 18.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.548e-05/0.001599, allocations: 19.92 kB / 330.7 MB, free: 18.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.356e-05/0.001652, allocations: 3.984 kB / 330.7 MB, free: 18.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.001672, allocations: 4 kB / 330.7 MB, free: 18.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.326e-06/0.001681, allocations: 4 kB / 330.7 MB, free: 18.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.001696, allocations: 7.922 kB / 330.7 MB, free: 18.69 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.765e-05/0.001714, allocations: 4 kB / 330.7 MB, free: 18.69 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.386e-05/0.001767, allocations: 11.98 kB / 330.7 MB, free: 18.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.001769, allocations: 0 / 330.7 MB, free: 18.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.3e-07/0.00177, allocations: 0 / 330.7 MB, free: 18.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.001773, allocations: 0 / 330.7 MB, free: 18.68 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.003261/0.005034, allocations: 356.3 kB / 331.1 MB, free: 18.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.00507, allocations: 12.03 kB / 331.1 MB, free: 18.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.005106, allocations: 5.234 kB / 331.1 MB, free: 18.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.102e-05/0.005167, allocations: 120.5 kB / 331.2 MB, free: 18.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.005178, allocations: 4.375 kB / 331.2 MB, free: 18.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.005198, allocations: 4.375 kB / 331.2 MB, free: 18.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.672e-05/0.005275, allocations: 46.19 kB / 331.3 MB, free: 18.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.005285, allocations: 4.172 kB / 331.3 MB, free: 18.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.005295, allocations: 384 / 331.3 MB, free: 18.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.005302, allocations: 384 / 331.3 MB, free: 18.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.876e-05/0.005331, allocations: 19.92 kB / 331.3 MB, free: 18.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002594/0.00559, allocations: 267.8 kB / 331.6 MB, free: 17.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.689e-05/0.005667, allocations: 50.98 kB / 331.6 MB, free: 17.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.005687, allocations: 19.69 kB / 331.6 MB, free: 17.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.005694, allocations: 8.078 kB / 331.6 MB, free: 17.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.00571, allocations: 33.39 kB / 331.7 MB, free: 17.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.005711, allocations: 0 / 331.7 MB, free: 17.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.000278/0.005989, allocations: 81.23 kB / 331.8 MB, free: 17.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.561e-05/0.006004, allocations: 55.41 kB / 331.8 MB, free: 17.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.068e-05/0.006045, allocations: 161.9 kB / 332 MB, free: 17.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.521e-06/0.00605, allocations: 25.7 kB / 332 MB, free: 17.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.441e-05/0.006075, allocations: 130.9 kB / 332.1 MB, free: 17.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.006092, allocations: 23.78 kB / 332.1 MB, free: 17.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.006118, allocations: 27.38 kB / 332.2 MB, free: 17.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.469e-05/0.006153, allocations: 496.1 kB / 332.7 MB, free: 16.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.396e-05/0.006167, allocations: 7.984 kB / 332.7 MB, free: 16.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.183e-05/0.006189, allocations: 23.38 kB / 332.7 MB, free: 16.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.602e-05/0.006225, allocations: 35.31 kB / 332.7 MB, free: 16.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.006227, allocations: 0 / 332.7 MB, free: 16.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.308e-05/0.00629, allocations: 57.62 kB / 332.8 MB, free: 16.42 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.006301, allocations: 8 kB / 332.8 MB, free: 16.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.006305, allocations: 4.031 kB / 332.8 MB, free: 16.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.006318, allocations: 3.984 kB / 332.8 MB, free: 16.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.237e-05/0.00639, allocations: 15.94 kB / 332.8 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.006395, allocations: 0 / 332.8 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.496e-05/0.00641, allocations: 0 / 332.8 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.006414, allocations: 4 kB / 332.8 MB, free: 16.38 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 3.345e-05/0.006448, allocations: 156.6 kB / 333 MB, free: 16.22 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.006469, allocations: 11.89 kB / 333 MB, free: 16.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.199e-05/0.006491, allocations: 11.67 kB / 333 MB, free: 16.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.006493, allocations: 432 / 333 MB, free: 16.19 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.006497, allocations: 4 kB / 333 MB, free: 16.19 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.0065, allocations: 4 kB / 333 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.266e-05/0.006582, allocations: 112.6 kB / 333.1 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.006583, allocations: 0 / 333.1 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.301e-05/0.006606, allocations: 7.984 kB / 333.1 MB, free: 16.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001215/0.006728, allocations: 23.61 kB / 333.1 MB, free: 16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.00674, allocations: 7.922 kB / 333.1 MB, free: 16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004768/0.007217, allocations: 1.72 MB / 334.9 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.007217, allocations: 0 / 334.9 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.791e-05/0.007315, allocations: 227.4 kB / 335.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-06/0.007319, allocations: 11.98 kB / 335.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.552e-06/0.007326, allocations: 0 / 335.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.033e-05/0.007366, allocations: 0 / 335.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.007382, allocations: 3.938 kB / 335.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.007385, allocations: 4 kB / 335.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.351e-05/0.007398, allocations: 123.2 kB / 335.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007399, allocations: 4.094 kB / 335.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002215/0.00762, allocations: 12 kB / 335.2 MB, free: 13.75 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 0.003071/0.01069, allocations: 91.25 kB / 335.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.678e-05/0.01077, allocations: 31.61 kB / 335.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01077, allocations: 0 / 335.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.01089, allocations: 193.5 kB / 335.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.01109, allocations: 4 kB / 335.6 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001613/0.01125, allocations: 144.2 kB / 335.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.386e-05/0.01127, allocations: 59.34 kB / 335.8 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.535e-05/0.01129, allocations: 7.938 kB / 335.8 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.709e-05/0.0113, allocations: 8.5 kB / 335.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.0113, allocations: 0 / 335.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of Templates: time 0.002112/0.01342, allocations: 0.5361 MB / 336.3 MB, free: 12.66 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=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5998420719988644]