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.0009543/0.0009543, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001071/0.001071, allocations: 173.3 kB / 23.5 MB, free: 1.059 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.9729/0.9729, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.002222/0.002222, allocations: 420.2 kB / 260.7 MB, free: 12.71 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.613e-06/1.613e-06, allocations: 0 / 330.1 MB, free: 4.719 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.204e-05, allocations: 4.703 kB / 330.1 MB, free: 4.715 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.001021/0.001043, allocations: 0.5189 MB / 330.6 MB, free: 4.195 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001454/0.001188, allocations: 35.78 kB / 330.7 MB, free: 4.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.886e-05/0.001217, allocations: 0 / 330.7 MB, free: 4.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.782e-05/0.001235, allocations: 3.938 kB / 330.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.04e-05/0.001266, allocations: 0 / 330.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001174/0.001383, allocations: 3.984 kB / 330.7 MB, free: 4.152 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.777e-05/0.001441, allocations: 19.97 kB / 330.7 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.904e-05/0.00148, allocations: 4 kB / 330.7 MB, free: 4.129 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.68e-05/0.001517, allocations: 11.92 kB / 330.7 MB, free: 4.117 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.732e-05/0.001574, allocations: 7.984 kB / 330.7 MB, free: 4.109 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.001592, allocations: 4 kB / 330.7 MB, free: 4.105 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.687e-06/0.001601, allocations: 0 / 330.7 MB, free: 4.105 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.838e-05/0.001619, allocations: 11.98 kB / 330.7 MB, free: 4.094 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.064e-05/0.00164, allocations: 11.94 kB / 330.7 MB, free: 4.082 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.621e-05/0.001696, allocations: 11.91 kB / 330.8 MB, free: 4.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.001698, allocations: 4 kB / 330.8 MB, free: 4.066 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.001699, allocations: 0 / 330.8 MB, free: 4.066 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.001702, allocations: 0 / 330.8 MB, free: 4.066 MB / 298.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.0003085/0.00201, allocations: 360.7 kB / 331.1 MB, free: 3.676 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.002047, allocations: 8.031 kB / 331.1 MB, free: 3.668 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.002083, allocations: 8.938 kB / 331.1 MB, free: 3.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.974e-05/0.002163, allocations: 112.5 kB / 331.2 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.002174, allocations: 4.375 kB / 331.2 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.002196, allocations: 8.375 kB / 331.3 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.732e-05/0.002274, allocations: 38.25 kB / 331.3 MB, free: 3.469 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.002284, allocations: 8.141 kB / 331.3 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.002293, allocations: 384 / 331.3 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.0023, allocations: 384 / 331.3 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.005e-05/0.00233, allocations: 19.86 kB / 331.3 MB, free: 3.441 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003036/0.002634, allocations: 259.9 kB / 331.6 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.002e-05/0.002714, allocations: 51.05 kB / 331.6 MB, free: 3.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.191e-05/0.002736, allocations: 15.69 kB / 331.6 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/0.002742, allocations: 3.938 kB / 331.6 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.002761, allocations: 33.39 kB / 331.7 MB, free: 3.023 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.002762, allocations: 4 kB / 331.7 MB, free: 3.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002843/0.003046, allocations: 85.38 kB / 331.8 MB, free: 2.926 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.003072, allocations: 55.34 kB / 331.8 MB, free: 2.859 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.691e-05/0.003139, allocations: 170 kB / 332 MB, free: 2.676 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.003149, allocations: 25.7 kB / 332 MB, free: 2.645 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.283e-05/0.003192, allocations: 134.8 kB / 332.1 MB, free: 2.508 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.00321, allocations: 19.84 kB / 332.2 MB, free: 2.488 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.003237, allocations: 23.38 kB / 332.2 MB, free: 2.457 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.00334, allocations: 0.4884 MB / 332.7 MB, free: 1.957 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.335e-05/0.003354, allocations: 4 kB / 332.7 MB, free: 1.953 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.365e-05/0.003377, allocations: 27.36 kB / 332.7 MB, free: 1.918 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.637e-05/0.003414, allocations: 31.38 kB / 332.7 MB, free: 1.879 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.003416, allocations: 0 / 332.7 MB, free: 1.879 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.361e-05/0.003479, allocations: 65.56 kB / 332.8 MB, free: 1.809 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.003491, allocations: 8.031 kB / 332.8 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.003495, allocations: 0 / 332.8 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.003507, allocations: 4 kB / 332.8 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.721e-05/0.003575, allocations: 11.98 kB / 332.8 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.00358, allocations: 4 kB / 332.8 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.253e-05/0.003593, allocations: 3.953 kB / 332.8 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.003598, allocations: 0 / 332.8 MB, free: 1.777 MB / 298.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 5.996e-05/0.003658, allocations: 164.5 kB / 333 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.003672, allocations: 3.938 kB / 333 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.205e-05/0.003704, allocations: 7.688 kB / 333 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.003706, allocations: 4 kB / 333 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.003715, allocations: 0 / 333 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.003719, allocations: 0 / 333 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.808e-05/0.003807, allocations: 116.6 kB / 333.1 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.003807, allocations: 0 / 333.1 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.225e-05/0.00383, allocations: 4 kB / 333.1 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001326/0.003962, allocations: 27.61 kB / 333.1 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.003973, allocations: 0 / 333.1 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008423/0.004815, allocations: 1.728 MB / 334.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.004816, allocations: 0 / 334.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.00494, allocations: 231.7 kB / 335.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-06/0.004944, allocations: 3.953 kB / 335.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-06/0.004949, allocations: 0 / 335.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.724e-05/0.004976, allocations: 7.938 kB / 335.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.004994, allocations: 11.92 kB / 335.1 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.004997, allocations: 0 / 335.1 MB, free: 15.28 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.81e-05/0.005025, allocations: 127.3 kB / 335.2 MB, free: 15.15 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005025, allocations: 0 / 335.2 MB, free: 15.15 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001411/0.005166, allocations: 4 kB / 335.3 MB, free: 15.15 MB / 314.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.73e-05/0.005234, allocations: 99.23 kB / 335.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.834e-05/0.005302, allocations: 31.61 kB / 335.4 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.005303, allocations: 0 / 335.4 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.005446, allocations: 185.5 kB / 335.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.005583, allocations: 8.062 kB / 335.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001924/0.005775, allocations: 150.5 kB / 335.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.213e-05/0.005807, allocations: 59.34 kB / 335.8 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.577e-05/0.005823, allocations: 0 / 335.8 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.913e-05/0.005842, allocations: 12.5 kB / 335.8 MB, free: 14.53 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.005843, allocations: 0 / 335.8 MB, free: 14.53 MB / 314.7 MB Notification: Performance of Templates: time 0.002393/0.008235, allocations: 0.5081 MB / 336.3 MB, free: 14.07 MB / 314.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.685278336983174]