Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.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.001861/0.001861, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.002155/0.002155, allocations: 174 kB / 22.46 MB, free: 5.355 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.441/1.441, allocations: 177.1 MB / 202.8 MB, free: 9.164 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.002848/0.002848, allocations: 424.2 kB / 259.6 MB, free: 280 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.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 382.3 MB, free: 4.215 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.847e-05, allocations: 2.281 kB / 382.3 MB, free: 4.211 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.002861/0.002879, allocations: 1.634 MB / 383.9 MB, free: 2.562 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000309/0.003188, allocations: 91.69 kB / 384 MB, free: 2.473 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.456e-05/0.003253, allocations: 0 / 384 MB, free: 2.473 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.929e-05/0.003302, allocations: 15.86 kB / 384 MB, free: 2.457 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.003426, allocations: 35.64 kB / 384.1 MB, free: 2.422 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.003554, allocations: 35.83 kB / 384.1 MB, free: 2.387 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.003711, allocations: 107.5 kB / 384.2 MB, free: 2.281 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.003842, allocations: 27.91 kB / 384.2 MB, free: 2.254 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.003965, allocations: 63.88 kB / 384.3 MB, free: 2.191 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.786e-05/0.004053, allocations: 31.89 kB / 384.3 MB, free: 2.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.004078, allocations: 8 kB / 384.3 MB, free: 2.152 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.519e-05/0.004103, allocations: 16 kB / 384.3 MB, free: 2.137 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.571e-05/0.004129, allocations: 15.92 kB / 384.4 MB, free: 2.121 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.104e-05/0.00419, allocations: 35.92 kB / 384.4 MB, free: 2.086 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.004357, allocations: 107.6 kB / 384.5 MB, free: 1.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.00436, allocations: 0 / 384.5 MB, free: 1.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.004361, allocations: 0 / 384.5 MB, free: 1.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.004365, allocations: 0 / 384.5 MB, free: 1.98 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.000524/0.004889, allocations: 318.2 kB / 384.8 MB, free: 1.637 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.004925, allocations: 8.031 kB / 384.8 MB, free: 1.629 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.004971, allocations: 20.84 kB / 384.8 MB, free: 1.609 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.005148, allocations: 125.7 kB / 385 MB, free: 1.461 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.005164, allocations: 8.562 kB / 385 MB, free: 1.453 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.005197, allocations: 12.33 kB / 385 MB, free: 1.441 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.005396, allocations: 94.72 kB / 385.1 MB, free: 1.344 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.005411, allocations: 4 kB / 385.1 MB, free: 1.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.005425, allocations: 4 kB / 385.1 MB, free: 1.336 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.005434, allocations: 4 kB / 385.1 MB, free: 1.332 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.005566, allocations: 59.89 kB / 385.1 MB, free: 1.273 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005342/0.0061, allocations: 308.3 kB / 385.4 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.006312, allocations: 94.62 kB / 385.5 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.26e-05/0.006385, allocations: 40.78 kB / 385.6 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.006401, allocations: 0 / 385.6 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.006432, allocations: 34.56 kB / 385.6 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.143e-06/0.006433, allocations: 0 / 385.6 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001162/0.007595, allocations: 0.5278 MB / 386.1 MB, free: 172 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.007645, allocations: 59.34 kB / 386.2 MB, free: 100 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.007769, allocations: 121.8 kB / 386.3 MB, free: 15.97 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.007792, allocations: 29.7 kB / 386.3 MB, free: 15.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.035e-05/0.007863, allocations: 99.81 kB / 386.4 MB, free: 15.83 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.894e-05/0.007922, allocations: 67.42 kB / 386.5 MB, free: 15.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-05/0.007984, allocations: 41.64 kB / 386.5 MB, free: 15.72 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.00813, allocations: 318.8 kB / 386.9 MB, free: 15.4 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.156e-05/0.008201, allocations: 35.98 kB / 386.9 MB, free: 15.36 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.894e-05/0.00829, allocations: 58.56 kB / 386.9 MB, free: 15.3 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.0007371/0.009027, allocations: 257.8 kB / 387.2 MB, free: 15.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.009028, allocations: 4 kB / 387.2 MB, free: 15.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002905/0.009319, allocations: 158.3 kB / 387.4 MB, free: 14.87 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.009334, allocations: 4 kB / 387.4 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.009345, allocations: 7.984 kB / 387.4 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001428/0.009488, allocations: 32.88 kB / 387.4 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.009594, allocations: 27.92 kB / 387.4 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.01099, allocations: 1.477 MB / 388.9 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.648e-05/0.01105, allocations: 8.031 kB / 388.9 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.01106, allocations: 4 kB / 388.9 MB, free: 13.2 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.000138/0.01119, allocations: 126.5 kB / 389 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.01123, allocations: 15.95 kB / 389.1 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.893e-05/0.01127, allocations: 16.77 kB / 389.1 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.01127, allocations: 4 kB / 389.1 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.01128, allocations: 0 / 389.1 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.01128, allocations: 0 / 389.1 MB, free: 13.04 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.0006865/0.01197, allocations: 437.2 kB / 389.5 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.01197, allocations: 3.984 kB / 389.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.0121, allocations: 24 kB / 389.5 MB, free: 12.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.478e-05/0.01218, allocations: 25.08 kB / 389.6 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.01219, allocations: 3.938 kB / 389.6 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.01326, allocations: 1.252 MB / 390.8 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.01327, allocations: 4.031 kB / 390.8 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003908/0.01366, allocations: 307.3 kB / 391.1 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.406e-05/0.01367, allocations: 12.2 kB / 391.1 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.0137, allocations: 7.984 kB / 391.1 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.639e-05/0.01379, allocations: 4 kB / 391.1 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.01382, allocations: 11.92 kB / 391.2 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.01383, allocations: 12.38 kB / 391.2 MB, free: 10.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.202e-05/0.01389, allocations: 95.2 kB / 391.3 MB, free: 10.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 5e-08/0.01389, allocations: 0 / 391.3 MB, free: 10.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003342/0.01423, allocations: 32 kB / 391.3 MB, free: 10.64 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.0001256/0.01435, allocations: 99.19 kB / 391.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004373/0.01479, allocations: 226.5 kB / 391.6 MB, free: 10.3 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01479, allocations: 0 / 391.6 MB, free: 10.3 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.015, allocations: 166.5 kB / 391.8 MB, free: 10.13 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.01535, allocations: 20.42 kB / 391.8 MB, free: 10.11 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006106/0.01596, allocations: 344.2 kB / 392.1 MB, free: 9.738 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.134e-05/0.01605, allocations: 88.81 kB / 392.2 MB, free: 9.629 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.804e-05/0.0161, allocations: 8.641 kB / 392.2 MB, free: 9.617 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/0.01614, allocations: 16.5 kB / 392.2 MB, free: 9.602 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.01614, allocations: 0 / 392.2 MB, free: 9.602 MB / 318.1 MB Notification: Performance of Templates: time 0.00487/0.02101, allocations: 1.492 MB / 393.7 MB, free: 8.191 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.15342303365469] Failed to read output from testmodel.py, exit status != 0: 0.029114488512277603 0.044563916 0.037044532000000005 Calling exit ...