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.0008273/0.0008273, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.0009364/0.0009364, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.003/1.003, allocations: 177.1 MB / 204.5 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.002244/0.002244, allocations: 427.9 kB / 261.5 MB, free: 12.47 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.473e-06/1.473e-06, allocations: 0 / 331.3 MB, free: 4.094 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.785e-05, allocations: 13 kB / 331.3 MB, free: 4.082 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.001774/0.001802, allocations: 0.5227 MB / 331.9 MB, free: 3.559 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001813/0.001983, allocations: 19.86 kB / 331.9 MB, free: 3.539 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.972e-05/0.002013, allocations: 0 / 331.9 MB, free: 3.539 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.679e-05/0.002029, allocations: 4 kB / 331.9 MB, free: 3.535 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.532e-05/0.002065, allocations: 4 kB / 331.9 MB, free: 3.531 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001241/0.002189, allocations: 11.91 kB / 331.9 MB, free: 3.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.073e-05/0.00225, allocations: 19.92 kB / 331.9 MB, free: 3.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.875e-05/0.002298, allocations: 4 kB / 331.9 MB, free: 3.496 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.198e-05/0.00234, allocations: 11.98 kB / 331.9 MB, free: 3.484 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.52e-05/0.002405, allocations: 11.97 kB / 331.9 MB, free: 3.473 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.002422, allocations: 0 / 331.9 MB, free: 3.473 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-06/0.00243, allocations: 0 / 331.9 MB, free: 3.473 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.86e-05/0.002449, allocations: 7.938 kB / 332 MB, free: 3.465 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.647e-05/0.002465, allocations: 4 kB / 332 MB, free: 3.461 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.516e-05/0.00253, allocations: 15.97 kB / 332 MB, free: 3.445 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.002533, allocations: 4 kB / 332 MB, free: 3.441 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.002533, allocations: 0 / 332 MB, free: 3.441 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.002537, allocations: 0 / 332 MB, free: 3.441 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.0003563/0.002894, allocations: 356.6 kB / 332.3 MB, free: 3.055 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.00294, allocations: 12.03 kB / 332.3 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.002975, allocations: 8.938 kB / 332.3 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.327e-05/0.003068, allocations: 108.6 kB / 332.5 MB, free: 2.902 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.003081, allocations: 4.312 kB / 332.5 MB, free: 2.898 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.003101, allocations: 4.375 kB / 332.5 MB, free: 2.895 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.714e-05/0.003188, allocations: 46.19 kB / 332.5 MB, free: 2.844 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.003202, allocations: 8.141 kB / 332.5 MB, free: 2.836 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.003209, allocations: 384 / 332.5 MB, free: 2.836 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.003215, allocations: 384 / 332.5 MB, free: 2.836 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.714e-05/0.003252, allocations: 23.91 kB / 332.5 MB, free: 2.812 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003251/0.003578, allocations: 248.5 kB / 332.8 MB, free: 2.543 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.802e-05/0.003666, allocations: 50.97 kB / 332.8 MB, free: 2.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.916e-05/0.003685, allocations: 11.69 kB / 332.8 MB, free: 2.465 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.003692, allocations: 0 / 332.8 MB, free: 2.465 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.003713, allocations: 33.39 kB / 332.9 MB, free: 2.422 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.003714, allocations: 0 / 332.9 MB, free: 2.422 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003244/0.004039, allocations: 93.31 kB / 333 MB, free: 2.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.004068, allocations: 51.41 kB / 333 MB, free: 2.258 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.004269, allocations: 157.9 kB / 333.2 MB, free: 2.086 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.004282, allocations: 29.7 kB / 333.2 MB, free: 2.051 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.21e-05/0.004334, allocations: 134.8 kB / 333.3 MB, free: 1.914 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.004358, allocations: 15.84 kB / 333.3 MB, free: 1.898 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.004396, allocations: 23.38 kB / 333.4 MB, free: 1.867 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.004548, allocations: 0.4884 MB / 333.9 MB, free: 1.367 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.004563, allocations: 4 kB / 333.9 MB, free: 1.363 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.947e-05/0.004593, allocations: 27.36 kB / 333.9 MB, free: 1.328 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.265e-05/0.004656, allocations: 35.31 kB / 333.9 MB, free: 1.285 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.004659, allocations: 0 / 333.9 MB, free: 1.285 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001018/0.00476, allocations: 57.56 kB / 334 MB, free: 1.223 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.004781, allocations: 8 kB / 334 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.004786, allocations: 0 / 334 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.004799, allocations: 0 / 334 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.812e-05/0.004887, allocations: 15.98 kB / 334 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.00489, allocations: 0 / 334 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.35e-05/0.004914, allocations: 11.98 kB / 334 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.00492, allocations: 4 kB / 334 MB, free: 1.184 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 8.989e-05/0.00501, allocations: 152.6 kB / 334.2 MB, free: 1.023 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.005043, allocations: 7.938 kB / 334.2 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.957e-05/0.005083, allocations: 7.688 kB / 334.2 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.005086, allocations: 0 / 334.2 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.005093, allocations: 3.938 kB / 334.2 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.0051, allocations: 0 / 334.2 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.005265, allocations: 105.2 kB / 334.3 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.005267, allocations: 0 / 334.3 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.705e-05/0.005314, allocations: 0 / 334.3 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001765/0.005491, allocations: 32.03 kB / 334.3 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.005502, allocations: 0 / 334.3 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.006713, allocations: 1.709 MB / 336 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.006714, allocations: 4 kB / 336 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.006909, allocations: 227.7 kB / 336.3 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-06/0.006916, allocations: 7.938 kB / 336.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/0.006926, allocations: 0 / 336.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.678e-05/0.006972, allocations: 0 / 336.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.006987, allocations: 4 kB / 336.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.006991, allocations: 0 / 336.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.634e-05/0.007038, allocations: 131.1 kB / 336.4 MB, free: 14.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007038, allocations: 0 / 336.4 MB, free: 14.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002608/0.007299, allocations: 8 kB / 336.4 MB, free: 14.61 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 9.78e-05/0.007396, allocations: 95.28 kB / 336.5 MB, free: 14.51 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.05e-05/0.007477, allocations: 27.67 kB / 336.5 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.007479, allocations: 0 / 336.5 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005086/0.007988, allocations: 193.5 kB / 336.7 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.008218, allocations: 7.938 kB / 336.7 MB, free: 14.26 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002181/0.008437, allocations: 130.7 kB / 336.8 MB, free: 14.1 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.39e-05/0.00848, allocations: 59.34 kB / 336.9 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.233e-05/0.008503, allocations: 4 kB / 336.9 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.008544, allocations: 66.27 kB / 337 MB, free: 13.95 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/0.008545, allocations: 8 kB / 337 MB, free: 13.95 MB / 314.7 MB Notification: Performance of Templates: time 0.002778/0.01132, allocations: 0.5527 MB / 337.5 MB, free: 13.45 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.7323341500014067]