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.00131/0.00131, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001415/0.001415, allocations: 215.8 kB / 23.02 MB, free: 4.953 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.00301/0.00301, allocations: 0.5845 MB / 313.8 MB, free: 2.34 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 67.88 kB / 435.9 MB, free: 16.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0995/0.1015, allocations: 53.52 MB / 489.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001844/0.1033, allocations: 0.5137 MB / 489.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001735/0.1035, allocations: 31.91 kB / 490 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.442e-05/0.1035, allocations: 0 / 490 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2e-05/0.1035, allocations: 3.938 kB / 490 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.126e-05/0.1036, allocations: 0 / 490 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001156/0.1037, allocations: 0 / 490 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.18e-05/0.1038, allocations: 27.91 kB / 490 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.827e-05/0.1038, allocations: 4.406 kB / 490 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.663e-05/0.1038, allocations: 15.92 kB / 490 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.067e-05/0.1039, allocations: 7.984 kB / 490 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.1039, allocations: 0 / 490 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-06/0.1039, allocations: 0 / 490 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.237e-05/0.1039, allocations: 11.94 kB / 490 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.33e-05/0.104, allocations: 4 kB / 490 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.443e-05/0.104, allocations: 16.12 kB / 490 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.104, allocations: 4 kB / 490 MB, free: 10.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.104, allocations: 0 / 490 MB, free: 10.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.104, allocations: 4 kB / 490 MB, free: 10.67 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.0004115/0.1044, allocations: 258.4 kB / 490.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1045, allocations: 12.02 kB / 490.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.14e-05/0.1045, allocations: 4.188 kB / 490.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.846e-05/0.1045, allocations: 30.75 kB / 490.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.137e-05/0.1046, allocations: 0.9375 kB / 490.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.1047, allocations: 114.5 kB / 490.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.1047, allocations: 8.25 kB / 490.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.1047, allocations: 4.375 kB / 490.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.1048, allocations: 50 kB / 490.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1048, allocations: 8 kB / 490.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.1048, allocations: 0 / 490.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1048, allocations: 0 / 490.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.463e-05/0.1049, allocations: 15.98 kB / 490.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002989/0.1052, allocations: 220 kB / 490.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.1053, allocations: 54.44 kB / 490.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.965e-05/0.1053, allocations: 20.97 kB / 490.8 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.1053, allocations: 3.984 kB / 490.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.1054, allocations: 34.56 kB / 490.9 MB, free: 9.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 6.071e-06/0.1054, allocations: 4 kB / 490.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000725/0.1061, allocations: 352.5 kB / 491.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.1062, allocations: 51.41 kB / 491.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.905e-05/0.1062, allocations: 105.8 kB / 491.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.1063, allocations: 33.64 kB / 491.4 MB, free: 9.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.1063, allocations: 84.14 kB / 491.5 MB, free: 9.004 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.1064, allocations: 31.73 kB / 491.5 MB, free: 8.973 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.1064, allocations: 21.72 kB / 491.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1065, allocations: 314.8 kB / 491.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.441e-05/0.1066, allocations: 19.98 kB / 491.9 MB, free: 8.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.976e-05/0.1066, allocations: 37.7 kB / 491.9 MB, free: 8.566 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.1069, allocations: 93.69 kB / 492 MB, free: 8.469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1069, allocations: 0 / 492 MB, free: 8.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001655/0.1071, allocations: 90.48 kB / 492.1 MB, free: 8.371 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1071, allocations: 7.984 kB / 492.1 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.1071, allocations: 4.328 kB / 492.1 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001146/0.1072, allocations: 20.84 kB / 492.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.383e-05/0.1073, allocations: 11.94 kB / 492.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.1084, allocations: 1.284 MB / 493.4 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.407e-05/0.1084, allocations: 7.969 kB / 493.4 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1085, allocations: 3.984 kB / 493.4 MB, free: 6.91 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.000173/0.1086, allocations: 121.8 kB / 493.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.1087, allocations: 7.953 kB / 493.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.1087, allocations: 8.062 kB / 493.6 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1087, allocations: 256 / 493.6 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.1087, allocations: 4.062 kB / 493.6 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.1087, allocations: 4 kB / 493.6 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004797/0.1092, allocations: 336.9 kB / 493.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.1092, allocations: 3.938 kB / 493.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-05/0.1092, allocations: 11.98 kB / 493.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-05/0.1093, allocations: 24.84 kB / 493.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.1093, allocations: 0 / 493.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.1104, allocations: 1.287 MB / 495.2 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1104, allocations: 3.938 kB / 495.2 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.1106, allocations: 222.8 kB / 495.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.255e-06/0.1106, allocations: 7.969 kB / 495.5 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.1107, allocations: 3.938 kB / 495.5 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.399e-05/0.1107, allocations: 8 kB / 495.5 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.1107, allocations: 7.984 kB / 495.5 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.1107, allocations: 96 / 495.5 MB, free: 4.645 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.664e-05/0.1108, allocations: 87.2 kB / 495.6 MB, free: 4.559 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1108, allocations: 128 / 495.6 MB, free: 4.559 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.111, allocations: 16 kB / 495.6 MB, free: 4.543 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.0006148/0.1117, allocations: 0.7548 MB / 496.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000308/0.112, allocations: 166.6 kB / 496.5 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.112, allocations: 0 / 496.5 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.1122, allocations: 142.9 kB / 496.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.1124, allocations: 8 kB / 496.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.1138, allocations: 1.41 MB / 498 MB, free: 1.891 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.952e-05/0.1139, allocations: 67.34 kB / 498.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.107e-05/0.1139, allocations: 7.938 kB / 498.1 MB, free: 1.797 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.114, allocations: 11.42 kB / 498.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.114, allocations: 0 / 498.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.1393, allocations: 1.906 MB / 0.4883 GB, free: 76 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.11, allocations: 4.062 kB / 0.4883 GB, free: 72 kB / 350.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.797553815995343] Failed to read output from testmodel.py, exit status != 0: 12.279532440006733 12.305511602 12.196754749 Calling exit ...