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.001602/0.001602, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002473/0.002473, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2589/0.2589, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 79.73 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1252, allocations: 62.45 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01097/0.1362, allocations: 9.488 MB / 489.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008331/0.1446, allocations: 3.823 MB / 493.4 MB, free: 7.824 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001998/0.1466, allocations: 51.88 kB / 493.5 MB, free: 7.773 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005211/0.1519, allocations: 2.757 MB / 496.3 MB, free: 5.008 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004133/0.1561, allocations: 1.619 MB / 497.9 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.1578, allocations: 0.7174 MB / 498.6 MB, free: 2.664 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005247/0.1631, allocations: 3.872 MB / 0.4907 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004877/0.168, allocations: 3.686 MB / 0.4943 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002509/0.1705, allocations: 1.398 MB / 0.4956 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002865/0.1734, allocations: 1.896 MB / 0.4975 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009826/0.1744, allocations: 316 kB / 0.4978 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003052/0.1775, allocations: 1.182 MB / 0.499 GB, free: 6.234 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002295/0.1798, allocations: 1.738 MB / 0.5007 GB, free: 4.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003588/0.1834, allocations: 2.086 MB / 0.5027 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2359/0.4193, allocations: 6.611 MB / 0.5091 GB, free: 21.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.4193, allocations: 1.281 kB / 0.5091 GB, free: 21.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4193, allocations: 0 / 0.5091 GB, free: 21.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003216/0.4197, allocations: 3.656 kB / 0.5092 GB, free: 21.21 MB / 382.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.01626/0.4359, allocations: 4.462 MB / 0.5135 GB, free: 19.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.084e-05/0.436, allocations: 11.22 kB / 0.5135 GB, free: 19.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00174/0.4378, allocations: 0.661 MB / 0.5142 GB, free: 19.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08864/0.5264, allocations: 7.042 MB / 0.521 GB, free: 19.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007838/0.5343, allocations: 2.618 MB / 0.5236 GB, free: 18.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000258/0.5346, allocations: 229.3 kB / 0.5238 GB, free: 18.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001065/0.5357, allocations: 287.9 kB / 0.5241 GB, free: 18.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01322/0.5489, allocations: 8.657 MB / 0.5325 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001064/0.549, allocations: 46.17 kB / 0.5326 GB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003901/0.5494, allocations: 145.9 kB / 0.5327 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002315/0.5518, allocations: 1.651 MB / 0.5343 GB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0115/0.5633, allocations: 7.082 MB / 0.5413 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04498/0.6083, allocations: 33.37 MB / 0.5738 GB, free: 6.043 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005537/0.6139, allocations: 2.385 MB / 0.5762 GB, free: 3.523 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002003/0.6159, allocations: 1.214 MB / 0.5774 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003909/0.6163, allocations: 330.5 kB / 0.5777 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.2e-05/0.6164, allocations: 52.52 kB / 0.5777 GB, free: 1.875 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 5.861e-06/0.6164, allocations: 0 / 0.5777 GB, free: 1.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.03006/0.6465, allocations: 10.49 MB / 0.588 GB, free: 7.309 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.6466, allocations: 196.2 kB / 0.5882 GB, free: 7.078 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007819/0.6545, allocations: 3.583 MB / 0.5917 GB, free: 3.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004502/0.655, allocations: 45.7 kB / 0.5917 GB, free: 3.449 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002918/0.6579, allocations: 2.839 MB / 0.5945 GB, free: 0.625 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009281/0.6589, allocations: 0.5537 MB / 0.595 GB, free: 76 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002907/0.6618, allocations: 1.07 MB / 0.5961 GB, free: 15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.6619, allocations: 301.1 kB / 0.5963 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003205/0.6651, allocations: 1.697 MB / 0.598 GB, free: 13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00554/0.6707, allocations: 5.062 MB / 0.6029 GB, free: 6.289 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009487/0.6802, allocations: 7.34 MB / 0.6101 GB, free: 13.78 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001116/0.6804, allocations: 32 kB / 0.6101 GB, free: 13.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01394/0.6943, allocations: 6.728 MB / 0.6167 GB, free: 7.199 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000137/0.6945, allocations: 59.94 kB / 0.6168 GB, free: 7.141 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001617/0.6947, allocations: 124.9 kB / 0.6169 GB, free: 7.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.6958, allocations: 433.8 kB / 0.6173 GB, free: 6.594 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004055/0.6999, allocations: 1.212 MB / 0.6185 GB, free: 5.379 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004348/0.7042, allocations: 3.599 MB / 0.622 GB, free: 1.648 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004212/0.7084, allocations: 283.6 kB / 0.6223 GB, free: 1.371 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001208/0.7097, allocations: 332 kB / 0.6226 GB, free: 1.047 MB / 462.1 MB 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.004987/0.7147, allocations: 1.95 MB / 0.6245 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00111/0.7158, allocations: 300.1 kB / 0.6248 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004599/0.7204, allocations: 1.886 MB / 0.6266 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-05/0.7205, allocations: 16 kB / 0.6266 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/0.7205, allocations: 4 kB / 0.6266 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.971e-05/0.7205, allocations: 3.984 kB / 0.6266 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01651/0.7371, allocations: 5.784 MB / 0.6323 GB, free: 7.043 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.767e-05/0.7371, allocations: 4 kB / 0.6323 GB, free: 7.039 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/0.7383, allocations: 223.1 kB / 0.6325 GB, free: 6.824 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008104/0.7391, allocations: 250.6 kB / 0.6327 GB, free: 6.578 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/0.7393, allocations: 27.98 kB / 0.6328 GB, free: 6.551 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003686/0.743, allocations: 3.177 MB / 0.6359 GB, free: 3.238 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.743, allocations: 3.938 kB / 0.6359 GB, free: 3.234 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00613/0.7491, allocations: 3.944 MB / 0.6397 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009419/0.7501, allocations: 357 kB / 0.6401 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007567/0.7509, allocations: 16 kB / 0.6401 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001625/0.7525, allocations: 79.98 kB / 0.6402 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002875/0.7528, allocations: 100.5 kB / 0.6403 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.7529, allocations: 42.09 kB / 0.6403 GB, free: 14.67 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00442/0.7574, allocations: 2.238 MB / 0.6425 GB, free: 12.44 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7574, allocations: 0 / 0.6425 GB, free: 12.44 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005073/0.7625, allocations: 0.8125 MB / 0.6433 GB, free: 11.63 MB / 494.1 MB 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.006787/0.7693, allocations: 4.578 MB / 0.6477 GB, free: 7.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008638/0.7779, allocations: 4.6 MB / 0.6522 GB, free: 2.434 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.778, allocations: 0 / 0.6522 GB, free: 2.434 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00203/0.78, allocations: 1.17 MB / 0.6534 GB, free: 1.254 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00335/0.7834, allocations: 410.4 kB / 0.6538 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05907/0.8425, allocations: 41.95 MB / 0.6947 GB, free: 356 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004025/0.8465, allocations: 3.046 MB / 0.6977 GB, free: 13.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004177/0.8507, allocations: 1.701 MB / 0.6994 GB, free: 11.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002312/0.8531, allocations: 1.671 MB / 0.701 GB, free: 9.898 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.8531, allocations: 0 / 0.701 GB, free: 9.898 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3044/1.158, allocations: 59.63 MB / 0.7592 GB, free: 169.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/12.43, allocations: 7.156 kB / 0.7592 GB, free: 169.2 MB / 0.545 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