Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_trunk_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.001656/0.001656, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00215/0.00215, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2167/0.2167, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 75.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3433, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01066/0.354, allocations: 9.491 MB / 0.5398 GB, free: 5.992 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008185/0.3623, allocations: 3.829 MB / 0.5435 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002169/0.3645, allocations: 61.41 kB / 0.5436 GB, free: 3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005101/0.3696, allocations: 2.756 MB / 0.5463 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005069/0.3747, allocations: 1.648 MB / 0.5479 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.3765, allocations: 0.7174 MB / 0.5486 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005242/0.3817, allocations: 3.9 MB / 0.5524 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003935/0.3857, allocations: 3.675 MB / 0.556 GB, free: 7.594 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00262/0.3883, allocations: 1.41 MB / 0.5574 GB, free: 6.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003127/0.3915, allocations: 1.896 MB / 0.5592 GB, free: 4.277 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001029/0.3925, allocations: 312 kB / 0.5595 GB, free: 3.973 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.3948, allocations: 1.19 MB / 0.5607 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001466/0.3963, allocations: 1.753 MB / 0.5624 GB, free: 1.023 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00195/0.3983, allocations: 2.074 MB / 0.5644 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007248/0.4055, allocations: 6.864 MB / 0.5711 GB, free: 8.047 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4056, allocations: 0 / 0.5711 GB, free: 8.047 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4056, allocations: 0 / 0.5711 GB, free: 8.047 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001981/0.4058, allocations: 4 kB / 0.5711 GB, free: 8.043 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.009822/0.4156, allocations: 4.583 MB / 0.5756 GB, free: 3.387 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.4157, allocations: 8.031 kB / 0.5756 GB, free: 3.379 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000907/0.4166, allocations: 0.6574 MB / 0.5762 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08848/0.5051, allocations: 7.063 MB / 0.5831 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006526/0.5117, allocations: 2.673 MB / 0.5857 GB, free: 8.902 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001618/0.5119, allocations: 222 kB / 0.586 GB, free: 8.684 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007411/0.5126, allocations: 299.8 kB / 0.5862 GB, free: 8.391 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01462/0.5272, allocations: 8.657 MB / 0.5947 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001174/0.5274, allocations: 35.7 kB / 0.5947 GB, free: 15.06 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000387/0.5278, allocations: 143.9 kB / 0.5949 GB, free: 14.92 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002555/0.5304, allocations: 1.653 MB / 0.5965 GB, free: 13.26 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01315/0.5435, allocations: 7.093 MB / 0.6034 GB, free: 6.168 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04422/0.5878, allocations: 33.28 MB / 0.6359 GB, free: 3.891 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004907/0.5928, allocations: 2.371 MB / 0.6382 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001749/0.5946, allocations: 1.222 MB / 0.6394 GB, free: 144 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004153/0.595, allocations: 327.8 kB / 0.6397 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.5951, allocations: 55.05 kB / 0.6398 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 4.699e-06/0.5951, allocations: 3.938 kB / 0.6398 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.02781/0.6229, allocations: 10.68 MB / 0.6502 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.6231, allocations: 192.6 kB / 0.6504 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006508/0.6296, allocations: 3.596 MB / 0.6539 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003342/0.63, allocations: 45.7 kB / 0.654 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002043/0.632, allocations: 2.952 MB / 0.6568 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005621/0.6326, allocations: 0.5777 MB / 0.6574 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001158/0.6337, allocations: 1.076 MB / 0.6585 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.88e-05/0.6338, allocations: 309.1 kB / 0.6588 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002348/0.6362, allocations: 1.697 MB / 0.6604 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004399/0.6406, allocations: 5.071 MB / 0.6654 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007924/0.6485, allocations: 7.332 MB / 0.6725 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001122/0.6487, allocations: 36 kB / 0.6726 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01209/0.6608, allocations: 6.739 MB / 0.6791 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001335/0.661, allocations: 60.95 kB / 0.6792 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001777/0.6611, allocations: 123.9 kB / 0.6793 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.6622, allocations: 432.5 kB / 0.6797 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003674/0.6659, allocations: 1.205 MB / 0.6809 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004145/0.67, allocations: 3.602 MB / 0.6844 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004083/0.6741, allocations: 291.8 kB / 0.6847 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009357/0.6751, allocations: 332 kB / 0.685 GB, free: 13.65 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.004013/0.6791, allocations: 1.947 MB / 0.6869 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000708/0.6798, allocations: 321.8 kB / 0.6872 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004069/0.6839, allocations: 1.874 MB / 0.6891 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.604e-05/0.684, allocations: 23.97 kB / 0.6891 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.684, allocations: 4 kB / 0.6891 GB, free: 9.457 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.684, allocations: 3.984 kB / 0.6891 GB, free: 9.453 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/0.6971, allocations: 5.773 MB / 0.6947 GB, free: 3.613 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/0.6972, allocations: 0 / 0.6947 GB, free: 3.613 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.6982, allocations: 216.1 kB / 0.6949 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000757/0.699, allocations: 252.6 kB / 0.6952 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/0.6992, allocations: 23.98 kB / 0.6952 GB, free: 3.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00365/0.7028, allocations: 3.173 MB / 0.6983 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.7028, allocations: 4.031 kB / 0.6983 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005794/0.7086, allocations: 3.963 MB / 0.7022 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008961/0.7096, allocations: 370.8 kB / 0.7025 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006033/0.7102, allocations: 20 kB / 0.7025 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/0.7116, allocations: 71.98 kB / 0.7026 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002498/0.7119, allocations: 92.52 kB / 0.7027 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.712, allocations: 43.97 kB / 0.7027 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004148/0.7162, allocations: 2.242 MB / 0.7049 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7162, allocations: 0 / 0.7049 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004904/0.7211, allocations: 0.8202 MB / 0.7057 GB, free: 8.16 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.006704/0.7278, allocations: 4.585 MB / 0.7102 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006633/0.7345, allocations: 4.099 MB / 0.7142 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.7345, allocations: 0 / 0.7142 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001664/0.7362, allocations: 1.166 MB / 0.7153 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.002508/0.7387, allocations: 408.7 kB / 0.7157 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3034/1.042, allocations: 37.92 MB / 0.7528 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002237/1.044, allocations: 3.036 MB / 0.7557 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00303/1.047, allocations: 1.716 MB / 0.7574 GB, free: 156 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001535/1.049, allocations: 1.659 MB / 0.759 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.353e-06/1.049, allocations: 0 / 0.759 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07921/1.128, allocations: 56.49 MB / 0.8142 GB, free: 98.21 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.5/23.62, allocations: 7.812 kB / 0.8142 GB, free: 98.21 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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.00044 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches