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.001694/0.001694, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001725/0.001725, allocations: 205.2 kB / 18.74 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.494/1.494, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2308/0.2308, allocations: 46.12 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 83.86 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3467, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01153/0.3583, allocations: 9.483 MB / 0.5399 GB, free: 5.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008263/0.3666, allocations: 3.823 MB / 0.5436 GB, free: 2.965 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002799/0.3695, allocations: 60.72 kB / 0.5437 GB, free: 2.949 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005687/0.3752, allocations: 2.756 MB / 0.5464 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004637/0.3799, allocations: 1.617 MB / 0.548 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.3817, allocations: 0.7174 MB / 0.5487 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005911/0.3876, allocations: 3.887 MB / 0.5525 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004337/0.392, allocations: 3.687 MB / 0.5561 GB, free: 7.547 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/0.3941, allocations: 1.398 MB / 0.5574 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002545/0.3967, allocations: 1.9 MB / 0.5593 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007114/0.3974, allocations: 312 kB / 0.5596 GB, free: 3.934 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00221/0.3996, allocations: 1.182 MB / 0.5607 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001672/0.4013, allocations: 1.742 MB / 0.5624 GB, free: 1.004 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002188/0.4035, allocations: 2.074 MB / 0.5645 GB, free: 14.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008043/0.4116, allocations: 6.86 MB / 0.5712 GB, free: 8.031 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/0.4116, allocations: 3.984 kB / 0.5712 GB, free: 8.027 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4116, allocations: 0 / 0.5712 GB, free: 8.027 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001758/0.4118, allocations: 0 / 0.5712 GB, free: 8.027 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.01181/0.4236, allocations: 4.579 MB / 0.5756 GB, free: 3.375 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.4237, allocations: 12.02 kB / 0.5756 GB, free: 3.363 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001153/0.4248, allocations: 0.6496 MB / 0.5763 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09029/0.5151, allocations: 7.067 MB / 0.5832 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006137/0.5213, allocations: 2.684 MB / 0.5858 GB, free: 8.879 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001853/0.5215, allocations: 218 kB / 0.586 GB, free: 8.664 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007612/0.5223, allocations: 295.8 kB / 0.5863 GB, free: 8.375 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01366/0.536, allocations: 8.653 MB / 0.5947 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001061/0.5361, allocations: 39.7 kB / 0.5948 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003667/0.5365, allocations: 139.9 kB / 0.5949 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002716/0.5392, allocations: 1.661 MB / 0.5965 GB, free: 13.24 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01274/0.5519, allocations: 7.082 MB / 0.6034 GB, free: 6.156 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04035/0.5923, allocations: 33.28 MB / 0.6359 GB, free: 3.875 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005171/0.5976, allocations: 2.382 MB / 0.6383 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001787/0.5994, allocations: 1.224 MB / 0.6395 GB, free: 116 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004763/0.5999, allocations: 327.8 kB / 0.6398 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.791e-05/0.5999, allocations: 51.06 kB / 0.6398 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 4.678e-06/0.5999, allocations: 0 / 0.6398 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.0254/0.6254, allocations: 10.68 MB / 0.6503 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.6255, allocations: 196.6 kB / 0.6505 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004886/0.6304, allocations: 3.592 MB / 0.654 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001961/0.6306, allocations: 45.7 kB / 0.654 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002159/0.6328, allocations: 2.956 MB / 0.6569 GB, free: 14.03 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006288/0.6334, allocations: 0.5738 MB / 0.6574 GB, free: 13.45 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001351/0.6348, allocations: 1.076 MB / 0.6585 GB, free: 12.36 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.6349, allocations: 301.1 kB / 0.6588 GB, free: 12.07 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002751/0.6377, allocations: 1.7 MB / 0.6604 GB, free: 10.36 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005308/0.643, allocations: 5.071 MB / 0.6654 GB, free: 3.586 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008979/0.652, allocations: 7.342 MB / 0.6726 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.556e-05/0.6521, allocations: 32 kB / 0.6726 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01207/0.6642, allocations: 6.749 MB / 0.6792 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.38e-05/0.6643, allocations: 56.94 kB / 0.6792 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001326/0.6644, allocations: 119.9 kB / 0.6794 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009994/0.6654, allocations: 435.1 kB / 0.6798 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003544/0.669, allocations: 1.209 MB / 0.681 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00444/0.6735, allocations: 3.588 MB / 0.6845 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003478/0.677, allocations: 291.8 kB / 0.6847 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005752/0.6775, allocations: 332 kB / 0.6851 GB, free: 13.64 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.003112/0.6807, allocations: 1.951 MB / 0.687 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005907/0.6813, allocations: 325.9 kB / 0.6873 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003643/0.6849, allocations: 1.874 MB / 0.6891 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.394e-05/0.685, allocations: 16 kB / 0.6891 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.685, allocations: 7.938 kB / 0.6891 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/0.685, allocations: 11.97 kB / 0.6891 GB, free: 9.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0118/0.6968, allocations: 5.773 MB / 0.6948 GB, free: 3.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.838e-05/0.6969, allocations: 0 / 0.6948 GB, free: 3.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/0.6981, allocations: 211.7 kB / 0.695 GB, free: 3.383 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008415/0.6989, allocations: 256.6 kB / 0.6952 GB, free: 3.129 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/0.6991, allocations: 23.98 kB / 0.6952 GB, free: 3.105 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003925/0.703, allocations: 3.165 MB / 0.6983 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.004e-06/0.703, allocations: 112 / 0.6983 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006321/0.7093, allocations: 3.966 MB / 0.7022 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/0.7104, allocations: 374.8 kB / 0.7026 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003398/0.7107, allocations: 19.98 kB / 0.7026 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.7119, allocations: 79.97 kB / 0.7027 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002634/0.7121, allocations: 92.52 kB / 0.7027 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.7123, allocations: 43.97 kB / 0.7028 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003534/0.7158, allocations: 2.242 MB / 0.705 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.01e-07/0.7158, allocations: 0 / 0.705 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004249/0.7201, allocations: 0.8202 MB / 0.7058 GB, free: 8.133 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.006755/0.7269, allocations: 4.577 MB / 0.7102 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007606/0.7345, allocations: 4.106 MB / 0.7143 GB, free: 15.43 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.7345, allocations: 0 / 0.7143 GB, free: 15.43 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.001933/0.7365, allocations: 1.166 MB / 0.7154 GB, free: 14.25 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/0.7389, allocations: 407.2 kB / 0.7158 GB, free: 13.86 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.31/1.049, allocations: 37.91 MB / 0.7528 GB, free: 160.4 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002293/1.051, allocations: 3.034 MB / 0.7558 GB, free: 157.4 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.002955/1.054, allocations: 1.713 MB / 0.7574 GB, free: 155.7 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001636/1.056, allocations: 1.662 MB / 0.7591 GB, free: 154 MB / 0.5763 GB Notification: Performance of SimCode: time 1.212e-06/1.056, allocations: 0 / 0.7591 GB, free: 154 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08663/1.142, allocations: 56.5 MB / 0.8142 GB, free: 97.91 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.26/24.4, allocations: 11.34 kB / 0.8142 GB, free: 97.91 MB / 0.5763 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