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.001258/0.001258, allocations: 109.5 kB / 19.7 MB, free: 2.266 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.001404/0.001404, allocations: 216.8 kB / 23.01 MB, free: 4.594 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.345/1.345, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.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.0027/0.0027, allocations: 0.5751 MB / 313.8 MB, free: 2.512 MB / 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 0.00185/0.00185, allocations: 63.89 kB / 436.4 MB, free: 16.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09034/0.09219, allocations: 53.52 MB / 489.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.003229/0.09542, allocations: 1.678 MB / 491.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003237/0.09575, allocations: 95.69 kB / 491.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.58e-05/0.09582, allocations: 4 kB / 491.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.906e-05/0.09588, allocations: 11.86 kB / 491.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.09601, allocations: 39.69 kB / 491.8 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001321/0.09614, allocations: 19.92 kB / 491.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.0963, allocations: 111.5 kB / 491.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.09644, allocations: 27.97 kB / 491.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.137e-05/0.09652, allocations: 39.86 kB / 492 MB, free: 8.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.09663, allocations: 43.84 kB / 492 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.09665, allocations: 8 kB / 492 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.153e-05/0.09667, allocations: 12 kB / 492 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.696e-05/0.0967, allocations: 19.92 kB / 492 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.547e-05/0.09677, allocations: 55.72 kB / 492.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.09695, allocations: 107.5 kB / 492.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.09695, allocations: 3.984 kB / 492.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.09695, allocations: 4 kB / 492.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.09696, allocations: 0 / 492.2 MB, free: 8.695 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.0005365/0.0975, allocations: 322.2 kB / 492.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.09753, allocations: 8.031 kB / 492.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.09758, allocations: 12.84 kB / 492.5 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.09776, allocations: 126.4 kB / 492.7 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.09777, allocations: 8.562 kB / 492.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.09781, allocations: 20.27 kB / 492.7 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.098, allocations: 89.97 kB / 492.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.09802, allocations: 0 / 492.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.09804, allocations: 8 kB / 492.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.09804, allocations: 0 / 492.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.09816, allocations: 61.47 kB / 492.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005683/0.09873, allocations: 359.7 kB / 493.2 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.09891, allocations: 90.55 kB / 493.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.075e-05/0.09897, allocations: 36.8 kB / 493.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.09898, allocations: 0 / 493.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.099, allocations: 42.5 kB / 493.4 MB, free: 7.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 7.72e-07/0.09901, allocations: 0 / 493.4 MB, free: 7.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001074/0.1001, allocations: 0.5381 MB / 493.9 MB, free: 6.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.1001, allocations: 55.39 kB / 494 MB, free: 6.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.1002, allocations: 125.8 kB / 494.1 MB, free: 6.617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.1003, allocations: 25.7 kB / 494.1 MB, free: 6.586 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.162e-05/0.1003, allocations: 108.3 kB / 494.2 MB, free: 6.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.833e-05/0.1004, allocations: 59.48 kB / 494.3 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-05/0.1004, allocations: 29.72 kB / 494.3 MB, free: 6.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1006, allocations: 322.8 kB / 494.6 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.546e-05/0.1006, allocations: 35.98 kB / 494.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.297e-05/0.1007, allocations: 62.55 kB / 494.7 MB, free: 5.949 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.0007147/0.1014, allocations: 263.8 kB / 495 MB, free: 5.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1014, allocations: 0 / 495 MB, free: 5.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002889/0.1017, allocations: 170.3 kB / 495.1 MB, free: 5.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1017, allocations: 7.938 kB / 495.1 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.1018, allocations: 0 / 495.1 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001398/0.1019, allocations: 28.84 kB / 495.2 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.102, allocations: 27.98 kB / 495.2 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.1034, allocations: 1.5 MB / 496.7 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.809e-05/0.1035, allocations: 16.03 kB / 496.7 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.1035, allocations: 4 kB / 496.7 MB, free: 3.801 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 0.000138/0.1036, allocations: 140.3 kB / 496.9 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.1036, allocations: 11.91 kB / 496.9 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.625e-05/0.1037, allocations: 12.78 kB / 496.9 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1037, allocations: 4 kB / 496.9 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1037, allocations: 0 / 496.9 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1037, allocations: 0 / 496.9 MB, free: 3.633 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.0007368/0.1044, allocations: 0.5617 MB / 497.5 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.1044, allocations: 4.188 kB / 497.5 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.1046, allocations: 35.92 kB / 497.5 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.86e-05/0.1046, allocations: 24.83 kB / 497.5 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.1046, allocations: 8.094 kB / 497.5 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.1057, allocations: 1.271 MB / 498.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1057, allocations: 0 / 498.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00037/0.1061, allocations: 302.8 kB / 499.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.1061, allocations: 11.97 kB / 499.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.1061, allocations: 0 / 499.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.221e-05/0.1062, allocations: 11.94 kB / 499.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.1062, allocations: 7.984 kB / 499.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.1062, allocations: 11.94 kB / 499.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.061e-05/0.1063, allocations: 91.27 kB / 499.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1063, allocations: 4 kB / 499.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003063/0.1066, allocations: 28 kB / 499.3 MB, free: 1.039 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 0.0001141/0.1067, allocations: 107.2 kB / 499.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004293/0.1071, allocations: 226.5 kB / 499.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1072, allocations: 0 / 499.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.1073, allocations: 162.6 kB / 499.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.1077, allocations: 28.17 kB / 499.8 MB, free: 500 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007341/0.1084, allocations: 433.5 kB / 0.4885 GB, free: 24 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004449/0.1088, allocations: 0.7046 MB / 0.4892 GB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.616e-05/0.1089, allocations: 15.44 kB / 0.4892 GB, free: 15.28 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1089, allocations: 0 / 0.4892 GB, free: 15.28 MB / 366.1 MB Notification: Performance of Templates: time 0.004086/0.113, allocations: 1.978 MB / 0.4911 GB, free: 13.31 MB / 366.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: 6.697568967007101] Failed to read output from testmodel.py, exit status != 0: 0.12048112787306309 0.29074276000000004 0.03614801 Calling exit ...