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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001267/0.001267, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001414/0.001414, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2261/0.2261, allocations: 46.12 MB / 344.4 MB, free: 11.47 MB / 286.1 MB 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.002325/0.002325, allocations: 75.88 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3502, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01295/0.3632, allocations: 9.502 MB / 0.5399 GB, free: 5.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009402/0.3727, allocations: 3.823 MB / 0.5436 GB, free: 2.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002017/0.3748, allocations: 57.72 kB / 0.5437 GB, free: 2.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005461/0.3803, allocations: 2.759 MB / 0.5464 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005235/0.3856, allocations: 1.622 MB / 0.548 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.3875, allocations: 0.7057 MB / 0.5486 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006085/0.3936, allocations: 3.888 MB / 0.5524 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004795/0.3984, allocations: 3.676 MB / 0.556 GB, free: 7.582 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002561/0.401, allocations: 1.406 MB / 0.5574 GB, free: 6.172 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002891/0.4039, allocations: 1.896 MB / 0.5593 GB, free: 4.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008408/0.4048, allocations: 316 kB / 0.5596 GB, free: 3.961 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002539/0.4073, allocations: 1.182 MB / 0.5607 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001983/0.4093, allocations: 1.734 MB / 0.5624 GB, free: 1.039 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002634/0.412, allocations: 2.086 MB / 0.5644 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008747/0.4207, allocations: 6.849 MB / 0.5711 GB, free: 8.066 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.4208, allocations: 0 / 0.5711 GB, free: 8.066 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4208, allocations: 4 kB / 0.5711 GB, free: 8.062 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002063/0.421, allocations: 0 / 0.5711 GB, free: 8.062 MB / 430.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.01143/0.4325, allocations: 4.579 MB / 0.5756 GB, free: 3.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.4325, allocations: 8.031 kB / 0.5756 GB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001149/0.4337, allocations: 0.6613 MB / 0.5763 GB, free: 2.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08928/0.523, allocations: 7.063 MB / 0.5832 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006758/0.5298, allocations: 2.68 MB / 0.5858 GB, free: 8.914 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002013/0.53, allocations: 222 kB / 0.586 GB, free: 8.695 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007527/0.5308, allocations: 295.8 kB / 0.5863 GB, free: 8.406 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0154/0.5462, allocations: 8.65 MB / 0.5947 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000122/0.5464, allocations: 43.62 kB / 0.5948 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004028/0.5468, allocations: 139.9 kB / 0.5949 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002747/0.5495, allocations: 1.657 MB / 0.5965 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01319/0.5627, allocations: 7.093 MB / 0.6034 GB, free: 6.184 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04077/0.6035, allocations: 33.29 MB / 0.6359 GB, free: 3.898 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004845/0.6084, allocations: 2.379 MB / 0.6383 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001719/0.6102, allocations: 1.219 MB / 0.6394 GB, free: 144 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004044/0.6106, allocations: 323.8 kB / 0.6398 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/0.6107, allocations: 47.12 kB / 0.6398 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 3.266e-06/0.6107, allocations: 0 / 0.6398 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.0267/0.6374, allocations: 10.7 MB / 0.6503 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/0.6375, allocations: 196.6 kB / 0.6504 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005192/0.6427, allocations: 3.596 MB / 0.654 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003026/0.6431, allocations: 45.7 kB / 0.654 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002375/0.6455, allocations: 2.952 MB / 0.6569 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008564/0.6463, allocations: 0.5699 MB / 0.6574 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001529/0.6479, allocations: 1.076 MB / 0.6585 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.648, allocations: 309.1 kB / 0.6588 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002725/0.6507, allocations: 1.697 MB / 0.6604 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006207/0.657, allocations: 5.071 MB / 0.6654 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009587/0.6666, allocations: 7.332 MB / 0.6726 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001/0.6667, allocations: 36 kB / 0.6726 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01274/0.6795, allocations: 6.751 MB / 0.6792 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.243e-05/0.6796, allocations: 56 kB / 0.6792 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001501/0.6798, allocations: 124.8 kB / 0.6794 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.6808, allocations: 428.6 kB / 0.6798 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003727/0.6845, allocations: 1.205 MB / 0.6809 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004782/0.6893, allocations: 3.602 MB / 0.6845 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004667/0.694, allocations: 291.8 kB / 0.6847 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007763/0.6948, allocations: 328 kB / 0.685 GB, free: 13.66 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.004851/0.6997, allocations: 1.954 MB / 0.687 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008764/0.7006, allocations: 321.8 kB / 0.6873 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003956/0.7046, allocations: 1.878 MB / 0.6891 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-05/0.7046, allocations: 16 kB / 0.6891 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.7046, allocations: 4 kB / 0.6891 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.7047, allocations: 7.969 kB / 0.6891 GB, free: 9.457 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/0.7157, allocations: 5.765 MB / 0.6948 GB, free: 3.625 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.7158, allocations: 0 / 0.6948 GB, free: 3.625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.7168, allocations: 219.7 kB / 0.695 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000729/0.7176, allocations: 248.6 kB / 0.6952 GB, free: 3.164 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.7177, allocations: 31.97 kB / 0.6952 GB, free: 3.133 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00382/0.7215, allocations: 3.162 MB / 0.6983 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.7215, allocations: 7.969 kB / 0.6983 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006139/0.7277, allocations: 3.963 MB / 0.7022 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007631/0.7285, allocations: 366.8 kB / 0.7025 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003055/0.7288, allocations: 27.91 kB / 0.7026 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.7298, allocations: 71.98 kB / 0.7026 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002766/0.7301, allocations: 100.4 kB / 0.7027 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.823e-05/0.7302, allocations: 39.98 kB / 0.7028 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003593/0.7338, allocations: 2.242 MB / 0.705 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7338, allocations: 0 / 0.705 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004158/0.738, allocations: 0.8163 MB / 0.7058 GB, free: 8.164 MB / 0.5606 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.006835/0.7448, allocations: 4.581 MB / 0.7102 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007514/0.7524, allocations: 4.103 MB / 0.7142 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.7524, allocations: 4 kB / 0.7142 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001837/0.7543, allocations: 1.169 MB / 0.7154 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002426/0.7567, allocations: 405 kB / 0.7158 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3066/1.063, allocations: 37.91 MB / 0.7528 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002253/1.066, allocations: 3.034 MB / 0.7558 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002919/1.069, allocations: 1.708 MB / 0.7574 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001544/1.07, allocations: 1.659 MB / 0.759 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.042e-06/1.07, allocations: 0 / 0.759 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08667/1.157, allocations: 56.53 MB / 0.8142 GB, free: 98.17 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.39/23.55, allocations: 4.734 kB / 0.8142 GB, free: 98.16 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_DifferentiationOfForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1)