Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.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.001723/0.001723, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001972/0.001972, allocations: 221.3 kB / 23 MB, free: 4.914 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.564/1.564, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.003144/0.003144, allocations: 0.5764 MB / 313.8 MB, free: 2.324 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.TwoMassesEquationsFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 63.91 kB / 436.3 MB, free: 16.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1104, allocations: 53.52 MB / 489.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001902/0.1123, allocations: 0.5195 MB / 490.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001823/0.1125, allocations: 19.92 kB / 490.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.604e-05/0.1125, allocations: 0 / 490.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.806e-05/0.1126, allocations: 0 / 490.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.162e-05/0.1126, allocations: 7.938 kB / 490.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001339/0.1127, allocations: 11.97 kB / 490.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.204e-05/0.1128, allocations: 23.92 kB / 490.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.965e-05/0.1129, allocations: 4.406 kB / 490.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.152e-05/0.1129, allocations: 4 kB / 490.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.272e-05/0.113, allocations: 15.92 kB / 490.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.113, allocations: 3.938 kB / 490.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.507e-06/0.113, allocations: 0 / 490.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.022e-05/0.113, allocations: 11.97 kB / 490.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/0.113, allocations: 11.94 kB / 490.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.528e-05/0.1131, allocations: 15.86 kB / 490.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1131, allocations: 0 / 490.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1131, allocations: 4 kB / 490.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.1131, allocations: 0 / 490.5 MB, free: 10.14 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004412/0.1136, allocations: 254.4 kB / 490.8 MB, free: 9.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1136, allocations: 12.03 kB / 490.8 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.1136, allocations: 0.9375 kB / 490.8 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.1138, allocations: 118.5 kB / 490.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.986e-06/0.1138, allocations: 384 / 490.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.1138, allocations: 4.375 kB / 490.9 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.1139, allocations: 50.25 kB / 490.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.1139, allocations: 4.172 kB / 490.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.114, allocations: 7.938 kB / 491 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.114, allocations: 4 kB / 491 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.484e-05/0.114, allocations: 15.92 kB / 491 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003122/0.1143, allocations: 196.5 kB / 491.2 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.1144, allocations: 50.62 kB / 491.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.355e-05/0.1145, allocations: 16.98 kB / 491.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.1145, allocations: 4 kB / 491.2 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.1145, allocations: 38.44 kB / 491.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1145, allocations: 3.938 kB / 491.3 MB, free: 9.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007621/0.1153, allocations: 367.9 kB / 491.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.1153, allocations: 51.41 kB / 491.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.418e-05/0.1154, allocations: 97.86 kB / 491.8 MB, free: 8.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.1154, allocations: 25.7 kB / 491.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/0.1155, allocations: 80.14 kB / 491.9 MB, free: 8.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.1155, allocations: 35.72 kB / 491.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.1156, allocations: 25.72 kB / 491.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.1157, allocations: 322.8 kB / 492.3 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.541e-05/0.1158, allocations: 16 kB / 492.3 MB, free: 8.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.891e-05/0.1158, allocations: 29.7 kB / 492.3 MB, free: 8.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.1161, allocations: 97.62 kB / 492.4 MB, free: 8.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1161, allocations: 4 kB / 492.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001263/0.1162, allocations: 69.69 kB / 492.5 MB, free: 7.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1162, allocations: 10.59 kB / 492.5 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1163, allocations: 4 kB / 492.5 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1163, allocations: 0 / 492.5 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.1164, allocations: 19.98 kB / 492.5 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.1164, allocations: 0 / 492.5 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.265e-05/0.1164, allocations: 4 kB / 492.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.1164, allocations: 4.875 kB / 492.5 MB, free: 7.902 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: $DER.v1 = 0.0 $DER.x1 = 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 (10): * Single equations (assignments): 10 * 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.0001598/0.1166, allocations: 125.8 kB / 492.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.1166, allocations: 3.953 kB / 492.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.464e-05/0.1166, allocations: 12.06 kB / 492.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1166, allocations: 0 / 492.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1166, allocations: 0 / 492.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1166, allocations: 0 / 492.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000447/0.1171, allocations: 317.5 kB / 493 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.1171, allocations: 4.094 kB / 493 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-05/0.1171, allocations: 11.94 kB / 493 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001089/0.1173, allocations: 29 kB / 493 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.1173, allocations: 4 kB / 493 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.1184, allocations: 1.253 MB / 494.3 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.1184, allocations: 3.938 kB / 494.3 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.1187, allocations: 239.3 kB / 494.5 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-06/0.1187, allocations: 8.016 kB / 494.5 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.1187, allocations: 8 kB / 494.5 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.556e-05/0.1188, allocations: 0 / 494.5 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.479e-05/0.1188, allocations: 15.92 kB / 494.5 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.1188, allocations: 4 kB / 494.5 MB, free: 5.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.933e-05/0.1189, allocations: 75.28 kB / 494.6 MB, free: 5.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1189, allocations: 4 kB / 494.6 MB, free: 5.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002314/0.1191, allocations: 8 kB / 494.6 MB, free: 5.594 MB / 350.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 0.0001076/0.1192, allocations: 103.2 kB / 494.7 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001252/0.1193, allocations: 47.92 kB / 494.8 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1194, allocations: 0 / 494.8 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002604/0.1196, allocations: 142.7 kB / 494.9 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.1198, allocations: 3.938 kB / 494.9 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/0.1202, allocations: 202.4 kB / 495.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.678e-05/0.1202, allocations: 67.34 kB / 495.2 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.1203, allocations: 11.44 kB / 495.2 MB, free: 4.945 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1203, allocations: 4.188 kB / 495.2 MB, free: 4.941 MB / 350.1 MB Notification: Performance of Templates: time 0.00252/0.1228, allocations: 0.8053 MB / 496 MB, free: 4.145 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.261237363796681] Failed to read output from testmodel.py, exit status != 0: 0.13150098593905568 0.146978981 0.030756255000000003 Calling exit ...