Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.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.001432/0.001432, allocations: 103.6 kB / 18.95 MB, free: 2.664 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.001619/0.001619, allocations: 210.8 kB / 22.24 MB, free: 5.266 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.565/1.565, allocations: 230.6 MB / 256 MB, free: 7.781 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.00335/0.00335, allocations: 0.5824 MB / 313 MB, free: 2.301 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.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 67.89 kB / 435.6 MB, free: 16.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1095, allocations: 53.53 MB / 489.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.00312/0.1126, allocations: 1.612 MB / 490.7 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002958/0.1129, allocations: 91.7 kB / 490.8 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.715e-05/0.1129, allocations: 0 / 490.8 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.925e-05/0.113, allocations: 15.86 kB / 490.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.1131, allocations: 35.7 kB / 490.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.1132, allocations: 31.91 kB / 490.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.1134, allocations: 103.5 kB / 491 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.1135, allocations: 23.98 kB / 491 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.008e-05/0.1136, allocations: 39.92 kB / 491.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.1137, allocations: 39.77 kB / 491.1 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.1137, allocations: 8 kB / 491.1 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.221e-05/0.1137, allocations: 8 kB / 491.1 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.612e-05/0.1138, allocations: 19.92 kB / 491.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.502e-05/0.1138, allocations: 39.81 kB / 491.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.114, allocations: 111.5 kB / 491.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.114, allocations: 4 kB / 491.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.114, allocations: 0 / 491.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.114, allocations: 3.938 kB / 491.3 MB, free: 8.582 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.0005309/0.1145, allocations: 322.2 kB / 491.6 MB, free: 8.234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.1146, allocations: 8.031 kB / 491.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.1146, allocations: 16.84 kB / 491.6 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.1148, allocations: 122.5 kB / 491.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.1148, allocations: 12.5 kB / 491.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.1148, allocations: 16.33 kB / 491.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.115, allocations: 97.91 kB / 491.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.115, allocations: 0 / 491.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.115, allocations: 7.938 kB / 491.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.115, allocations: 4 kB / 491.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.1152, allocations: 51.97 kB / 491.9 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005363/0.1157, allocations: 312.3 kB / 492.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.1159, allocations: 94.53 kB / 492.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.824e-05/0.116, allocations: 36.84 kB / 492.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.116, allocations: 4 kB / 492.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.116, allocations: 38.5 kB / 492.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.116, allocations: 0 / 492.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001105/0.1171, allocations: 0.5348 MB / 492.9 MB, free: 6.754 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.1172, allocations: 55.41 kB / 493 MB, free: 6.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.1173, allocations: 109.8 kB / 493.1 MB, free: 6.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1173, allocations: 29.7 kB / 493.1 MB, free: 6.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.865e-05/0.1174, allocations: 104 kB / 493.2 MB, free: 6.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/0.1174, allocations: 63.48 kB / 493.3 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.639e-05/0.1175, allocations: 33.7 kB / 493.3 MB, free: 6.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1176, allocations: 322.8 kB / 493.6 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.518e-05/0.1177, allocations: 24 kB / 493.7 MB, free: 5.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.1178, allocations: 62.55 kB / 493.7 MB, free: 5.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.1179, allocations: 104.6 kB / 493.8 MB, free: 5.801 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.1179, allocations: 0 / 493.8 MB, free: 5.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002863/0.1182, allocations: 170.3 kB / 494 MB, free: 5.625 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1182, allocations: 4 kB / 494 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1183, allocations: 4.031 kB / 494 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001374/0.1184, allocations: 32.84 kB / 494 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.1185, allocations: 23.98 kB / 494.1 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/0.12, allocations: 1.485 MB / 495.6 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.006e-05/0.1201, allocations: 3.984 kB / 495.6 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.1201, allocations: 11.97 kB / 495.6 MB, free: 3.949 MB / 350.1 MB 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.0001192/0.1202, allocations: 129.8 kB / 495.7 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.1202, allocations: 16.22 kB / 495.7 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.317e-05/0.1203, allocations: 16.77 kB / 495.7 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.1203, allocations: 4 kB / 495.7 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.1203, allocations: 0 / 495.7 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1203, allocations: 3.938 kB / 495.7 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006467/0.1209, allocations: 431.8 kB / 496.2 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1209, allocations: 96 / 496.2 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.1211, allocations: 31.94 kB / 496.2 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.138e-05/0.1211, allocations: 20.84 kB / 496.2 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.1211, allocations: 0 / 496.2 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001052/0.1222, allocations: 1.256 MB / 497.5 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1222, allocations: 4.031 kB / 497.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004095/0.1226, allocations: 306 kB / 497.8 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.1226, allocations: 11.97 kB / 497.8 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.1226, allocations: 4 kB / 497.8 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.679e-05/0.1227, allocations: 4 kB / 497.8 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.1227, allocations: 11.98 kB / 497.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.1228, allocations: 4 kB / 497.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.325e-05/0.1228, allocations: 91.27 kB / 497.9 MB, free: 1.441 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1228, allocations: 0 / 497.9 MB, free: 1.441 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003183/0.1231, allocations: 32 kB / 497.9 MB, free: 1.41 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.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.0001153/0.1233, allocations: 109.1 kB / 498 MB, free: 1.293 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004131/0.1237, allocations: 218.5 kB / 498.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1237, allocations: 0 / 498.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.1239, allocations: 166.6 kB / 498.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.1243, allocations: 19.98 kB / 498.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006952/0.125, allocations: 398.9 kB / 498.8 MB, free: 456 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.278e-05/0.1251, allocations: 88.62 kB / 498.9 MB, free: 348 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.1252, allocations: 16.42 kB / 498.9 MB, free: 332 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.408e-05/0.1252, allocations: 15.44 kB / 498.9 MB, free: 316 kB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1252, allocations: 0 / 498.9 MB, free: 316 kB / 350.1 MB Notification: Performance of Templates: time 0.004793/0.13, allocations: 1.507 MB / 0.4887 GB, free: 14.88 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.716443032026291] Failed to read output from testmodel.py, exit status != 0: 0.1379308756440878 0.15421378999999993 0.037059741 Calling exit ...