Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.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.001398/0.001398, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001569/0.001569, allocations: 173 kB / 23.36 MB, free: 1.133 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.026/1.026, allocations: 177.1 MB / 203.8 MB, free: 5.504 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.005829/0.005829, allocations: 427.5 kB / 260.7 MB, free: 12.53 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.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 277.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.652e-05, allocations: 2.312 kB / 277.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.003434/0.003461, allocations: 1.723 MB / 279.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003666/0.003827, allocations: 103.6 kB / 279.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.833e-05/0.003886, allocations: 0 / 279.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.792e-05/0.003934, allocations: 11.86 kB / 279.2 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.379e-05/0.004027, allocations: 27.72 kB / 279.2 MB, free: 9.984 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001034/0.004131, allocations: 27.95 kB / 279.2 MB, free: 9.957 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.643e-05/0.004227, allocations: 111.5 kB / 279.3 MB, free: 9.848 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.199e-05/0.004319, allocations: 31.91 kB / 279.4 MB, free: 9.816 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.354e-05/0.004403, allocations: 55.89 kB / 279.4 MB, free: 9.762 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.681e-05/0.004489, allocations: 31.95 kB / 279.5 MB, free: 9.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.004508, allocations: 12 kB / 279.5 MB, free: 9.719 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.00452, allocations: 11.94 kB / 279.5 MB, free: 9.707 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.004542, allocations: 23.91 kB / 279.5 MB, free: 9.684 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.004573, allocations: 35.92 kB / 279.5 MB, free: 9.648 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.004682, allocations: 67.75 kB / 279.6 MB, free: 9.582 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.004685, allocations: 0 / 279.6 MB, free: 9.582 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004686, allocations: 0 / 279.6 MB, free: 9.582 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.00469, allocations: 0 / 279.6 MB, free: 9.582 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003303/0.00502, allocations: 312.8 kB / 279.9 MB, free: 9.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.005052, allocations: 8.031 kB / 279.9 MB, free: 9.242 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.005087, allocations: 12.94 kB / 279.9 MB, free: 9.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.005207, allocations: 125.6 kB / 280 MB, free: 9.082 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.005216, allocations: 8.562 kB / 280.1 MB, free: 9.074 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.005237, allocations: 12.38 kB / 280.1 MB, free: 9.062 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.799e-05/0.005325, allocations: 70.72 kB / 280.1 MB, free: 8.988 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.005336, allocations: 3.953 kB / 280.1 MB, free: 8.984 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.005345, allocations: 7.922 kB / 280.1 MB, free: 8.977 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.005352, allocations: 4 kB / 280.2 MB, free: 8.973 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.777e-05/0.005399, allocations: 30.98 kB / 280.2 MB, free: 8.945 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002906/0.00569, allocations: 236 kB / 280.4 MB, free: 8.699 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.688e-05/0.005777, allocations: 70.41 kB / 280.5 MB, free: 8.621 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.595e-05/0.005803, allocations: 20.86 kB / 280.5 MB, free: 8.598 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.527e-06/0.005812, allocations: 4 kB / 280.5 MB, free: 8.594 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.005833, allocations: 38.67 kB / 280.5 MB, free: 8.547 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.005834, allocations: 0 / 280.5 MB, free: 8.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006898/0.006524, allocations: 471.2 kB / 281 MB, free: 8.031 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.006554, allocations: 55.41 kB / 281.1 MB, free: 7.965 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.467e-05/0.006618, allocations: 118.6 kB / 281.2 MB, free: 7.836 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.006632, allocations: 33.7 kB / 281.2 MB, free: 7.797 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.56e-05/0.006678, allocations: 104 kB / 281.3 MB, free: 7.691 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.006717, allocations: 59.47 kB / 281.4 MB, free: 7.633 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.006758, allocations: 45.62 kB / 281.4 MB, free: 7.582 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.028e-05/0.006839, allocations: 318.8 kB / 281.7 MB, free: 7.262 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.989e-05/0.006859, allocations: 15.98 kB / 281.7 MB, free: 7.246 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.599e-05/0.006895, allocations: 41.81 kB / 281.8 MB, free: 7.199 MB / 266.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.v = $START.mass1.v ($START.mass2.v = $START.mass1.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.007154, allocations: 155.1 kB / 281.9 MB, free: 7.043 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.007155, allocations: 0 / 281.9 MB, free: 7.043 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001297/0.007284, allocations: 118.4 kB / 282 MB, free: 6.918 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.007295, allocations: 4 kB / 282 MB, free: 6.914 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.007301, allocations: 3.984 kB / 282.1 MB, free: 6.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001218/0.007423, allocations: 24.84 kB / 282.1 MB, free: 6.883 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.456e-05/0.007487, allocations: 27.92 kB / 282.1 MB, free: 6.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007409/0.008228, allocations: 1.368 MB / 283.5 MB, free: 5.406 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.458e-05/0.008263, allocations: 8 kB / 283.5 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.008271, allocations: 7.984 kB / 283.5 MB, free: 5.391 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: mass1.v = $START.mass1.v mass2.s = $START.mass2.s. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 15 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.948e-05/0.00835, allocations: 121.8 kB / 283.6 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.008374, allocations: 15.98 kB / 283.6 MB, free: 5.246 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.979e-05/0.008394, allocations: 12.78 kB / 283.6 MB, free: 5.234 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.008396, allocations: 4 kB / 283.6 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.008401, allocations: 4.078 kB / 283.6 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.008405, allocations: 8.016 kB / 283.7 MB, free: 5.219 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.008734, allocations: 321.9 kB / 284 MB, free: 4.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.008737, allocations: 3.938 kB / 284 MB, free: 4.863 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.413e-05/0.008832, allocations: 31.92 kB / 284 MB, free: 4.832 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-05/0.008882, allocations: 16.84 kB / 284 MB, free: 4.812 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.008892, allocations: 8 kB / 284 MB, free: 4.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005183/0.00941, allocations: 1.158 MB / 285.2 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.009412, allocations: 4 kB / 285.2 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.009582, allocations: 238.7 kB / 285.4 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.278e-06/0.009591, allocations: 11.94 kB / 285.4 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-06/0.009599, allocations: 0 / 285.4 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.249e-05/0.009642, allocations: 12.09 kB / 285.4 MB, free: 3.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-05/0.009661, allocations: 11.98 kB / 285.5 MB, free: 3.258 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.009668, allocations: 8 kB / 285.5 MB, free: 3.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.655e-05/0.009684, allocations: 16.83 kB / 285.5 MB, free: 3.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009684, allocations: 4 kB / 285.5 MB, free: 3.227 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000182/0.009866, allocations: 28 kB / 285.5 MB, free: 3.199 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.v) * 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 (15): * Single equations (assignments): 14 * 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 8.53e-05/0.009952, allocations: 84.36 kB / 285.6 MB, free: 3.109 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002285/0.01018, allocations: 203.4 kB / 285.8 MB, free: 2.895 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.01018, allocations: 0 / 285.8 MB, free: 2.895 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.01029, allocations: 151.4 kB / 285.9 MB, free: 2.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.01046, allocations: 28.11 kB / 286 MB, free: 2.703 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003996/0.01086, allocations: 319.3 kB / 286.3 MB, free: 2.355 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.215e-05/0.0109, allocations: 67.84 kB / 286.3 MB, free: 2.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.501e-05/0.01094, allocations: 16.42 kB / 286.4 MB, free: 2.254 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.444e-05/0.011, allocations: 71.36 kB / 286.4 MB, free: 2.184 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.011, allocations: 0 / 286.4 MB, free: 2.184 MB / 266.7 MB Notification: Performance of Templates: time 0.003354/0.01435, allocations: 1.641 MB / 288.1 MB, free: 0.6172 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.789711942896247]