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.001367/0.001367, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001639/0.001639, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.427/1.427, allocations: 230.6 MB / 256 MB, free: 8.012 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.002903/0.002903, allocations: 0.5766 MB / 313 MB, free: 2.523 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: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 71.89 kB / 435.2 MB, free: 17.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.106, allocations: 53.52 MB / 488.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.002824/0.1088, allocations: 1.667 MB / 490.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002844/0.1091, allocations: 103.6 kB / 490.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.584e-05/0.1092, allocations: 0 / 490.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.534e-05/0.1092, allocations: 15.86 kB / 490.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.1093, allocations: 35.7 kB / 490.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001215/0.1094, allocations: 19.97 kB / 490.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.1096, allocations: 103.5 kB / 490.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.1097, allocations: 27.98 kB / 490.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.5e-05/0.1098, allocations: 39.84 kB / 490.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.1099, allocations: 47.78 kB / 490.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.1099, allocations: 8 kB / 490.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.883e-05/0.1099, allocations: 8 kB / 490.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/0.11, allocations: 19.92 kB / 490.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.761e-05/0.11, allocations: 47.8 kB / 490.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.1102, allocations: 115.8 kB / 490.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1102, allocations: 0 / 490.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1102, allocations: 0 / 490.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1102, allocations: 0 / 490.9 MB, free: 9.223 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.0005167/0.1107, allocations: 318.2 kB / 491.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1108, allocations: 12.03 kB / 491.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.506e-05/0.1108, allocations: 46.73 kB / 491.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.1108, allocations: 16.84 kB / 491.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.111, allocations: 126.4 kB / 491.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.111, allocations: 12.56 kB / 491.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.1111, allocations: 12.33 kB / 491.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.1112, allocations: 95.09 kB / 491.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1113, allocations: 0 / 491.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1113, allocations: 4 kB / 491.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.1113, allocations: 4 kB / 491.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.1114, allocations: 63.84 kB / 491.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.112, allocations: 355.8 kB / 492 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.1121, allocations: 102.4 kB / 492.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.818e-05/0.1122, allocations: 32.86 kB / 492.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.1122, allocations: 0 / 492.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.1123, allocations: 30.56 kB / 492.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 9.02e-07/0.1123, allocations: 4 kB / 492.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001047/0.1133, allocations: 0.5363 MB / 492.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.1134, allocations: 63.39 kB / 492.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.1135, allocations: 121.8 kB / 492.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.1135, allocations: 29.64 kB / 492.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.848e-05/0.1136, allocations: 112.3 kB / 493 MB, free: 6.934 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.898e-05/0.1136, allocations: 63.47 kB / 493.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.1137, allocations: 25.72 kB / 493.1 MB, free: 6.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1138, allocations: 322.8 kB / 493.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.916e-05/0.1139, allocations: 31.98 kB / 493.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.068e-05/0.1139, allocations: 58.55 kB / 493.5 MB, free: 6.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.1141, allocations: 106.5 kB / 493.6 MB, free: 6.305 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1141, allocations: 0 / 493.6 MB, free: 6.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002749/0.1144, allocations: 167.8 kB / 493.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1144, allocations: 4 kB / 493.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1144, allocations: 4 kB / 493.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001315/0.1145, allocations: 24.84 kB / 493.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.1146, allocations: 27.92 kB / 493.8 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.1159, allocations: 1.516 MB / 495.3 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.006e-05/0.116, allocations: 8 kB / 495.3 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.116, allocations: 7.969 kB / 495.4 MB, free: 4.418 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.0001188/0.1161, allocations: 125.8 kB / 495.5 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.1162, allocations: 11.91 kB / 495.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.124e-05/0.1162, allocations: 16.78 kB / 495.5 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1162, allocations: 4 kB / 495.5 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1162, allocations: 3.984 kB / 495.5 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.1162, allocations: 4.062 kB / 495.5 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006556/0.1169, allocations: 0.5079 MB / 496 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1169, allocations: 0 / 496 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.117, allocations: 23.98 kB / 496 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.957e-05/0.117, allocations: 33.02 kB / 496.1 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1171, allocations: 4 kB / 496.1 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009787/0.118, allocations: 1.275 MB / 497.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.118, allocations: 0 / 497.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.1184, allocations: 306.8 kB / 497.7 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.629e-05/0.1184, allocations: 7.953 kB / 497.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.1184, allocations: 0 / 497.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.776e-05/0.1185, allocations: 8 kB / 497.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/0.1185, allocations: 15.91 kB / 497.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.1185, allocations: 4 kB / 497.7 MB, free: 1.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.6e-05/0.1186, allocations: 96.75 kB / 497.8 MB, free: 1.758 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1186, allocations: 0 / 497.8 MB, free: 1.758 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002931/0.1189, allocations: 36.06 kB / 497.8 MB, free: 1.723 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.000682/0.1196, allocations: 0.8366 MB / 498.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003859/0.12, allocations: 222.2 kB / 498.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.12, allocations: 0 / 498.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.1202, allocations: 162.6 kB / 499 MB, free: 456 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.1205, allocations: 24.42 kB / 499.1 MB, free: 432 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.1226, allocations: 1.856 MB / 0.4892 GB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.123, allocations: 0.7122 MB / 0.4899 GB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.393e-05/0.1231, allocations: 9.078 kB / 0.4899 GB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.709e-05/0.1231, allocations: 31.44 kB / 0.4899 GB, free: 13.67 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1231, allocations: 0 / 0.4899 GB, free: 13.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03315/0.1563, allocations: 3.085 MB / 0.4929 GB, free: 10.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.69, allocations: 3.25 kB / 0.4929 GB, free: 10.79 MB / 366.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.572779388166964] Failed to read output from testmodel.py, exit status != 0: 11.78714102692902 11.994161924 11.880631131 Calling exit ...