Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001348/0.001348, allocations: 113.3 kB / 20.22 MB, free: 1.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001647/0.001647, allocations: 210.8 kB / 23.48 MB, free: 5.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 230.2 MB / 256.8 MB, free: 8.562 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2341/0.2341, allocations: 46.89 MB / 360 MB, free: 4.707 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002398/0.002398, allocations: 79.88 kB / 0.4951 GB, free: 9.086 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3806, allocations: 65.98 MB / 0.5595 GB, free: 33.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.00818/0.3888, allocations: 9.565 MB / 0.5689 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006623/0.3954, allocations: 3.871 MB / 0.5726 GB, free: 24.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001658/0.3971, allocations: 54.16 kB / 0.5727 GB, free: 24.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004945/0.402, allocations: 2.804 MB / 0.5754 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004826/0.4068, allocations: 1.65 MB / 0.577 GB, free: 22.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001953/0.4088, allocations: 0.72 MB / 0.5777 GB, free: 22.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007099/0.4159, allocations: 3.891 MB / 0.5815 GB, free: 20.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004193/0.4201, allocations: 2.554 MB / 0.584 GB, free: 19.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003639/0.4237, allocations: 1.411 MB / 0.5854 GB, free: 19.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004279/0.428, allocations: 2.049 MB / 0.5874 GB, free: 18.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001539/0.4296, allocations: 313.7 kB / 0.5877 GB, free: 18.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003482/0.433, allocations: 1.222 MB / 0.5889 GB, free: 18.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003122/0.4362, allocations: 1.789 MB / 0.5907 GB, free: 17.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00407/0.4402, allocations: 2.079 MB / 0.5927 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009778/0.45, allocations: 6.864 MB / 0.5994 GB, free: 11.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.45, allocations: 1.438 kB / 0.5994 GB, free: 11.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.45, allocations: 3.938 kB / 0.5994 GB, free: 11.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002874/0.4503, allocations: 4 kB / 0.5994 GB, free: 11.54 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1367 * Number of variables: 1367 Notification: Performance of Generate backend data structure: time 0.01462/0.4649, allocations: 4.577 MB / 0.6039 GB, free: 8.297 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.465, allocations: 13.66 kB / 0.6039 GB, free: 8.293 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002294/0.4673, allocations: 0.6583 MB / 0.6045 GB, free: 7.832 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08262/0.5499, allocations: 7.063 MB / 0.6114 GB, free: 1.957 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007014/0.5569, allocations: 2.673 MB / 0.614 GB, free: 15.22 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002102/0.5571, allocations: 218 kB / 0.6142 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001295/0.5584, allocations: 295.8 kB / 0.6145 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0175/0.5759, allocations: 8.665 MB / 0.623 GB, free: 5.41 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002125/0.5761, allocations: 47.66 kB / 0.623 GB, free: 5.363 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001003/0.5771, allocations: 139.8 kB / 0.6232 GB, free: 5.227 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003041/0.5802, allocations: 1.657 MB / 0.6248 GB, free: 3.566 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01488/0.5951, allocations: 7.078 MB / 0.6317 GB, free: 12.48 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04412/0.6392, allocations: 33.28 MB / 0.6642 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00493/0.6441, allocations: 2.283 MB / 0.6664 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001815/0.6459, allocations: 1.125 MB / 0.6675 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000412/0.6463, allocations: 327.8 kB / 0.6678 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.6464, allocations: 51.06 kB / 0.6679 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 3.787e-06/0.6464, allocations: 0 / 0.6679 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.02749/0.6739, allocations: 10.69 MB / 0.6783 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.674, allocations: 192.6 kB / 0.6785 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005663/0.6797, allocations: 3.588 MB / 0.682 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000293/0.6799, allocations: 49.7 kB / 0.6821 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002409/0.6824, allocations: 2.956 MB / 0.6849 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007953/0.6831, allocations: 0.5818 MB / 0.6855 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001641/0.6848, allocations: 1.072 MB / 0.6866 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.6849, allocations: 309 kB / 0.6869 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002935/0.6878, allocations: 1.7 MB / 0.6885 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005971/0.6938, allocations: 5.064 MB / 0.6935 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009658/0.7035, allocations: 7.33 MB / 0.7006 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.745e-05/0.7036, allocations: 36 kB / 0.7007 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01398/0.7175, allocations: 6.76 MB / 0.7073 GB, free: 10.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.443e-05/0.7176, allocations: 56 kB / 0.7073 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001654/0.7178, allocations: 120 kB / 0.7074 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.7189, allocations: 429.1 kB / 0.7078 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003902/0.7228, allocations: 1.209 MB / 0.709 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004521/0.7273, allocations: 3.59 MB / 0.7125 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004115/0.7315, allocations: 283.8 kB / 0.7128 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009451/0.7324, allocations: 332 kB / 0.7131 GB, free: 4.164 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (644): * Single equations (assignments): 640 * Array equations: 3 * 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,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00414/0.7365, allocations: 1.955 MB / 0.715 GB, free: 2.195 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007218/0.7373, allocations: 313.9 kB / 0.7153 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004041/0.7413, allocations: 1.882 MB / 0.7172 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.425e-05/0.7413, allocations: 16 kB / 0.7172 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.7414, allocations: 8 kB / 0.7172 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.7414, allocations: 7.922 kB / 0.7172 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/0.7536, allocations: 5.761 MB / 0.7228 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/0.7536, allocations: 0 / 0.7228 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.7547, allocations: 215.7 kB / 0.723 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007535/0.7555, allocations: 252.6 kB / 0.7233 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/0.7556, allocations: 19.98 kB / 0.7233 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003842/0.7595, allocations: 3.185 MB / 0.7264 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.305e-06/0.7595, allocations: 11.98 kB / 0.7264 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006548/0.766, allocations: 3.948 MB / 0.7303 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/0.7671, allocations: 370.9 kB / 0.7306 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004311/0.7675, allocations: 16 kB / 0.7306 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.7686, allocations: 71.92 kB / 0.7307 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002882/0.7689, allocations: 96.5 kB / 0.7308 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.769, allocations: 39.98 kB / 0.7308 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004171/0.7732, allocations: 2.238 MB / 0.733 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7732, allocations: 4.062 kB / 0.733 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005082/0.7783, allocations: 0.8241 MB / 0.7338 GB, free: 14.68 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * 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 (107): * Single equations (assignments): 103 * Array equations: 3 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006944/0.7852, allocations: 4.587 MB / 0.7383 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007508/0.7927, allocations: 3.958 MB / 0.7422 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.7927, allocations: 0 / 0.7422 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001965/0.7947, allocations: 1.107 MB / 0.7432 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002612/0.7973, allocations: 409.6 kB / 0.7436 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3104/1.108, allocations: 37.98 MB / 0.7807 GB, free: 161.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004681/1.112, allocations: 3.033 MB / 0.7837 GB, free: 160 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004699/1.117, allocations: 1.708 MB / 0.7854 GB, free: 159.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00273/1.12, allocations: 1.661 MB / 0.787 GB, free: 158.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.964e-06/1.12, allocations: 4 kB / 0.787 GB, free: 158.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1081/1.228, allocations: 57.15 MB / 0.8428 GB, free: 118.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.7/23.93, allocations: 7.922 kB / 0.8428 GB, free: 118.5 MB / 0.5919 GB " [Timeout remaining time 636] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.959088464966044] Failed to read output from testmodel.py, exit status != 0: ['time', 'rev.phi', 'rev.w'] 24.04913185595069 24.063707988 23.610409867 Calling exit ...