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.001372/0.001372, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001512/0.001512, allocations: 220.5 kB / 23.05 MB, free: 5.074 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.002988/0.002988, allocations: 0.5746 MB / 313.8 MB, free: 2.527 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 59.91 kB / 436 MB, free: 17.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09797/0.09998, allocations: 53.53 MB / 489.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.003033/0.103, allocations: 1.659 MB / 491.1 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003021/0.1033, allocations: 103.6 kB / 491.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.268e-05/0.1034, allocations: 4 kB / 491.2 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.825e-05/0.1034, allocations: 11.86 kB / 491.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.1036, allocations: 31.72 kB / 491.3 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.1037, allocations: 19.97 kB / 491.3 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.1039, allocations: 115.5 kB / 491.4 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.104, allocations: 19.98 kB / 491.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.161e-05/0.1041, allocations: 39.92 kB / 491.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.1043, allocations: 55.77 kB / 491.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.141e-05/0.1043, allocations: 8 kB / 491.5 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.734e-05/0.1043, allocations: 8 kB / 491.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.052e-05/0.1043, allocations: 19.92 kB / 491.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.105e-05/0.1044, allocations: 55.67 kB / 491.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.1046, allocations: 107.8 kB / 491.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1046, allocations: 0 / 491.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1046, allocations: 0 / 491.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1046, allocations: 0 / 491.7 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.0005949/0.1052, allocations: 322.2 kB / 492 MB, free: 8.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.1053, allocations: 12.03 kB / 492.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.944e-05/0.1053, allocations: 4.312 kB / 492.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.304e-05/0.1053, allocations: 42.73 kB / 492.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.1054, allocations: 12.84 kB / 492.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.1056, allocations: 126.5 kB / 492.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1056, allocations: 4.562 kB / 492.2 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.1056, allocations: 20.08 kB / 492.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.1058, allocations: 98.91 kB / 492.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1058, allocations: 0 / 492.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.1058, allocations: 7.938 kB / 492.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.1059, allocations: 0 / 492.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.106, allocations: 67.89 kB / 492.4 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006043/0.1066, allocations: 347.8 kB / 492.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.1068, allocations: 98.55 kB / 492.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.888e-05/0.1069, allocations: 36.83 kB / 492.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.1069, allocations: 0 / 492.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.1069, allocations: 38.56 kB / 492.9 MB, free: 7.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 9.41e-07/0.1069, allocations: 0 / 492.9 MB, free: 7.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.00116/0.1081, allocations: 0.5384 MB / 493.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.1081, allocations: 51.41 kB / 493.5 MB, free: 7.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.1082, allocations: 126.2 kB / 493.7 MB, free: 7.086 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.1082, allocations: 29.7 kB / 493.7 MB, free: 7.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.904e-05/0.1083, allocations: 104.3 kB / 493.8 MB, free: 6.941 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.036e-05/0.1084, allocations: 59.48 kB / 493.8 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.094e-05/0.1084, allocations: 37.7 kB / 493.9 MB, free: 6.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1086, allocations: 322.8 kB / 494.2 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.966e-05/0.1086, allocations: 32 kB / 494.2 MB, free: 6.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.316e-05/0.1087, allocations: 54.55 kB / 494.3 MB, free: 6.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.1089, allocations: 102.5 kB / 494.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1089, allocations: 0 / 494.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002713/0.1092, allocations: 173.1 kB / 494.5 MB, free: 6.137 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1092, allocations: 8 kB / 494.6 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1092, allocations: 3.938 kB / 494.6 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000145/0.1093, allocations: 32.84 kB / 494.6 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.1094, allocations: 27.92 kB / 494.6 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.1109, allocations: 1.512 MB / 496.1 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.592e-05/0.1109, allocations: 8.031 kB / 496.1 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.111, allocations: 4.141 kB / 496.1 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.0001311/0.1111, allocations: 129.8 kB / 496.3 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.1111, allocations: 15.89 kB / 496.3 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.675e-05/0.1112, allocations: 20.77 kB / 496.3 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.1112, allocations: 0 / 496.3 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1112, allocations: 0 / 496.3 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1112, allocations: 4 kB / 496.3 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007457/0.1119, allocations: 0.508 MB / 496.8 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1119, allocations: 0 / 496.8 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.1121, allocations: 27.94 kB / 496.8 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-05/0.1121, allocations: 24.78 kB / 496.9 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.1121, allocations: 4 kB / 496.9 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.1132, allocations: 1.275 MB / 498.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1132, allocations: 0 / 498.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004049/0.1136, allocations: 303 kB / 498.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.764e-05/0.1137, allocations: 7.984 kB / 498.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.1137, allocations: 8 kB / 498.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.052e-05/0.1138, allocations: 7.938 kB / 498.5 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.1138, allocations: 19.97 kB / 498.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.1138, allocations: 4 kB / 498.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.11e-05/0.1139, allocations: 99.27 kB / 498.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1139, allocations: 0 / 498.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003238/0.1142, allocations: 28 kB / 498.6 MB, free: 1.719 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.0007803/0.115, allocations: 0.8328 MB / 499.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004618/0.1154, allocations: 218.7 kB / 499.7 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1155, allocations: 4 kB / 499.7 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.1157, allocations: 162.5 kB / 499.8 MB, free: 452 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.1161, allocations: 26.05 kB / 499.9 MB, free: 432 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.1184, allocations: 1.861 MB / 0.49 GB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004759/0.1188, allocations: 0.7044 MB / 0.4906 GB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.594e-05/0.1189, allocations: 17.08 kB / 0.4907 GB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.529e-05/0.1189, allocations: 27.42 kB / 0.4907 GB, free: 13.67 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1189, allocations: 0 / 0.4907 GB, free: 13.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/0.1466, allocations: 3.118 MB / 0.4937 GB, free: 10.76 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/11.91, allocations: 11.86 kB / 0.4937 GB, free: 10.75 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.726525972015224] Failed to read output from testmodel.py, exit status != 0: 12.075297696981579 12.360761538 12.252909902 Calling exit ...