Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.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.001296/0.001296, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.00143/0.00143, allocations: 162.8 kB / 23.01 MB, free: 4.598 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.533/1.533, allocations: 177.2 MB / 203.4 MB, free: 8.91 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.003329/0.003329, allocations: 416.3 kB / 260.2 MB, free: 276 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.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 68.09 kB / 382.8 MB, free: 5.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1083, allocations: 53.48 MB / 436.3 MB, free: 15.92 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001896/0.1102, allocations: 0.5244 MB / 436.8 MB, free: 15.39 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001983/0.1104, allocations: 23.91 kB / 436.8 MB, free: 15.37 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.891e-05/0.1104, allocations: 0 / 436.8 MB, free: 15.37 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.842e-05/0.1104, allocations: 0 / 436.8 MB, free: 15.37 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 4.602e-05/0.1105, allocations: 3.938 kB / 436.8 MB, free: 15.36 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.1107, allocations: 8 kB / 436.8 MB, free: 15.36 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 8.146e-05/0.1108, allocations: 15.98 kB / 436.8 MB, free: 15.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.42e-05/0.1108, allocations: 4 kB / 436.8 MB, free: 15.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.265e-05/0.1109, allocations: 19.91 kB / 436.9 MB, free: 15.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.351e-05/0.111, allocations: 7.922 kB / 436.9 MB, free: 15.31 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.111, allocations: 4 kB / 436.9 MB, free: 15.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.014e-05/0.111, allocations: 4 kB / 436.9 MB, free: 15.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.111, allocations: 0 / 436.9 MB, free: 15.3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.937e-05/0.111, allocations: 11.94 kB / 436.9 MB, free: 15.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 8.961e-05/0.1111, allocations: 19.84 kB / 436.9 MB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1111, allocations: 3.938 kB / 436.9 MB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1111, allocations: 0 / 436.9 MB, free: 15.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1111, allocations: 0 / 436.9 MB, free: 15.27 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005363/0.1117, allocations: 258.4 kB / 437.2 MB, free: 14.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.1117, allocations: 15.97 kB / 437.2 MB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.1118, allocations: 4.922 kB / 437.2 MB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.1119, allocations: 114.5 kB / 437.3 MB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.1119, allocations: 384 / 437.3 MB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.112, allocations: 12.33 kB / 437.3 MB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.1121, allocations: 42.25 kB / 437.3 MB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.1121, allocations: 192 / 437.3 MB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.1122, allocations: 7.938 kB / 437.4 MB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1122, allocations: 0 / 437.4 MB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.956e-05/0.1122, allocations: 19.97 kB / 437.4 MB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.1126, allocations: 192.6 kB / 437.6 MB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.1128, allocations: 50.56 kB / 437.6 MB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.667e-05/0.1128, allocations: 20.98 kB / 437.6 MB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.1128, allocations: 0 / 437.6 MB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/0.1129, allocations: 38.48 kB / 437.7 MB, free: 14.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 9.31e-07/0.1129, allocations: 0 / 437.7 MB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008656/0.1137, allocations: 355.9 kB / 438 MB, free: 13.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.1138, allocations: 51.41 kB / 438.1 MB, free: 13.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.54e-05/0.1139, allocations: 97.86 kB / 438.2 MB, free: 13.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.1139, allocations: 29.64 kB / 438.2 MB, free: 13.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/0.114, allocations: 88.14 kB / 438.3 MB, free: 13.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.114, allocations: 31.73 kB / 438.3 MB, free: 13.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.1141, allocations: 25.7 kB / 438.3 MB, free: 13.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1142, allocations: 322.8 kB / 438.6 MB, free: 13.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.468e-05/0.1142, allocations: 15.94 kB / 438.7 MB, free: 13.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.196e-05/0.1143, allocations: 30.33 kB / 438.7 MB, free: 13.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.1145, allocations: 97.62 kB / 438.8 MB, free: 13.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1145, allocations: 0 / 438.8 MB, free: 13.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001649/0.1147, allocations: 98.42 kB / 438.9 MB, free: 13.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1147, allocations: 8 kB / 438.9 MB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1147, allocations: 0 / 438.9 MB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001161/0.1148, allocations: 20.84 kB / 438.9 MB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.714e-05/0.1149, allocations: 12 kB / 438.9 MB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.116, allocations: 1.267 MB / 440.2 MB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.19e-05/0.1161, allocations: 3.938 kB / 440.2 MB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.1161, allocations: 4.031 kB / 440.2 MB, free: 11.62 MB / 414.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: x1 = 0.0 v1 = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 7 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001807/0.1163, allocations: 109.8 kB / 440.3 MB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.1163, allocations: 15.95 kB / 440.3 MB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.81e-05/0.1163, allocations: 8.125 kB / 440.3 MB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.1163, allocations: 0 / 440.3 MB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1163, allocations: 4 kB / 440.3 MB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1163, allocations: 0 / 440.3 MB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004712/0.1168, allocations: 313.8 kB / 440.6 MB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1168, allocations: 4 kB / 440.6 MB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.067e-05/0.1168, allocations: 15.92 kB / 440.7 MB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.41e-05/0.1169, allocations: 24.94 kB / 440.7 MB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.1169, allocations: 4 kB / 440.7 MB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009949/0.1179, allocations: 1.264 MB / 442 MB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1179, allocations: 0 / 442 MB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.1182, allocations: 226.8 kB / 442.2 MB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.251e-05/0.1182, allocations: 7.984 kB / 442.2 MB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.1182, allocations: 4 kB / 442.2 MB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.648e-05/0.1183, allocations: 4 kB / 442.2 MB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.336e-05/0.1183, allocations: 12.11 kB / 442.2 MB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.1183, allocations: 3.938 kB / 442.2 MB, free: 9.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.969e-05/0.1184, allocations: 87.27 kB / 442.3 MB, free: 9.344 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1184, allocations: 0 / 442.3 MB, free: 9.344 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.1186, allocations: 8 kB / 442.3 MB, free: 9.336 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.687e-05/0.1187, allocations: 106.2 kB / 442.4 MB, free: 9.223 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000322/0.119, allocations: 158.6 kB / 442.6 MB, free: 9.055 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.119, allocations: 0 / 442.6 MB, free: 9.055 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.1192, allocations: 146.6 kB / 442.7 MB, free: 8.898 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.1195, allocations: 12.05 kB / 442.7 MB, free: 8.887 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003579/0.1198, allocations: 180.4 kB / 442.9 MB, free: 8.672 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.435e-05/0.1199, allocations: 71.33 kB / 443 MB, free: 8.582 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.784e-05/0.1199, allocations: 0 / 443 MB, free: 8.582 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.603e-05/0.1199, allocations: 12.5 kB / 443 MB, free: 8.57 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1199, allocations: 4.188 kB / 443 MB, free: 8.566 MB / 414.1 MB Notification: Performance of Templates: time 0.003677/0.1236, allocations: 0.7274 MB / 443.7 MB, free: 7.898 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.55148006696254] Failed to read output from testmodel.py, exit status != 0: 0.13293038599658757 0.14755589300000002 0.033362973000000004 Calling exit ...