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.0007803/0.0007804, allocations: 96.31 kB / 17.35 MB, free: 6.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009221/0.0009222, allocations: 203.7 kB / 18.28 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.158/1.158, allocations: 227.7 MB / 246.8 MB, free: 9.684 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1728/0.1728, allocations: 46.18 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002117/0.0002118, allocations: 8 kB / 419.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08498/0.08521, allocations: 63.56 MB / 483.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.1915/0.2767, allocations: 39.62 MB / 0.5105 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01362/0.2904, allocations: 8.938 MB / 0.5193 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003654/0.294, allocations: 172.3 kB / 0.5194 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007141/0.2948, allocations: 374.4 kB / 0.5198 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00257/0.2973, allocations: 1.529 MB / 0.5213 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.2985, allocations: 0.6484 MB / 0.5219 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005119/0.3036, allocations: 5.646 MB / 0.5274 GB, free: 7.754 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004794/0.3084, allocations: 4.843 MB / 0.5322 GB, free: 5.523 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.3095, allocations: 0.9925 MB / 0.5331 GB, free: 5.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001545/0.3111, allocations: 1.72 MB / 0.5348 GB, free: 4.211 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002132/0.3113, allocations: 128.5 kB / 0.5349 GB, free: 4.207 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.3127, allocations: 1.065 MB / 0.536 GB, free: 3.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008301/0.3135, allocations: 1.541 MB / 0.5375 GB, free: 2.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009596/0.3145, allocations: 1.822 MB / 0.5393 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0041/0.3186, allocations: 6.365 MB / 0.5455 GB, free: 13.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.3186, allocations: 0 / 0.5455 GB, free: 13.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3186, allocations: 0 / 0.5455 GB, free: 13.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.136e-05/0.3187, allocations: 0 / 0.5455 GB, free: 13.38 MB / 398.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.006332/0.325, allocations: 3.68 MB / 0.5491 GB, free: 10.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.3251, allocations: 12.88 kB / 0.5491 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006838/0.3257, allocations: 0.651 MB / 0.5497 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08836/0.4141, allocations: 7.244 MB / 0.5568 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004191/0.4183, allocations: 2.633 MB / 0.5594 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.4185, allocations: 217.7 kB / 0.5596 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004536/0.4189, allocations: 295.5 kB / 0.5599 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01024/0.4292, allocations: 8.68 MB / 0.5683 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.2e-05/0.4293, allocations: 43.58 kB / 0.5684 GB, free: 5.809 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003097/0.4296, allocations: 145.1 kB / 0.5685 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002357/0.4319, allocations: 1.641 MB / 0.5701 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009845/0.4418, allocations: 7.13 MB / 0.5771 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02815/0.4699, allocations: 33.43 MB / 0.6097 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004083/0.4741, allocations: 2.397 MB / 0.6121 GB, free: 8.113 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001452/0.4755, allocations: 1.231 MB / 0.6133 GB, free: 6.871 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003006/0.4758, allocations: 328.1 kB / 0.6136 GB, free: 6.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.4759, allocations: 55.05 kB / 0.6136 GB, free: 6.438 MB / 462.1 MB Notification: Performance of pre-optimization done (n=122): time 2.746e-06/0.4759, allocations: 0 / 0.6136 GB, free: 6.438 MB / 462.1 MB Notification: Performance of matching and sorting (n=140): time 0.0223/0.4982, allocations: 10.75 MB / 0.6241 GB, free: 11.56 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.551e-05/0.4983, allocations: 200.5 kB / 0.6243 GB, free: 11.32 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003772/0.5021, allocations: 3.579 MB / 0.6278 GB, free: 7.742 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.48e-05/0.5022, allocations: 45.7 kB / 0.6279 GB, free: 7.691 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001649/0.5038, allocations: 2.841 MB / 0.6306 GB, free: 4.852 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004019/0.5042, allocations: 0.5508 MB / 0.6312 GB, free: 4.305 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004652/0.5047, allocations: 453.4 kB / 0.6316 GB, free: 3.855 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.169e-05/0.5048, allocations: 309.1 kB / 0.6319 GB, free: 3.551 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002332/0.5071, allocations: 1.72 MB / 0.6336 GB, free: 1.824 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004255/0.5114, allocations: 5.099 MB / 0.6386 GB, free: 11.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00706/0.5185, allocations: 7.373 MB / 0.6458 GB, free: 1.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.895e-05/0.5185, allocations: 36 kB / 0.6458 GB, free: 1.945 MB / 494.1 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.009055/0.5276, allocations: 6.784 MB / 0.6524 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.453e-05/0.5276, allocations: 56 kB / 0.6525 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.19e-05/0.5277, allocations: 120 kB / 0.6526 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008362/0.5286, allocations: 433.1 kB / 0.653 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003006/0.5316, allocations: 1.216 MB / 0.6542 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003558/0.5352, allocations: 3.357 MB / 0.6575 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002452/0.5376, allocations: 295.6 kB / 0.6577 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003403/0.538, allocations: 336 kB / 0.6581 GB, free: 5.23 MB / 0.4981 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.00233/0.5403, allocations: 1.954 MB / 0.66 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000342/0.5407, allocations: 304.1 kB / 0.6603 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003201/0.5439, allocations: 1.929 MB / 0.6621 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.062e-05/0.5439, allocations: 16 kB / 0.6622 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.5439, allocations: 4 kB / 0.6622 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.5439, allocations: 7.969 kB / 0.6622 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008118/0.5521, allocations: 5.835 MB / 0.6679 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.5521, allocations: 4 kB / 0.6679 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009181/0.553, allocations: 223.7 kB / 0.6681 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006264/0.5536, allocations: 254.4 kB / 0.6683 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.516e-05/0.5537, allocations: 35.92 kB / 0.6684 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002988/0.5567, allocations: 2.918 MB / 0.6712 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5567, allocations: 3.938 kB / 0.6712 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005171/0.5619, allocations: 4.011 MB / 0.6751 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003732/0.5623, allocations: 357 kB / 0.6755 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002469/0.5625, allocations: 23.94 kB / 0.6755 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009759/0.5635, allocations: 87.97 kB / 0.6756 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002266/0.5638, allocations: 99.81 kB / 0.6757 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.013e-05/0.5639, allocations: 43.97 kB / 0.6757 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002519/0.5664, allocations: 2.242 MB / 0.6779 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.5664, allocations: 0 / 0.6779 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002872/0.5693, allocations: 0.8165 MB / 0.6787 GB, free: 15.85 MB / 0.5294 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.00562/0.5749, allocations: 4.64 MB / 0.6832 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005358/0.5803, allocations: 4.134 MB / 0.6873 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.5803, allocations: 4.375 kB / 0.6873 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001571/0.5819, allocations: 1.202 MB / 0.6885 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/0.5838, allocations: 369.3 kB / 0.6888 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.234/0.8179, allocations: 43.83 MB / 0.7316 GB, free: 150.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002457/0.8203, allocations: 3.034 MB / 0.7346 GB, free: 149.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003259/0.8236, allocations: 1.708 MB / 0.7362 GB, free: 149.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001377/0.825, allocations: 1.66 MB / 0.7379 GB, free: 148.1 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.825, allocations: 0 / 0.7379 GB, free: 148.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05525/0.8803, allocations: 57.7 MB / 0.7942 GB, free: 96.95 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001327/0.8804, allocations: 232.8 kB / 0.7944 GB, free: 96.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.606/3.486, allocations: 3.281 kB / 0.7944 GB, free: 96.7 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_DifferentiationOfForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/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