Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.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.001299/0.001299, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001513/0.001513, allocations: 219.4 kB / 23.01 MB, free: 4.605 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.365/1.365, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.00278/0.00278, allocations: 0.5786 MB / 313.8 MB, free: 2.523 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.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 71.89 kB / 436.4 MB, free: 16.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09411/0.09602, allocations: 53.52 MB / 489.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.003185/0.0992, allocations: 1.677 MB / 491.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003226/0.09953, allocations: 103.6 kB / 491.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.298e-05/0.09961, allocations: 0 / 491.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.582e-05/0.09967, allocations: 19.86 kB / 491.7 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.09978, allocations: 31.7 kB / 491.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000133/0.09991, allocations: 23.97 kB / 491.8 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.1001, allocations: 103.5 kB / 491.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.1002, allocations: 27.98 kB / 491.9 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.415e-05/0.1003, allocations: 43.91 kB / 492 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.1004, allocations: 39.78 kB / 492 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.1004, allocations: 12 kB / 492 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.218e-05/0.1005, allocations: 8 kB / 492 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.017e-05/0.1005, allocations: 23.92 kB / 492 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.362e-05/0.1006, allocations: 51.8 kB / 492.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.1007, allocations: 111.5 kB / 492.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1008, allocations: 0 / 492.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1008, allocations: 3.938 kB / 492.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1008, allocations: 0 / 492.2 MB, free: 8.691 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.0006042/0.1014, allocations: 318.2 kB / 492.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1014, allocations: 19.97 kB / 492.5 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.1015, allocations: 12.84 kB / 492.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.1016, allocations: 126.4 kB / 492.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.1017, allocations: 8.562 kB / 492.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.1017, allocations: 12.33 kB / 492.7 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.1019, allocations: 95.66 kB / 492.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1019, allocations: 0 / 492.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.102, allocations: 4 kB / 492.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.102, allocations: 4 kB / 492.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.1021, allocations: 59.95 kB / 492.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000632/0.1027, allocations: 363.7 kB / 493.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.1029, allocations: 94.55 kB / 493.3 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.787e-05/0.103, allocations: 40.78 kB / 493.3 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.103, allocations: 3.938 kB / 493.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.103, allocations: 34.56 kB / 493.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.103, allocations: 0 / 493.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001119/0.1041, allocations: 0.5295 MB / 493.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.1042, allocations: 59.41 kB / 494 MB, free: 6.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.1043, allocations: 125.8 kB / 494.1 MB, free: 6.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1043, allocations: 25.7 kB / 494.1 MB, free: 6.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.458e-05/0.1044, allocations: 108.3 kB / 494.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.206e-05/0.1045, allocations: 63.47 kB / 494.3 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.123e-05/0.1045, allocations: 29.7 kB / 494.3 MB, free: 6.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1047, allocations: 322.8 kB / 494.6 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.044e-05/0.1047, allocations: 35.98 kB / 494.7 MB, free: 6.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.645e-05/0.1048, allocations: 58.56 kB / 494.7 MB, free: 5.938 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.a = $START.mass2.a ($START.mass1.a = $START.mass2.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/0.1054, allocations: 220.9 kB / 494.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1054, allocations: 0 / 494.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002189/0.1056, allocations: 149.5 kB / 495.1 MB, free: 5.566 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1056, allocations: 12.03 kB / 495.1 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1056, allocations: 0 / 495.1 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1056, allocations: 0 / 495.1 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.1058, allocations: 35.92 kB / 495.1 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1058, allocations: 4 kB / 495.1 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.435e-05/0.1058, allocations: 0 / 495.1 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.1058, allocations: 11.98 kB / 495.1 MB, free: 5.504 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.a = $START.mass2.a. 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.106, allocations: 137.7 kB / 495.3 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.114e-05/0.106, allocations: 11.89 kB / 495.3 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.96e-05/0.1061, allocations: 20.78 kB / 495.3 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1061, allocations: 0 / 495.3 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1061, allocations: 256 / 495.3 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1061, allocations: 7.984 kB / 495.3 MB, free: 5.316 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.0007015/0.1068, allocations: 0.5582 MB / 495.9 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1068, allocations: 4.094 kB / 495.9 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.1069, allocations: 27.98 kB / 495.9 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000104/0.107, allocations: 24.78 kB / 495.9 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.1071, allocations: 7.938 kB / 495.9 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/0.1081, allocations: 1.26 MB / 497.2 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1081, allocations: 0 / 497.2 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.1085, allocations: 306.8 kB / 497.5 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.1085, allocations: 11.92 kB / 497.5 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.1086, allocations: 8 kB / 497.5 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.648e-05/0.1086, allocations: 0 / 497.5 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.1087, allocations: 19.91 kB / 497.5 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.1087, allocations: 8.062 kB / 497.5 MB, free: 2.855 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.011e-05/0.1087, allocations: 96.81 kB / 497.6 MB, free: 2.762 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1087, allocations: 0 / 497.6 MB, free: 2.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000271/0.109, allocations: 28 kB / 497.7 MB, free: 2.734 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.0001092/0.1091, allocations: 95.23 kB / 497.8 MB, free: 2.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002233/0.1093, allocations: 103.8 kB / 497.9 MB, free: 2.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1093, allocations: 64 / 497.9 MB, free: 2.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002583/0.1096, allocations: 170.6 kB / 498 MB, free: 2.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.1099, allocations: 19.97 kB / 498.1 MB, free: 2.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006569/0.1106, allocations: 416.7 kB / 498.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.1109, allocations: 0.7006 MB / 499.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/0.1109, allocations: 15.44 kB / 499.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1109, allocations: 0 / 499.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of Templates: time 0.003765/0.1147, allocations: 1.733 MB / 0.4892 GB, free: 15.42 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.5220227020327] Failed to read output from testmodel.py, exit status != 0: 0.12235061195679009 0.138303067 0.034381187 Calling exit ...