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.001326/0.001326, allocations: 78.72 kB / 19.18 MB, free: 2.523 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.001466/0.001466, allocations: 166.9 kB / 22.46 MB, free: 5.371 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.421/1.421, allocations: 177.2 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.002753/0.002753, allocations: 429.9 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.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 / 382.3 MB, free: 4.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.734e-05, allocations: 2.281 kB / 382.3 MB, free: 4.227 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.002934/0.002962, allocations: 1.603 MB / 383.9 MB, free: 2.605 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003037/0.003266, allocations: 103.6 kB / 384 MB, free: 2.504 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.993e-05/0.003325, allocations: 0 / 384 MB, free: 2.504 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.163e-05/0.003377, allocations: 15.86 kB / 384 MB, free: 2.488 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.952e-05/0.003477, allocations: 31.66 kB / 384 MB, free: 2.457 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001213/0.003598, allocations: 31.89 kB / 384 MB, free: 2.426 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.00375, allocations: 115.4 kB / 384.2 MB, free: 2.312 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.003882, allocations: 31.91 kB / 384.2 MB, free: 2.281 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.003996, allocations: 55.89 kB / 384.2 MB, free: 2.227 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.222e-05/0.004088, allocations: 31.89 kB / 384.3 MB, free: 2.195 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.004126, allocations: 12 kB / 384.3 MB, free: 2.184 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.937e-05/0.004155, allocations: 12 kB / 384.3 MB, free: 2.172 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.762e-05/0.004183, allocations: 19.91 kB / 384.3 MB, free: 2.152 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.625e-05/0.004239, allocations: 35.92 kB / 384.4 MB, free: 2.117 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.004403, allocations: 103.7 kB / 384.5 MB, free: 2.016 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004405, allocations: 0 / 384.5 MB, free: 2.016 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004405, allocations: 0 / 384.5 MB, free: 2.016 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.004409, allocations: 0 / 384.5 MB, free: 2.016 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005405/0.00495, allocations: 322.2 kB / 384.8 MB, free: 1.668 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.004985, allocations: 12.03 kB / 384.8 MB, free: 1.656 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.005025, allocations: 16.84 kB / 384.8 MB, free: 1.641 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.005214, allocations: 133.6 kB / 384.9 MB, free: 1.484 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.005223, allocations: 4.562 kB / 384.9 MB, free: 1.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.005258, allocations: 12.33 kB / 384.9 MB, free: 1.469 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.005453, allocations: 101.7 kB / 385 MB, free: 1.367 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.005467, allocations: 0 / 385 MB, free: 1.367 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.005479, allocations: 0 / 385 MB, free: 1.367 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.005486, allocations: 4 kB / 385.1 MB, free: 1.363 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.005609, allocations: 55.91 kB / 385.1 MB, free: 1.309 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005331/0.006142, allocations: 312.3 kB / 385.4 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.006342, allocations: 102.6 kB / 385.5 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.938e-05/0.006412, allocations: 36.78 kB / 385.5 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.006424, allocations: 4 kB / 385.6 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.006457, allocations: 34.56 kB / 385.6 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/0.006459, allocations: 0 / 385.6 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001136/0.007595, allocations: 0.5331 MB / 386.1 MB, free: 196 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.007639, allocations: 59.34 kB / 386.2 MB, free: 124 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.007765, allocations: 121.8 kB / 386.3 MB, free: 15.99 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.007786, allocations: 25.7 kB / 386.3 MB, free: 15.96 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.287e-05/0.007859, allocations: 107.7 kB / 386.4 MB, free: 15.85 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.238e-05/0.007911, allocations: 63.44 kB / 386.5 MB, free: 15.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.007969, allocations: 33.72 kB / 386.5 MB, free: 15.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.008109, allocations: 318.8 kB / 386.8 MB, free: 15.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.546e-05/0.008184, allocations: 39.92 kB / 386.9 MB, free: 15.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.029e-05/0.008274, allocations: 62.55 kB / 386.9 MB, free: 15.32 MB / 318.1 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.0007218/0.008996, allocations: 254.4 kB / 387.2 MB, free: 15.06 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.008999, allocations: 3.984 kB / 387.2 MB, free: 15.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002977/0.009297, allocations: 161.9 kB / 387.3 MB, free: 14.89 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.009311, allocations: 4 kB / 387.3 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.009318, allocations: 4 kB / 387.3 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001296/0.009447, allocations: 24.88 kB / 387.4 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.009553, allocations: 31.92 kB / 387.4 MB, free: 14.83 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.01093, allocations: 1.481 MB / 388.9 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.679e-05/0.01099, allocations: 8.031 kB / 388.9 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.011, allocations: 8 kB / 388.9 MB, free: 13.23 MB / 318.1 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 0.0001315/0.01113, allocations: 126.5 kB / 389 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.01117, allocations: 15.95 kB / 389 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.0112, allocations: 12.78 kB / 389.1 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.01121, allocations: 4 kB / 389.1 MB, free: 13.06 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.01121, allocations: 0 / 389.1 MB, free: 13.06 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01122, allocations: 0 / 389.1 MB, free: 13.06 MB / 318.1 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.0006496/0.01186, allocations: 441.2 kB / 389.5 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.01187, allocations: 3.938 kB / 389.5 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.01201, allocations: 27.98 kB / 389.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.36e-05/0.01208, allocations: 24.94 kB / 389.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.01209, allocations: 0 / 389.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.0131, allocations: 1.248 MB / 390.8 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.01311, allocations: 4.031 kB / 390.8 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.01351, allocations: 302 kB / 391.1 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.501e-05/0.01352, allocations: 12.2 kB / 391.1 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.01354, allocations: 8 kB / 391.1 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.306e-05/0.01363, allocations: 0 / 391.1 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.01367, allocations: 19.91 kB / 391.1 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.01367, allocations: 4 kB / 391.1 MB, free: 10.8 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.906e-05/0.01373, allocations: 91.59 kB / 391.2 MB, free: 10.71 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01373, allocations: 0 / 391.2 MB, free: 10.71 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003457/0.01408, allocations: 32 kB / 391.3 MB, free: 10.68 MB / 318.1 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 0.000122/0.0142, allocations: 103.2 kB / 391.4 MB, free: 10.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004258/0.01463, allocations: 222.5 kB / 391.6 MB, free: 10.34 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.01463, allocations: 0 / 391.6 MB, free: 10.34 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.01485, allocations: 170.5 kB / 391.7 MB, free: 10.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.0152, allocations: 31.16 kB / 391.8 MB, free: 10.14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006469/0.01585, allocations: 340.3 kB / 392.1 MB, free: 9.77 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.795e-05/0.01594, allocations: 88.81 kB / 392.2 MB, free: 9.66 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.908e-05/0.01599, allocations: 8.641 kB / 392.2 MB, free: 9.648 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.01603, allocations: 16.5 kB / 392.2 MB, free: 9.633 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.01603, allocations: 0 / 392.2 MB, free: 9.633 MB / 318.1 MB Notification: Performance of Templates: time 0.004927/0.02096, allocations: 1.48 MB / 393.7 MB, free: 8.223 MB / 318.1 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=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.068304248154163] Failed to read output from testmodel.py, exit status != 0: 0.029369167983531952 0.044820478000000004 0.037254486 Calling exit ...