Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.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.001423/0.001423, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.0018/0.0018, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.562/1.562, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.00289/0.00289, allocations: 0.577 MB / 310.1 MB, free: 3.406 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.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 68.03 kB / 430.7 MB, free: 41.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08895/0.09094, allocations: 53.47 MB / 484.2 MB, free: 19.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.001575/0.09251, allocations: 0.5251 MB / 484.7 MB, free: 18.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001757/0.09269, allocations: 29.55 kB / 484.7 MB, free: 18.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.093e-05/0.09272, allocations: 0 / 484.7 MB, free: 18.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.297e-05/0.09273, allocations: 1.188 kB / 484.7 MB, free: 18.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.434e-05/0.09276, allocations: 3.938 kB / 484.7 MB, free: 18.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001213/0.09289, allocations: 5.234 kB / 484.7 MB, free: 18.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.028e-05/0.09295, allocations: 28.08 kB / 484.8 MB, free: 18.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.805e-05/0.093, allocations: 2.219 kB / 484.8 MB, free: 18.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.95e-05/0.09302, allocations: 7.312 kB / 484.8 MB, free: 18.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.084e-05/0.09308, allocations: 10.3 kB / 484.8 MB, free: 18.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.09311, allocations: 1.188 kB / 484.8 MB, free: 18.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.907e-06/0.09312, allocations: 1.219 kB / 484.8 MB, free: 18.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.09313, allocations: 9.234 kB / 484.8 MB, free: 18.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.142e-05/0.09315, allocations: 6.625 kB / 484.8 MB, free: 18.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.171e-05/0.09321, allocations: 15.45 kB / 484.8 MB, free: 18.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.09322, allocations: 0 / 484.8 MB, free: 18.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.09322, allocations: 1.219 kB / 484.8 MB, free: 18.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.09323, allocations: 4 kB / 484.8 MB, free: 18.6 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.0003484/0.09358, allocations: 339.3 kB / 485.2 MB, free: 18.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.09361, allocations: 10.41 kB / 485.2 MB, free: 18.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.357e-05/0.09363, allocations: 4.125 kB / 485.2 MB, free: 18.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.742e-05/0.09365, allocations: 31.88 kB / 485.2 MB, free: 18.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.339e-05/0.09367, allocations: 3.094 kB / 485.2 MB, free: 18.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.334e-05/0.09375, allocations: 161.5 kB / 485.4 MB, free: 18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-06/0.09376, allocations: 6.75 kB / 485.4 MB, free: 17.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.09378, allocations: 6.562 kB / 485.4 MB, free: 17.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.859e-05/0.09388, allocations: 45.97 kB / 485.4 MB, free: 17.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.09389, allocations: 5.172 kB / 485.4 MB, free: 17.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.0939, allocations: 7.984 kB / 485.4 MB, free: 17.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.09391, allocations: 5.141 kB / 485.4 MB, free: 17.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.81e-05/0.09395, allocations: 12.28 kB / 485.4 MB, free: 17.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.09426, allocations: 296.8 kB / 485.7 MB, free: 17.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.414e-05/0.09435, allocations: 49.59 kB / 485.8 MB, free: 17.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.189e-05/0.09438, allocations: 8.453 kB / 485.8 MB, free: 17.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.09438, allocations: 1.188 kB / 485.8 MB, free: 17.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.395e-05/0.0944, allocations: 39.69 kB / 485.8 MB, free: 17.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.0944, allocations: 0 / 485.8 MB, free: 17.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003833/0.09478, allocations: 155.4 kB / 486 MB, free: 17.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.88e-05/0.0948, allocations: 55.41 kB / 486 MB, free: 17.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.651e-05/0.09485, allocations: 98.34 kB / 486.1 MB, free: 17.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.293e-06/0.09486, allocations: 25.7 kB / 486.2 MB, free: 17.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.429e-05/0.09488, allocations: 89.28 kB / 486.2 MB, free: 17.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.09489, allocations: 10.28 kB / 486.3 MB, free: 17.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.09492, allocations: 22.14 kB / 486.3 MB, free: 17.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.18e-05/0.09497, allocations: 319.9 kB / 486.6 MB, free: 16.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.123e-05/0.09499, allocations: 13.41 kB / 486.6 MB, free: 16.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.426e-05/0.09501, allocations: 28.17 kB / 486.6 MB, free: 16.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.429e-05/0.09506, allocations: 30.16 kB / 486.7 MB, free: 16.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.09506, allocations: 3.938 kB / 486.7 MB, free: 16.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001171/0.09517, allocations: 74.53 kB / 486.7 MB, free: 16.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.09519, allocations: 5.438 kB / 486.7 MB, free: 16.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.09519, allocations: 0 / 486.7 MB, free: 16.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00014/0.09533, allocations: 20.64 kB / 486.8 MB, free: 16.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.386e-05/0.09539, allocations: 9.422 kB / 486.8 MB, free: 16.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006786/0.09606, allocations: 1.353 MB / 488.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.043e-05/0.09609, allocations: 1.062 kB / 488.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.09609, allocations: 1.219 kB / 488.1 MB, free: 15.14 MB / 350.1 MB 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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 5.771e-05/0.09615, allocations: 120 kB / 488.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.09617, allocations: 5.984 kB / 488.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.729e-05/0.09619, allocations: 11.59 kB / 488.3 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.09619, allocations: 1.75 kB / 488.3 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.09619, allocations: 0 / 488.3 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.0962, allocations: 0 / 488.3 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.09632, allocations: 160.7 kB / 488.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.09632, allocations: 3.984 kB / 488.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.895e-05/0.09636, allocations: 3.5 kB / 488.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.882e-05/0.09643, allocations: 19.44 kB / 488.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.09643, allocations: 4.969 kB / 488.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005843/0.09702, allocations: 1.348 MB / 489.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.09702, allocations: 4.156 kB / 489.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.09716, allocations: 169.5 kB / 490 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.778e-05/0.09718, allocations: 82.14 kB / 490 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-06/0.09719, allocations: 5.031 kB / 490.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.933e-05/0.09724, allocations: 4 kB / 490.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.09726, allocations: 6.203 kB / 490.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.09727, allocations: 1 kB / 490.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.344e-05/0.09729, allocations: 86.69 kB / 490.2 MB, free: 13 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09729, allocations: 0 / 490.2 MB, free: 13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.09752, allocations: 9.469 kB / 490.2 MB, free: 12.99 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * 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.0003243/0.09785, allocations: 0.7056 MB / 490.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002719/0.09812, allocations: 140.9 kB / 491 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.09812, allocations: 1.156 kB / 491 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.09823, allocations: 121 kB / 491.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.09846, allocations: 4.5 kB / 491.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008949/0.09935, allocations: 1.289 MB / 492.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.09947, allocations: 0.6807 MB / 493.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.043e-05/0.09949, allocations: 1.406 kB / 493.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.09952, allocations: 8.688 kB / 493.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.09952, allocations: 0 / 493.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02591/0.1254, allocations: 1.623 MB / 494.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/10.15, allocations: 22.34 kB / 494.8 MB, free: 9.254 MB / 350.1 MB " [Timeout remaining time 649] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.9866933519952] Failed to read output from testmodel.py, exit status != 0: 10.506973834999371 10.303374341 10.207395677 Calling exit ...