Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 109.4 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002805/0.002805, allocations: 0.5832 MB / 303.3 MB, free: 9.188 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 67.88 kB / 421.5 MB, free: 25.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08084/0.08268, allocations: 52.3 MB / 473.8 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.00165/0.08433, allocations: 0.5119 MB / 474.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001514/0.08448, allocations: 31.89 kB / 474.3 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.293e-05/0.0845, allocations: 0 / 474.3 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.08452, allocations: 4 kB / 474.3 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.02e-05/0.08455, allocations: 3.938 kB / 474.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001097/0.08466, allocations: 7.984 kB / 474.3 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.175e-05/0.08471, allocations: 11.98 kB / 474.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.589e-05/0.08476, allocations: 11.98 kB / 474.4 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.86e-05/0.08477, allocations: 7.938 kB / 474.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.595e-05/0.08483, allocations: 7.922 kB / 474.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.08485, allocations: 4 kB / 474.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.803e-06/0.08485, allocations: 0 / 474.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.08487, allocations: 4 kB / 474.4 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.08489, allocations: 15.92 kB / 474.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.958e-05/0.08495, allocations: 20.14 kB / 474.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.08495, allocations: 0 / 474.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.08496, allocations: 0 / 474.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.08496, allocations: 0 / 474.4 MB, free: 4.301 MB / 334.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.0004068/0.08537, allocations: 335.4 kB / 474.8 MB, free: 3.922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.08541, allocations: 11.89 kB / 474.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.36e-05/0.08546, allocations: 38.73 kB / 474.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.269e-05/0.08548, allocations: 4.891 kB / 474.8 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.08561, allocations: 164.4 kB / 475 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.08562, allocations: 8.375 kB / 475 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.08564, allocations: 8.312 kB / 475 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.895e-05/0.08574, allocations: 42.25 kB / 475 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.08575, allocations: 3.938 kB / 475 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.08576, allocations: 4 kB / 475 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.08576, allocations: 0 / 475 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.707e-05/0.08581, allocations: 15.92 kB / 475 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.08622, allocations: 302.4 kB / 475.3 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.632e-05/0.0863, allocations: 42.62 kB / 475.4 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.273e-05/0.08633, allocations: 12.86 kB / 475.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/0.08634, allocations: 0 / 475.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.08637, allocations: 38.5 kB / 475.4 MB, free: 3.109 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.08637, allocations: 0 / 475.4 MB, free: 3.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003729/0.08675, allocations: 159.7 kB / 475.6 MB, free: 2.926 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.08679, allocations: 51.41 kB / 475.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.332e-05/0.08686, allocations: 98.03 kB / 475.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.08688, allocations: 25.7 kB / 475.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/0.08693, allocations: 88.14 kB / 475.8 MB, free: 2.637 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.08695, allocations: 11.86 kB / 475.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.08698, allocations: 21.7 kB / 475.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.08712, allocations: 323.1 kB / 476.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.077e-05/0.08714, allocations: 15.94 kB / 476.2 MB, free: 2.258 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.187e-05/0.08717, allocations: 21.7 kB / 476.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.17e-05/0.08722, allocations: 33.89 kB / 476.3 MB, free: 2.191 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.08723, allocations: 4 kB / 476.3 MB, free: 2.188 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.664e-05/0.08732, allocations: 61.62 kB / 476.3 MB, free: 2.121 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.08733, allocations: 4 kB / 476.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.08734, allocations: 0 / 476.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.08735, allocations: 4.031 kB / 476.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.656e-05/0.08744, allocations: 15.98 kB / 476.4 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.08744, allocations: 0 / 476.4 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.069e-05/0.08746, allocations: 4 kB / 476.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-06/0.08746, allocations: 4.125 kB / 476.4 MB, free: 2.09 MB / 334.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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.322e-05/0.08754, allocations: 113.7 kB / 476.5 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.08756, allocations: 11.94 kB / 476.5 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.563e-05/0.08759, allocations: 7.5 kB / 476.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.08759, allocations: 4 kB / 476.5 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.08759, allocations: 0 / 476.5 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.0876, allocations: 3.984 kB / 476.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.08778, allocations: 169.5 kB / 476.7 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.08778, allocations: 0 / 476.7 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.441e-05/0.08781, allocations: 4 kB / 476.7 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001189/0.08793, allocations: 16.84 kB / 476.7 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.08794, allocations: 7.938 kB / 476.7 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/0.08899, allocations: 1.343 MB / 478 MB, free: 216 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.08899, allocations: 0 / 478 MB, free: 216 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.08918, allocations: 178.8 kB / 478.2 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/0.08924, allocations: 81.14 kB / 478.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.015e-06/0.08925, allocations: 3.938 kB / 478.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.838e-05/0.0893, allocations: 0 / 478.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.765e-05/0.08932, allocations: 8.078 kB / 478.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.08932, allocations: 7.984 kB / 478.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.735e-05/0.08936, allocations: 75.34 kB / 478.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.08936, allocations: 4 kB / 478.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.08958, allocations: 8 kB / 478.4 MB, free: 15.82 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.0004952/0.09008, allocations: 0.7054 MB / 479.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.421e-05/0.09017, allocations: 31.98 kB / 479.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.09017, allocations: 0 / 479.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.09036, allocations: 122.7 kB / 479.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.09055, allocations: 0.875 kB / 479.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.09162, allocations: 1.259 MB / 480.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.09193, allocations: 0.6807 MB / 481.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.75e-05/0.09195, allocations: 4 kB / 481.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.09198, allocations: 11.44 kB / 481.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.09198, allocations: 0 / 481.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.1165, allocations: 1.514 MB / 482.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.555/9.671, allocations: 0.8438 kB / 482.7 MB, free: 11.57 MB / 350.1 MB " [Timeout remaining time 650] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.964175625238568] Failed to read output from testmodel.py, exit status != 0: 9.750558854080737 9.772953081 9.683810856000001 Calling exit ...