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.001835/0.001835, allocations: 80.69 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002137/0.002137, allocations: 159.7 kB / 22.46 MB, free: 5.375 MB / 14.72 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.442/1.442, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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.004532/0.004532, allocations: 435.2 kB / 259.6 MB, free: 284 kB / 238.1 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.403e-06/1.403e-06, allocations: 0 / 382.3 MB, free: 4.246 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.201e-05, allocations: 2.281 kB / 382.3 MB, free: 4.242 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001381/0.001403, allocations: 0.513 MB / 382.8 MB, free: 3.727 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001635/0.001567, allocations: 29.77 kB / 382.8 MB, free: 3.699 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.66e-05/0.001593, allocations: 3.938 kB / 382.8 MB, free: 3.695 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.001613, allocations: 3.938 kB / 382.8 MB, free: 3.691 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.595e-05/0.001639, allocations: 3.938 kB / 382.8 MB, free: 3.688 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001092/0.001748, allocations: 15.97 kB / 382.8 MB, free: 3.672 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.022e-05/0.001798, allocations: 16 kB / 382.8 MB, free: 3.656 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.76e-05/0.001846, allocations: 3.984 kB / 382.8 MB, free: 3.652 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.708e-05/0.001893, allocations: 15.92 kB / 382.9 MB, free: 3.637 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.399e-05/0.001947, allocations: 7.984 kB / 382.9 MB, free: 3.629 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.001972, allocations: 0 / 382.9 MB, free: 3.629 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.995e-06/0.00198, allocations: 0 / 382.9 MB, free: 3.629 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.98e-05/0.002, allocations: 11.98 kB / 382.9 MB, free: 3.617 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.002022, allocations: 7.984 kB / 382.9 MB, free: 3.609 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.678e-05/0.002079, allocations: 15.86 kB / 382.9 MB, free: 3.594 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.00208, allocations: 0 / 382.9 MB, free: 3.594 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.51e-07/0.002081, allocations: 3.938 kB / 382.9 MB, free: 3.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.002089, allocations: 4 kB / 382.9 MB, free: 3.586 MB / 302.1 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.0003911/0.00248, allocations: 258.4 kB / 383.2 MB, free: 3.301 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.002515, allocations: 8.031 kB / 383.2 MB, free: 3.293 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.002551, allocations: 12.88 kB / 383.2 MB, free: 3.281 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.002674, allocations: 109.7 kB / 383.3 MB, free: 3.148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.064e-06/0.002681, allocations: 384 / 383.3 MB, free: 3.148 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.00271, allocations: 8.375 kB / 383.3 MB, free: 3.137 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.002818, allocations: 42.25 kB / 383.3 MB, free: 3.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.002829, allocations: 192 / 383.3 MB, free: 3.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.002839, allocations: 4.359 kB / 383.3 MB, free: 3.086 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.002843, allocations: 4.375 kB / 383.3 MB, free: 3.082 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.668e-05/0.00289, allocations: 23.86 kB / 383.4 MB, free: 3.059 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002868/0.003177, allocations: 200.6 kB / 383.6 MB, free: 2.832 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.003307, allocations: 46.56 kB / 383.6 MB, free: 2.777 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.85e-05/0.003345, allocations: 16.98 kB / 383.6 MB, free: 2.758 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-06/0.003352, allocations: 0 / 383.6 MB, free: 2.758 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.003388, allocations: 42.55 kB / 383.7 MB, free: 2.707 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.003389, allocations: 0 / 383.7 MB, free: 2.707 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007233/0.004112, allocations: 351.9 kB / 384 MB, free: 2.305 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.004154, allocations: 55.41 kB / 384.1 MB, free: 2.238 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.575e-05/0.00424, allocations: 97.86 kB / 384.2 MB, free: 2.133 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.004258, allocations: 25.7 kB / 384.2 MB, free: 2.102 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.714e-05/0.004305, allocations: 92.03 kB / 384.3 MB, free: 2.008 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.338e-05/0.004348, allocations: 31.73 kB / 384.3 MB, free: 1.977 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.00439, allocations: 25.66 kB / 384.3 MB, free: 1.945 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.004536, allocations: 318.8 kB / 384.6 MB, free: 1.625 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.249e-05/0.004569, allocations: 19.94 kB / 384.7 MB, free: 1.605 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.806e-05/0.004617, allocations: 33.64 kB / 384.7 MB, free: 1.566 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.004892, allocations: 105.8 kB / 384.8 MB, free: 1.457 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.004895, allocations: 3.938 kB / 384.8 MB, free: 1.453 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001215/0.005016, allocations: 73.69 kB / 384.9 MB, free: 1.375 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.005028, allocations: 6.5 kB / 384.9 MB, free: 1.371 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.005032, allocations: 0 / 384.9 MB, free: 1.371 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.005048, allocations: 4 kB / 384.9 MB, free: 1.367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.00516, allocations: 24.8 kB / 384.9 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.005165, allocations: 0 / 384.9 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.384e-05/0.005189, allocations: 4 kB / 384.9 MB, free: 1.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.005196, allocations: 4 kB / 384.9 MB, free: 1.336 MB / 302.1 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 0.0001271/0.005323, allocations: 125.8 kB / 385 MB, free: 1.203 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.00535, allocations: 3.953 kB / 385 MB, free: 1.199 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.71e-05/0.005378, allocations: 8.125 kB / 385.1 MB, free: 1.191 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.005383, allocations: 4 kB / 385.1 MB, free: 1.188 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.005389, allocations: 4 kB / 385.1 MB, free: 1.184 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.005392, allocations: 0 / 385.1 MB, free: 1.184 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004293/0.005821, allocations: 305.5 kB / 385.4 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.005823, allocations: 4 kB / 385.4 MB, free: 0.832 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.353e-05/0.005877, allocations: 16.08 kB / 385.4 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001073/0.005984, allocations: 24.78 kB / 385.4 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.005993, allocations: 4 kB / 385.4 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/0.007136, allocations: 1.261 MB / 386.7 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.007137, allocations: 0 / 386.7 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.00741, allocations: 230.8 kB / 386.9 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-06/0.007416, allocations: 0 / 386.9 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.007427, allocations: 8.125 kB / 386.9 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.309e-05/0.00749, allocations: 4 kB / 386.9 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.007514, allocations: 11.92 kB / 386.9 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.00752, allocations: 4 kB / 386.9 MB, free: 15.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.164e-05/0.007562, allocations: 79.22 kB / 387 MB, free: 15.06 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.007562, allocations: 0 / 387 MB, free: 15.06 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.007811, allocations: 12 kB / 387 MB, free: 15.05 MB / 318.1 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 0.0001004/0.007912, allocations: 103.2 kB / 387.1 MB, free: 14.94 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.008036, allocations: 40.02 kB / 387.2 MB, free: 14.9 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.008038, allocations: 7.938 kB / 387.2 MB, free: 14.89 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.008278, allocations: 146.6 kB / 387.3 MB, free: 14.73 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.008502, allocations: 7.703 kB / 387.3 MB, free: 14.73 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000298/0.0088, allocations: 167.5 kB / 387.5 MB, free: 14.53 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.679e-05/0.008877, allocations: 71.28 kB / 387.5 MB, free: 14.44 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.814e-05/0.008895, allocations: 4 kB / 387.5 MB, free: 14.44 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.008922, allocations: 16.69 kB / 387.6 MB, free: 14.42 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.008922, allocations: 0 / 387.6 MB, free: 14.42 MB / 318.1 MB Notification: Performance of Templates: time 0.003143/0.01207, allocations: 0.6329 MB / 388.2 MB, free: 13.85 MB / 318.1 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=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.071506921201944] Failed to read output from testmodel.py, exit status != 0: 0.020250216126441956 0.035244897000000004 0.030081412000000002 Calling exit ...