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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001304, allocations: 109.5 kB / 17.08 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 245.7 MB, free: 4.238 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.1222/0.1222, allocations: 0.5566 MB / 298.5 MB, free: 4.68 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001976/0.001977, allocations: 67.89 kB / 411.8 MB, free: 1.816 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3048, allocations: 49.59 MB / 461.4 MB, free: 23.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.002533/0.3073, allocations: 1.647 MB / 463 MB, free: 22.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002542/0.3076, allocations: 93.2 kB / 463.1 MB, free: 22.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.564e-05/0.3077, allocations: 7.156 kB / 463.1 MB, free: 22.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.11e-05/0.3078, allocations: 10.03 kB / 463.1 MB, free: 22.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.759e-05/0.3079, allocations: 31.66 kB / 463.2 MB, free: 22.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001224/0.308, allocations: 33.81 kB / 463.2 MB, free: 22.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.3081, allocations: 104.4 kB / 463.3 MB, free: 22.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.3083, allocations: 35.33 kB / 463.3 MB, free: 22.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.671e-05/0.3083, allocations: 46.62 kB / 463.4 MB, free: 22.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.062e-05/0.3084, allocations: 50.92 kB / 463.4 MB, free: 22.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.3085, allocations: 6.25 kB / 463.4 MB, free: 22.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.973e-05/0.3085, allocations: 9.344 kB / 463.5 MB, free: 22.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.216e-05/0.3085, allocations: 18.39 kB / 463.5 MB, free: 22.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.006e-05/0.3086, allocations: 49.98 kB / 463.5 MB, free: 22.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.3087, allocations: 108.3 kB / 463.6 MB, free: 22.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3087, allocations: 0 / 463.6 MB, free: 22.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3088, allocations: 0 / 463.6 MB, free: 22.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.3088, allocations: 0 / 463.6 MB, free: 22.35 MB / 350.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.0004312/0.3092, allocations: 411.5 kB / 464 MB, free: 21.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.3092, allocations: 13.39 kB / 464 MB, free: 21.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.3093, allocations: 11.36 kB / 464.1 MB, free: 21.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.3094, allocations: 185.5 kB / 464.2 MB, free: 21.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.3094, allocations: 7.812 kB / 464.2 MB, free: 21.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.3095, allocations: 10.75 kB / 464.3 MB, free: 21.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.3097, allocations: 96.73 kB / 464.3 MB, free: 21.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.3097, allocations: 4 kB / 464.4 MB, free: 21.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.3097, allocations: 4 kB / 464.4 MB, free: 21.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3097, allocations: 3.219 kB / 464.4 MB, free: 21.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.3098, allocations: 57.42 kB / 464.4 MB, free: 21.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004505/0.3103, allocations: 383.4 kB / 464.8 MB, free: 21.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.3105, allocations: 108.3 kB / 464.9 MB, free: 21.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.289e-05/0.3105, allocations: 39.97 kB / 464.9 MB, free: 21.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.3106, allocations: 3.188 kB / 464.9 MB, free: 21.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.3106, allocations: 34.56 kB / 465 MB, free: 21.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.3106, allocations: 0 / 465 MB, free: 21.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009425/0.3115, allocations: 0.6927 MB / 465.7 MB, free: 20.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.3116, allocations: 54.69 kB / 465.7 MB, free: 20.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.694e-05/0.3116, allocations: 123.2 kB / 465.8 MB, free: 20.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.3117, allocations: 29.7 kB / 465.9 MB, free: 20.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/0.3117, allocations: 94.83 kB / 466 MB, free: 20.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.3117, allocations: 60.33 kB / 466 MB, free: 20.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.3118, allocations: 34.47 kB / 466.1 MB, free: 20.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.891e-05/0.3118, allocations: 321.7 kB / 466.4 MB, free: 19.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.38e-05/0.3119, allocations: 37.77 kB / 466.4 MB, free: 19.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.563e-05/0.312, allocations: 62.53 kB / 466.5 MB, free: 19.85 MB / 350.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.0006577/0.3126, allocations: 411.8 kB / 466.9 MB, free: 19.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3126, allocations: 7.938 kB / 466.9 MB, free: 19.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002251/0.3129, allocations: 163.3 kB / 467 MB, free: 19.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3129, allocations: 6.031 kB / 467 MB, free: 19.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3129, allocations: 7.094 kB / 467 MB, free: 19.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000128/0.313, allocations: 32.8 kB / 467.1 MB, free: 19.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.49e-05/0.3131, allocations: 23.7 kB / 467.1 MB, free: 19.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008505/0.314, allocations: 1.618 MB / 468.7 MB, free: 17.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.3141, allocations: 0 / 468.7 MB, free: 17.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.3141, allocations: 10 kB / 468.7 MB, free: 17.82 MB / 350.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 8.555e-05/0.3142, allocations: 135 kB / 468.9 MB, free: 17.69 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.3142, allocations: 9.922 kB / 468.9 MB, free: 17.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.896e-05/0.3142, allocations: 12.84 kB / 468.9 MB, free: 17.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3142, allocations: 7.094 kB / 468.9 MB, free: 17.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3142, allocations: 0 / 468.9 MB, free: 17.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3143, allocations: 2.719 kB / 468.9 MB, free: 17.67 MB / 350.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.0004879/0.3148, allocations: 0.5898 MB / 469.5 MB, free: 17.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3148, allocations: 7.219 kB / 469.5 MB, free: 17.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.3149, allocations: 36.34 kB / 469.5 MB, free: 17.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.828e-05/0.315, allocations: 17.86 kB / 469.5 MB, free: 17.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.315, allocations: 7.219 kB / 469.5 MB, free: 17.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005598/0.3155, allocations: 1.369 MB / 470.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3155, allocations: 3 kB / 470.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.3158, allocations: 304.4 kB / 471.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.644e-05/0.3159, allocations: 87.34 kB / 471.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.3159, allocations: 4 kB / 471.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.574e-05/0.316, allocations: 6.906 kB / 471.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.389e-05/0.316, allocations: 13.31 kB / 471.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.316, allocations: 3 kB / 471.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.711e-05/0.316, allocations: 97.45 kB / 471.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.316, allocations: 3 kB / 471.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003015/0.3163, allocations: 28.09 kB / 471.5 MB, free: 15.27 MB / 350.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 9.399e-05/0.3164, allocations: 109.7 kB / 471.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003679/0.3168, allocations: 226.3 kB / 471.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3168, allocations: 0 / 471.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.317, allocations: 172.9 kB / 472 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.3173, allocations: 26 kB / 472 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005564/0.3179, allocations: 428.2 kB / 472.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.318, allocations: 0.7043 MB / 473.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.3181, allocations: 13.81 kB / 473.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3181, allocations: 0 / 473.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of Templates: time 0.00367/0.3217, allocations: 1.968 MB / 475.1 MB, free: 13.67 MB / 350.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: 7.439595989068039] Failed to read output from testmodel.py, exit status != 0: 0.3292706939391792 0.34051749299999995 0.029411127000000002 Calling exit ...