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.001368/0.001368, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.00182/0.00182, allocations: 193.7 kB / 22.17 MB, free: 5.652 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.439/1.439, allocations: 225.6 MB / 250.9 MB, free: 13.31 MB / 206.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.004143/0.004143, allocations: 0.5884 MB / 306.7 MB, free: 8.188 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.001933/0.001933, allocations: 67.89 kB / 426.9 MB, free: 23.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09638/0.09832, allocations: 52.29 MB / 479.2 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.003041/0.1014, allocations: 1.653 MB / 480.9 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002865/0.1016, allocations: 111.5 kB / 481 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.261e-05/0.1017, allocations: 0 / 481 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.958e-05/0.1018, allocations: 15.86 kB / 481 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.1019, allocations: 31.72 kB / 481 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.102, allocations: 27.95 kB / 481 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.1022, allocations: 99.53 kB / 481.1 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.1023, allocations: 27.97 kB / 481.2 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.848e-05/0.1024, allocations: 39.86 kB / 481.2 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.1025, allocations: 51.77 kB / 481.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.1025, allocations: 12 kB / 481.3 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.057e-05/0.1025, allocations: 8 kB / 481.3 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.947e-05/0.1026, allocations: 19.92 kB / 481.3 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.626e-05/0.1026, allocations: 47.8 kB / 481.3 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.1028, allocations: 107.5 kB / 481.4 MB, free: 1.062 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.1028, allocations: 0 / 481.4 MB, free: 1.062 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1028, allocations: 4 kB / 481.4 MB, free: 1.059 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1028, allocations: 0 / 481.4 MB, free: 1.059 MB / 334.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.0005542/0.1034, allocations: 407.2 kB / 481.8 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.1034, allocations: 11.89 kB / 481.9 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.1034, allocations: 8.891 kB / 481.9 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.1037, allocations: 192.2 kB / 482.1 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.1037, allocations: 12.56 kB / 482.1 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.1037, allocations: 12.38 kB / 482.1 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.1039, allocations: 91.84 kB / 482.2 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1039, allocations: 0 / 482.2 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.1039, allocations: 4 kB / 482.2 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.1039, allocations: 8 kB / 482.2 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.104, allocations: 59.91 kB / 482.2 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005793/0.1046, allocations: 388.8 kB / 482.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.1048, allocations: 98.31 kB / 482.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.549e-05/0.1049, allocations: 36.84 kB / 482.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.1049, allocations: 4 kB / 482.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.1049, allocations: 34.56 kB / 482.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.1049, allocations: 0 / 482.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001163/0.1061, allocations: 0.6897 MB / 483.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.1061, allocations: 55.41 kB / 483.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.1062, allocations: 125.8 kB / 483.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.1062, allocations: 29.69 kB / 483.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.1063, allocations: 100.4 kB / 483.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.795e-05/0.1064, allocations: 59.48 kB / 483.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-05/0.1064, allocations: 33.7 kB / 483.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1066, allocations: 318.8 kB / 484.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.701e-05/0.1066, allocations: 35.98 kB / 484.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.153e-05/0.1067, allocations: 66.5 kB / 484.3 MB, free: 13.91 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.0007495/0.1075, allocations: 406 kB / 484.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1075, allocations: 3.938 kB / 484.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002665/0.1077, allocations: 162.3 kB / 484.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1077, allocations: 8 kB / 484.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1078, allocations: 0 / 484.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001302/0.1079, allocations: 28.84 kB / 484.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.994e-05/0.108, allocations: 31.91 kB / 484.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.1093, allocations: 1.619 MB / 486.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.759e-05/0.1094, allocations: 4.031 kB / 486.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.1094, allocations: 15.97 kB / 486.5 MB, free: 11.45 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.0001141/0.1095, allocations: 126.4 kB / 486.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.1095, allocations: 11.95 kB / 486.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.52e-05/0.1096, allocations: 16.84 kB / 486.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1096, allocations: 7.938 kB / 486.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1096, allocations: 4.047 kB / 486.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1096, allocations: 4 kB / 486.7 MB, free: 11.27 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.0006774/0.1102, allocations: 0.5902 MB / 487.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.1103, allocations: 3.938 kB / 487.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.1104, allocations: 23.98 kB / 487.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.876e-05/0.1104, allocations: 28.95 kB / 487.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.1105, allocations: 4 kB / 487.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009656/0.1114, allocations: 1.371 MB / 488.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.1114, allocations: 4.031 kB / 488.7 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.1118, allocations: 302.7 kB / 489 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.1118, allocations: 85.09 kB / 489.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.1118, allocations: 11.98 kB / 489.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.127e-05/0.1119, allocations: 11.94 kB / 489.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.112, allocations: 11.98 kB / 489.2 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.112, allocations: 4 kB / 489.2 MB, free: 8.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.22e-05/0.112, allocations: 99.2 kB / 489.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.112, allocations: 0 / 489.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003053/0.1123, allocations: 36.06 kB / 489.3 MB, free: 8.414 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.809e-05/0.1124, allocations: 95.25 kB / 489.4 MB, free: 8.312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004134/0.1128, allocations: 218.6 kB / 489.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1128, allocations: 0 / 489.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.113, allocations: 170.8 kB / 489.8 MB, free: 7.906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.1134, allocations: 19.98 kB / 489.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007202/0.1141, allocations: 401.7 kB / 490.2 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.1144, allocations: 0.7046 MB / 490.9 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.38e-05/0.1145, allocations: 9.078 kB / 490.9 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.1145, allocations: 15.44 kB / 490.9 MB, free: 6.699 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.1145, allocations: 4 kB / 490.9 MB, free: 6.695 MB / 350.1 MB Notification: Performance of Templates: time 0.004356/0.1189, allocations: 1.503 MB / 492.4 MB, free: 5.234 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 -s cvode -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.3135810303501785] Failed to read output from testmodel.py, exit status != 0: 0.12641502125188708 0.14043106400000002 0.034742924 Calling exit ...