Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.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.001374/0.001374, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001716/0.001716, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.433/1.433, allocations: 230.6 MB / 256 MB, free: 7.992 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.003404/0.003404, allocations: 0.5753 MB / 313 MB, free: 2.508 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.TwoMassesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 63.91 kB / 435.2 MB, free: 17.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.104, allocations: 53.53 MB / 488.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001908/0.1059, allocations: 0.5196 MB / 489.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001625/0.106, allocations: 28.3 kB / 489.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.832e-05/0.1061, allocations: 0 / 489.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.1061, allocations: 3.938 kB / 489.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.844e-05/0.1061, allocations: 0 / 489.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000115/0.1062, allocations: 7.984 kB / 489.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.209e-05/0.1063, allocations: 15.94 kB / 489.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.2e-05/0.1063, allocations: 7.984 kB / 489.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.419e-05/0.1063, allocations: 15.92 kB / 489.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.292e-05/0.1064, allocations: 11.92 kB / 489.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.1064, allocations: 0 / 489.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.118e-05/0.1064, allocations: 4 kB / 489.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/0.1064, allocations: 4 kB / 489.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.583e-05/0.1065, allocations: 11.94 kB / 489.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.627e-05/0.1065, allocations: 20.12 kB / 489.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1065, allocations: 0 / 489.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1065, allocations: 0 / 489.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1065, allocations: 4 kB / 489.3 MB, free: 10.82 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.000376/0.1069, allocations: 258.3 kB / 489.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.107, allocations: 8.031 kB / 489.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.912e-05/0.107, allocations: 38.75 kB / 489.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.235e-05/0.107, allocations: 4.938 kB / 489.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.1071, allocations: 110.5 kB / 489.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.1071, allocations: 384 / 489.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.1072, allocations: 8.375 kB / 489.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.1073, allocations: 50.17 kB / 489.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1073, allocations: 7.938 kB / 489.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-06/0.1073, allocations: 0 / 489.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1073, allocations: 4 kB / 489.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.121e-05/0.1073, allocations: 12 kB / 489.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002954/0.1076, allocations: 220 kB / 490.1 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.1078, allocations: 58.44 kB / 490.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.655e-05/0.1078, allocations: 20.97 kB / 490.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.1078, allocations: 7.984 kB / 490.1 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.1078, allocations: 34.5 kB / 490.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.1078, allocations: 0 / 490.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.00072/0.1085, allocations: 351.9 kB / 490.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.1086, allocations: 67.34 kB / 490.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.823e-05/0.1087, allocations: 93.86 kB / 490.7 MB, free: 9.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.1087, allocations: 29.69 kB / 490.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.812e-05/0.1088, allocations: 84.14 kB / 490.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.1088, allocations: 27.75 kB / 490.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.1088, allocations: 25.7 kB / 490.8 MB, free: 9.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.109, allocations: 318.8 kB / 491.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.635e-05/0.109, allocations: 19.98 kB / 491.2 MB, free: 8.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.471e-05/0.1091, allocations: 25.72 kB / 491.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003217/0.1094, allocations: 98.25 kB / 491.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1094, allocations: 0 / 491.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000173/0.1096, allocations: 94.47 kB / 491.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1096, allocations: 4 kB / 491.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1096, allocations: 8 kB / 491.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001191/0.1097, allocations: 24.78 kB / 491.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.617e-05/0.1098, allocations: 15.98 kB / 491.4 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.111, allocations: 1.276 MB / 492.7 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.415e-05/0.1111, allocations: 4 kB / 492.7 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1111, allocations: 4.031 kB / 492.7 MB, free: 7.066 MB / 350.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: x1 = 0.0 v1 = 0.0. 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 (8): * Single equations (assignments): 7 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001884/0.1113, allocations: 125.7 kB / 492.8 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.1113, allocations: 3.953 kB / 492.8 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.163e-05/0.1113, allocations: 12.12 kB / 492.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1113, allocations: 4 kB / 492.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.1113, allocations: 0 / 492.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1113, allocations: 0 / 492.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004837/0.1118, allocations: 336.9 kB / 493.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.1118, allocations: 0 / 493.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.195e-05/0.1119, allocations: 11.94 kB / 493.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.799e-05/0.1119, allocations: 25.25 kB / 493.2 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.1119, allocations: 4 kB / 493.2 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.113, allocations: 1.291 MB / 494.5 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.113, allocations: 4.031 kB / 494.5 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.1133, allocations: 235.2 kB / 494.8 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.623e-06/0.1133, allocations: 4.062 kB / 494.8 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.1133, allocations: 7.938 kB / 494.8 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.591e-05/0.1134, allocations: 0 / 494.8 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.1134, allocations: 15.92 kB / 494.8 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.1134, allocations: 4 kB / 494.8 MB, free: 4.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.44e-05/0.1135, allocations: 79.27 kB / 494.9 MB, free: 4.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1135, allocations: 0 / 494.9 MB, free: 4.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002429/0.1137, allocations: 16 kB / 494.9 MB, free: 4.688 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005881/0.1143, allocations: 0.7587 MB / 495.6 MB, free: 3.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003069/0.1146, allocations: 166.6 kB / 495.8 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1146, allocations: 0 / 495.8 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001907/0.1148, allocations: 142.6 kB / 495.9 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.115, allocations: 8 kB / 495.9 MB, free: 3.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.1165, allocations: 1.398 MB / 497.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.1168, allocations: 0.6807 MB / 498 MB, free: 1.336 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.69e-05/0.1169, allocations: 11.98 kB / 498 MB, free: 1.324 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/0.1169, allocations: 11.44 kB / 498.1 MB, free: 1.312 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1169, allocations: 4 kB / 498.1 MB, free: 1.309 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03406/0.151, allocations: 1.837 MB / 499.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.52, allocations: 13.2 kB / 499.9 MB, free: 15.64 MB / 366.1 MB " [Timeout remaining time 648] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.199887615861371] Failed to read output from testmodel.py, exit status != 0: 11.617632696870714 11.635751334 11.525844228 Calling exit ...