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.001725/0.001725, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002229/0.002229, allocations: 212.2 kB / 22.24 MB, free: 4.855 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.793 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.5557 MB / 313 MB, free: 2.32 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.002115/0.002115, allocations: 75.81 kB / 435.1 MB, free: 16.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1037, allocations: 53.53 MB / 488.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.002887/0.1066, allocations: 1.604 MB / 490.2 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000281/0.1069, allocations: 95.67 kB / 490.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.111e-05/0.1069, allocations: 7.938 kB / 490.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.605e-05/0.107, allocations: 11.86 kB / 490.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.1071, allocations: 31.72 kB / 490.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001212/0.1072, allocations: 23.97 kB / 490.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.1074, allocations: 107.5 kB / 490.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.1075, allocations: 23.98 kB / 490.5 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.602e-05/0.1076, allocations: 43.86 kB / 490.6 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.179e-05/0.1077, allocations: 43.7 kB / 490.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.1077, allocations: 8 kB / 490.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.508e-05/0.1077, allocations: 12 kB / 490.6 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.935e-05/0.1077, allocations: 19.92 kB / 490.6 MB, free: 9.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.168e-05/0.1078, allocations: 39.86 kB / 490.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.108, allocations: 115.8 kB / 490.8 MB, free: 9.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.108, allocations: 4 kB / 490.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.108, allocations: 0 / 490.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.108, allocations: 0 / 490.8 MB, free: 9.07 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.0005244/0.1085, allocations: 314.2 kB / 491.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1085, allocations: 12.03 kB / 491.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.216e-05/0.1086, allocations: 42.73 kB / 491.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.1086, allocations: 20.84 kB / 491.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.1088, allocations: 126.4 kB / 491.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.1088, allocations: 8.562 kB / 491.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.1088, allocations: 12.33 kB / 491.3 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.109, allocations: 93.78 kB / 491.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.1091, allocations: 0 / 491.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.1091, allocations: 4 kB / 491.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1091, allocations: 4 kB / 491.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.1092, allocations: 51.97 kB / 491.5 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005847/0.1098, allocations: 343.8 kB / 491.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.11, allocations: 102.4 kB / 491.9 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.789e-05/0.11, allocations: 32.86 kB / 491.9 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.1101, allocations: 0 / 491.9 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.1101, allocations: 34.56 kB / 492 MB, free: 7.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.002e-06/0.1101, allocations: 0 / 492 MB, free: 7.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001154/0.1112, allocations: 0.5355 MB / 492.5 MB, free: 7.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.1113, allocations: 59.39 kB / 492.6 MB, free: 7.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.1114, allocations: 121.8 kB / 492.7 MB, free: 6.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.1114, allocations: 33.7 kB / 492.7 MB, free: 6.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.1115, allocations: 108.3 kB / 492.8 MB, free: 6.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.283e-05/0.1116, allocations: 51.48 kB / 492.9 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-05/0.1116, allocations: 33.72 kB / 492.9 MB, free: 6.723 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1118, allocations: 322.8 kB / 493.2 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.391e-05/0.1119, allocations: 35.92 kB / 493.3 MB, free: 6.363 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.228e-05/0.112, allocations: 62.48 kB / 493.3 MB, free: 6.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.1121, allocations: 104.8 kB / 493.4 MB, free: 6.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1121, allocations: 0 / 493.4 MB, free: 6.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002943/0.1124, allocations: 170.3 kB / 493.6 MB, free: 6.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.1124, allocations: 8 kB / 493.6 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1124, allocations: 0 / 493.6 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001754/0.1126, allocations: 28.84 kB / 493.6 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.1127, allocations: 23.98 kB / 493.7 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.1142, allocations: 1.512 MB / 495.2 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.263e-05/0.1143, allocations: 4.031 kB / 495.2 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.1143, allocations: 8.031 kB / 495.2 MB, free: 4.301 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.0001266/0.1144, allocations: 132.4 kB / 495.3 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.1144, allocations: 7.953 kB / 495.3 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.771e-05/0.1145, allocations: 16.77 kB / 495.3 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1145, allocations: 4 kB / 495.3 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1145, allocations: 144 / 495.3 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1145, allocations: 7.922 kB / 495.3 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006993/0.1152, allocations: 455.2 kB / 495.8 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1152, allocations: 0 / 495.8 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.1153, allocations: 35.92 kB / 495.8 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.239e-05/0.1154, allocations: 20.78 kB / 495.8 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.1154, allocations: 12.06 kB / 495.9 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.1165, allocations: 1.271 MB / 497.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.1165, allocations: 3.984 kB / 497.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.1169, allocations: 298.7 kB / 497.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.1169, allocations: 11.94 kB / 497.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.117, allocations: 4 kB / 497.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.322e-05/0.117, allocations: 7.984 kB / 497.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.1171, allocations: 15.92 kB / 497.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.1171, allocations: 8 kB / 497.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.702e-05/0.1172, allocations: 91.27 kB / 497.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1172, allocations: 160 / 497.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003212/0.1175, allocations: 36 kB / 497.6 MB, free: 1.676 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.0007109/0.1182, allocations: 0.8356 MB / 498.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003953/0.1186, allocations: 214.6 kB / 498.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1186, allocations: 0 / 498.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.1188, allocations: 166.9 kB / 498.8 MB, free: 412 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.1192, allocations: 27.91 kB / 498.8 MB, free: 384 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.1213, allocations: 1.851 MB / 0.4889 GB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.897e-05/0.1214, allocations: 96.61 kB / 0.489 GB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.602e-05/0.1215, allocations: 9.094 kB / 0.489 GB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.351e-05/0.1216, allocations: 31.42 kB / 0.4891 GB, free: 14.26 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1216, allocations: 0 / 0.4891 GB, free: 14.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04272/0.1643, allocations: 3.489 MB / 0.4925 GB, free: 10.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.74, allocations: 7.359 kB / 0.4925 GB, free: 10.97 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.52563799964264] Failed to read output from testmodel.py, exit status != 0: 11.856958168093115 12.099672479 11.987958899 Calling exit ...