Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.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.00138/0.00138, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001675/0.001675, allocations: 207.6 kB / 22.24 MB, free: 5.262 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.544/1.544, allocations: 230.6 MB / 256 MB, free: 7.797 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.003207/0.003207, allocations: 0.5756 MB / 313 MB, free: 2.293 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.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 71.89 kB / 435.6 MB, free: 16.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1122, allocations: 53.52 MB / 489.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.002022/0.1142, allocations: 0.5068 MB / 489.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001813/0.1144, allocations: 35.83 kB / 489.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.032e-05/0.1144, allocations: 0 / 489.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.782e-05/0.1145, allocations: 0 / 489.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.116e-05/0.1145, allocations: 3.938 kB / 489.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001284/0.1146, allocations: 3.984 kB / 489.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.001e-05/0.1147, allocations: 16 kB / 489.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.917e-05/0.1148, allocations: 8.391 kB / 489.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.32e-05/0.1148, allocations: 8 kB / 489.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.034e-05/0.1148, allocations: 11.91 kB / 489.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.1149, allocations: 4 kB / 489.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.408e-06/0.1149, allocations: 0 / 489.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.788e-05/0.1149, allocations: 3.938 kB / 489.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.1149, allocations: 8 kB / 489.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.275e-05/0.115, allocations: 15.86 kB / 489.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.115, allocations: 0 / 489.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.115, allocations: 4 kB / 489.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.115, allocations: 0 / 489.8 MB, free: 10.12 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.0004293/0.1154, allocations: 258.3 kB / 490 MB, free: 9.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1155, allocations: 8.031 kB / 490 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.1155, allocations: 4.938 kB / 490 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.1156, allocations: 106.5 kB / 490.1 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.1156, allocations: 12.31 kB / 490.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.1157, allocations: 384 / 490.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.1158, allocations: 50.25 kB / 490.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1158, allocations: 192 / 490.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.1158, allocations: 3.938 kB / 490.2 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1158, allocations: 7.938 kB / 490.2 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.691e-05/0.1159, allocations: 15.98 kB / 490.2 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.1163, allocations: 224.5 kB / 490.4 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.1164, allocations: 34.56 kB / 490.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.036e-05/0.1164, allocations: 16.8 kB / 490.5 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.1164, allocations: 4 kB / 490.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.1164, allocations: 30.56 kB / 490.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1164, allocations: 0 / 490.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003988/0.1168, allocations: 86.55 kB / 490.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.1169, allocations: 55.41 kB / 490.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.471e-05/0.117, allocations: 98.03 kB / 490.7 MB, free: 8.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.117, allocations: 33.69 kB / 490.8 MB, free: 8.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.55e-05/0.1171, allocations: 88.09 kB / 490.9 MB, free: 8.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.1171, allocations: 7.906 kB / 490.9 MB, free: 8.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.1171, allocations: 21.72 kB / 490.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1173, allocations: 322.8 kB / 491.2 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.116e-05/0.1173, allocations: 4 kB / 491.2 MB, free: 8.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.583e-05/0.1173, allocations: 25.66 kB / 491.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.191e-05/0.1174, allocations: 37.7 kB / 491.3 MB, free: 8.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1174, allocations: 128 / 491.3 MB, free: 8.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001362/0.1175, allocations: 74.48 kB / 491.3 MB, free: 8.336 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1175, allocations: 4 kB / 491.4 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1175, allocations: 4 kB / 491.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001675/0.1177, allocations: 20.84 kB / 491.4 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.415e-05/0.1178, allocations: 4 kB / 491.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.1188, allocations: 1.229 MB / 492.6 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.934e-05/0.1188, allocations: 0 / 492.6 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.1188, allocations: 4.031 kB / 492.6 MB, free: 6.965 MB / 350.1 MB 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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 8.952e-05/0.1189, allocations: 113.8 kB / 492.7 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.1189, allocations: 7.938 kB / 492.7 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.043e-05/0.119, allocations: 7.688 kB / 492.7 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.119, allocations: 3.938 kB / 492.7 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.119, allocations: 0 / 492.7 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.119, allocations: 8.078 kB / 492.8 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.1191, allocations: 109.3 kB / 492.9 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1191, allocations: 3.938 kB / 492.9 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.766e-05/0.1191, allocations: 4 kB / 492.9 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.851e-05/0.1192, allocations: 20.78 kB / 492.9 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.1192, allocations: 3.938 kB / 492.9 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009102/0.1201, allocations: 1.229 MB / 494.1 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1201, allocations: 0 / 494.1 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.1203, allocations: 172.3 kB / 494.3 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.305e-06/0.1203, allocations: 8.031 kB / 494.3 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-06/0.1203, allocations: 0 / 494.3 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.648e-05/0.1204, allocations: 0 / 494.3 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.1204, allocations: 7.922 kB / 494.3 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.1204, allocations: 4 kB / 494.3 MB, free: 5.105 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.991e-05/0.1205, allocations: 75.28 kB / 494.4 MB, free: 5.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1205, allocations: 0 / 494.4 MB, free: 5.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002347/0.1207, allocations: 16.09 kB / 494.4 MB, free: 5.016 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * 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.0001008/0.1208, allocations: 102.2 kB / 494.5 MB, free: 4.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002917/0.1211, allocations: 134.7 kB / 494.6 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.1211, allocations: 0 / 494.6 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.1212, allocations: 134.6 kB / 494.8 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.1215, allocations: 0 / 494.8 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.1218, allocations: 150 kB / 494.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.408e-05/0.1218, allocations: 67.41 kB / 495 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.683e-05/0.1219, allocations: 0 / 495 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.448e-05/0.1219, allocations: 11.44 kB / 495 MB, free: 4.344 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1219, allocations: 0 / 495 MB, free: 4.344 MB / 350.1 MB Notification: Performance of Templates: time 0.003211/0.1251, allocations: 0.5812 MB / 495.6 MB, free: 3.812 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.73821878246963] Failed to read output from testmodel.py, exit status != 0: 0.13324899971485138 0.15858686200000002 0.038762384000000004 Calling exit ...