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.0009995/0.0009995, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001282/0.002282, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001006/0.001006, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001253/0.002259, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9919/0.9919, allocations: 177.1 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08157/1.073, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.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.001861/0.001861, allocations: 428.1 kB / 244.4 MB, free: 14.45 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001293/0.003154, allocations: 0.5728 MB / 245 MB, free: 13.88 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.302e-06/1.302e-06, allocations: 0 / 246.2 MB, free: 12.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.086e-05/1.216e-05, allocations: 5.828 kB / 246.2 MB, free: 12.62 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.001686/0.001698, allocations: 1.738 MB / 248 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001338/0.001832, allocations: 99.61 kB / 248 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.019e-05/0.001872, allocations: 0 / 248 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.404e-05/0.001906, allocations: 19.8 kB / 248.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.321e-05/0.001959, allocations: 27.72 kB / 248.1 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.787e-05/0.002017, allocations: 23.97 kB / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.385e-05/0.002111, allocations: 115.4 kB / 248.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.614e-05/0.002197, allocations: 19.97 kB / 248.3 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.215e-05/0.002279, allocations: 71.86 kB / 248.3 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.07e-05/0.00235, allocations: 35.91 kB / 248.4 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.002371, allocations: 8 kB / 248.4 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.002382, allocations: 8 kB / 248.4 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.002401, allocations: 15.94 kB / 248.4 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.051e-05/0.002432, allocations: 31.94 kB / 248.4 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.002535, allocations: 63.77 kB / 248.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.171e-05/0.002547, allocations: 0 / 248.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.002548, allocations: 0 / 248.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.002558, allocations: 0 / 248.5 MB, free: 10.34 MB / 250.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.0003395/0.002898, allocations: 332.4 kB / 248.8 MB, free: 9.988 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.495e-05/0.002923, allocations: 8.031 kB / 248.8 MB, free: 9.98 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.002955, allocations: 16.92 kB / 248.8 MB, free: 9.965 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.003061, allocations: 129.6 kB / 249 MB, free: 9.812 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-06/0.003069, allocations: 4.562 kB / 249 MB, free: 9.809 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.003091, allocations: 16.31 kB / 249 MB, free: 9.793 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.586e-05/0.003177, allocations: 74.7 kB / 249.1 MB, free: 9.715 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.003184, allocations: 0 / 249.1 MB, free: 9.715 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.003192, allocations: 4 kB / 249.1 MB, free: 9.711 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.003197, allocations: 4 kB / 249.1 MB, free: 9.707 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.134e-05/0.003238, allocations: 23.98 kB / 249.1 MB, free: 9.684 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002722/0.00351, allocations: 236 kB / 249.3 MB, free: 9.438 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.827e-05/0.003608, allocations: 70.47 kB / 249.4 MB, free: 9.359 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.368e-05/0.003632, allocations: 16.86 kB / 249.4 MB, free: 9.34 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-06/0.003639, allocations: 0 / 249.4 MB, free: 9.34 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.00366, allocations: 42.69 kB / 249.4 MB, free: 9.289 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 7.21e-07/0.003661, allocations: 0 / 249.4 MB, free: 9.289 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006432/0.004304, allocations: 471.6 kB / 249.9 MB, free: 8.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.004327, allocations: 51.41 kB / 250 MB, free: 8.707 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.355e-05/0.00438, allocations: 118.7 kB / 250.1 MB, free: 8.578 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.697e-06/0.004389, allocations: 25.7 kB / 250.1 MB, free: 8.547 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.004427, allocations: 104.2 kB / 250.2 MB, free: 8.441 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.004456, allocations: 67.41 kB / 250.3 MB, free: 8.375 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.00449, allocations: 41.62 kB / 250.3 MB, free: 8.328 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.004613, allocations: 322.8 kB / 250.6 MB, free: 8.004 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.52e-05/0.004628, allocations: 8 kB / 250.6 MB, free: 7.996 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.092e-05/0.004659, allocations: 46.48 kB / 250.7 MB, free: 7.941 MB / 250.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.0002362/0.004895, allocations: 161.3 kB / 250.8 MB, free: 7.777 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.004896, allocations: 0 / 250.8 MB, free: 7.777 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001036/0.004999, allocations: 118.3 kB / 250.9 MB, free: 7.652 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/0.005008, allocations: 4 kB / 250.9 MB, free: 7.648 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.005012, allocations: 0 / 250.9 MB, free: 7.648 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.289e-05/0.005095, allocations: 28.84 kB / 251 MB, free: 7.617 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.977e-05/0.005155, allocations: 31.92 kB / 251 MB, free: 7.586 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007347/0.00589, allocations: 1.371 MB / 252.4 MB, free: 6.129 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.294e-05/0.005913, allocations: 0 / 252.4 MB, free: 6.129 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.005918, allocations: 8 kB / 252.4 MB, free: 6.121 MB / 250.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 5.663e-05/0.005975, allocations: 117 kB / 252.5 MB, free: 6 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.005994, allocations: 15.97 kB / 252.5 MB, free: 5.984 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.95e-05/0.006013, allocations: 16.78 kB / 252.5 MB, free: 5.969 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.006014, allocations: 0 / 252.5 MB, free: 5.969 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.006018, allocations: 3.938 kB / 252.5 MB, free: 5.965 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.006021, allocations: 4.031 kB / 252.5 MB, free: 5.961 MB / 250.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.0002654/0.006286, allocations: 334.1 kB / 252.9 MB, free: 5.598 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.006289, allocations: 8 kB / 252.9 MB, free: 5.59 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.3e-05/0.006362, allocations: 27.98 kB / 252.9 MB, free: 5.562 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-06/0.006371, allocations: 7.953 kB / 252.9 MB, free: 5.555 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.89e-05/0.006409, allocations: 16.84 kB / 252.9 MB, free: 5.535 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.006417, allocations: 8.094 kB / 252.9 MB, free: 5.527 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004267/0.006843, allocations: 1.159 MB / 254.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.006846, allocations: 7.938 kB / 254.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.00699, allocations: 233.6 kB / 254.3 MB, free: 4.023 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.356e-06/0.006998, allocations: 4 kB / 254.3 MB, free: 4.02 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.92e-05/0.007037, allocations: 16.03 kB / 254.3 MB, free: 4.004 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.007056, allocations: 19.91 kB / 254.4 MB, free: 3.984 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.007061, allocations: 4 kB / 254.4 MB, free: 3.98 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.13e-05/0.007073, allocations: 8.859 kB / 254.4 MB, free: 3.969 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007073, allocations: 0 / 254.4 MB, free: 3.969 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001672/0.00724, allocations: 36 kB / 254.4 MB, free: 3.934 MB / 250.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 6.125e-05/0.007301, allocations: 73.3 kB / 254.5 MB, free: 3.855 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.007501, allocations: 207.4 kB / 254.7 MB, free: 3.637 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.007508, allocations: 0 / 254.7 MB, free: 3.637 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.966e-05/0.007588, allocations: 167.2 kB / 254.8 MB, free: 3.461 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.007742, allocations: 37 kB / 254.9 MB, free: 3.426 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007272/0.008469, allocations: 287.5 kB / 255.2 MB, free: 3.105 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.676e-05/0.008506, allocations: 67.84 kB / 255.2 MB, free: 3.02 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.448e-05/0.00854, allocations: 20.41 kB / 255.3 MB, free: 3 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.674e-05/0.008597, allocations: 67.36 kB / 255.3 MB, free: 2.934 MB / 250.7 MB Notification: Performance of SimCode: time 4.31e-07/0.008598, allocations: 0 / 255.3 MB, free: 2.934 MB / 250.7 MB Notification: Performance of Templates: time 0.003106/0.0117, allocations: 1.665 MB / 257 MB, free: 1.34 MB / 250.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 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.430627345107496]