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.001079/0.001079, allocations: 104.9 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001216/0.001216, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2165/0.2165, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 75.59 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1183, allocations: 62.44 MB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01051/0.1288, allocations: 9.491 MB / 489.6 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006836/0.1357, allocations: 3.823 MB / 493.4 MB, free: 7.797 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.137, allocations: 51.88 kB / 493.5 MB, free: 7.746 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00499/0.1421, allocations: 2.761 MB / 496.3 MB, free: 4.977 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003815/0.1459, allocations: 1.607 MB / 497.9 MB, free: 3.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.1476, allocations: 0.7252 MB / 498.6 MB, free: 2.637 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004765/0.1524, allocations: 3.868 MB / 0.4907 GB, free: 14.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004725/0.1571, allocations: 3.682 MB / 0.4943 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002388/0.1595, allocations: 1.406 MB / 0.4956 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00272/0.1623, allocations: 1.896 MB / 0.4975 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009527/0.1632, allocations: 316 kB / 0.4978 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002633/0.1659, allocations: 1.182 MB / 0.499 GB, free: 6.207 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002157/0.1681, allocations: 1.738 MB / 0.5007 GB, free: 4.465 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003869/0.1719, allocations: 2.082 MB / 0.5027 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2073/0.3793, allocations: 6.618 MB / 0.5091 GB, free: 21.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.3793, allocations: 0 / 0.5091 GB, free: 21.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3793, allocations: 0 / 0.5091 GB, free: 21.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002316/0.3796, allocations: 2.062 kB / 0.5092 GB, free: 21.17 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.01301/0.3926, allocations: 4.46 MB / 0.5135 GB, free: 19.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.3926, allocations: 9.969 kB / 0.5135 GB, free: 19.42 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00131/0.3939, allocations: 0.6556 MB / 0.5142 GB, free: 19.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08838/0.4823, allocations: 7.042 MB / 0.521 GB, free: 19.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005941/0.4883, allocations: 2.627 MB / 0.5236 GB, free: 18.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/0.4885, allocations: 221.6 kB / 0.5238 GB, free: 18.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008243/0.4893, allocations: 290.1 kB / 0.5241 GB, free: 18.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01207/0.5014, allocations: 8.672 MB / 0.5326 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001081/0.5015, allocations: 44.19 kB / 0.5326 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003994/0.5019, allocations: 135.3 kB / 0.5327 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002224/0.5042, allocations: 1.655 MB / 0.5343 GB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0116/0.5158, allocations: 7.087 MB / 0.5413 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0392/0.555, allocations: 33.37 MB / 0.5739 GB, free: 6.043 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005198/0.5603, allocations: 2.373 MB / 0.5762 GB, free: 3.531 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/0.5621, allocations: 1.232 MB / 0.5774 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003945/0.5626, allocations: 332 kB / 0.5777 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.5626, allocations: 43.12 kB / 0.5777 GB, free: 1.875 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 4.128e-06/0.5626, allocations: 0 / 0.5777 GB, free: 1.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.0275/0.5901, allocations: 10.48 MB / 0.588 GB, free: 7.309 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.5903, allocations: 200.6 kB / 0.5882 GB, free: 7.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006149/0.5964, allocations: 3.586 MB / 0.5917 GB, free: 3.492 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002641/0.5967, allocations: 41.7 kB / 0.5917 GB, free: 3.445 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002364/0.5991, allocations: 2.837 MB / 0.5945 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008533/0.6, allocations: 0.5517 MB / 0.595 GB, free: 76 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002492/0.6025, allocations: 1.072 MB / 0.5961 GB, free: 15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.534e-05/0.6026, allocations: 301.1 kB / 0.5963 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002943/0.6055, allocations: 1.697 MB / 0.598 GB, free: 13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005891/0.6115, allocations: 5.066 MB / 0.603 GB, free: 6.285 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008827/0.6203, allocations: 7.335 MB / 0.6101 GB, free: 13.78 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001018/0.6204, allocations: 36 kB / 0.6102 GB, free: 13.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01196/0.6324, allocations: 6.728 MB / 0.6167 GB, free: 7.188 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.466e-05/0.6325, allocations: 56 kB / 0.6168 GB, free: 7.133 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001503/0.6327, allocations: 123 kB / 0.6169 GB, free: 7.016 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009951/0.6337, allocations: 433.2 kB / 0.6173 GB, free: 6.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003673/0.6374, allocations: 1.214 MB / 0.6185 GB, free: 5.375 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004168/0.6416, allocations: 3.599 MB / 0.622 GB, free: 1.645 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00373/0.6453, allocations: 287.6 kB / 0.6223 GB, free: 1.363 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009178/0.6462, allocations: 328 kB / 0.6226 GB, free: 1.043 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.004447/0.6507, allocations: 1.951 MB / 0.6245 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006756/0.6514, allocations: 300.1 kB / 0.6248 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003832/0.6552, allocations: 1.882 MB / 0.6266 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.971e-05/0.6553, allocations: 22.5 kB / 0.6266 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.6553, allocations: 0 / 0.6266 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/0.6553, allocations: 11.97 kB / 0.6267 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/0.6663, allocations: 5.769 MB / 0.6323 GB, free: 7.047 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.6664, allocations: 4 kB / 0.6323 GB, free: 7.043 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.6674, allocations: 223.6 kB / 0.6325 GB, free: 6.824 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007316/0.6682, allocations: 250.2 kB / 0.6327 GB, free: 6.578 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/0.6683, allocations: 30.64 kB / 0.6328 GB, free: 6.551 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003438/0.6718, allocations: 3.18 MB / 0.6359 GB, free: 3.238 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6718, allocations: 0 / 0.6359 GB, free: 3.238 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005675/0.6775, allocations: 3.947 MB / 0.6397 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008475/0.6783, allocations: 345 kB / 0.6401 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005231/0.6788, allocations: 31.98 kB / 0.6401 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.6801, allocations: 71.98 kB / 0.6402 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002809/0.6804, allocations: 100.5 kB / 0.6403 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.905e-05/0.6805, allocations: 38.64 kB / 0.6403 GB, free: 14.67 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003977/0.6845, allocations: 2.242 MB / 0.6425 GB, free: 12.44 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6845, allocations: 2.625 kB / 0.6425 GB, free: 12.44 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004074/0.6886, allocations: 0.8164 MB / 0.6433 GB, free: 11.62 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.00604/0.6946, allocations: 4.569 MB / 0.6477 GB, free: 7.027 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007363/0.702, allocations: 4.609 MB / 0.6522 GB, free: 2.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.702, allocations: 0 / 0.6522 GB, free: 2.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.7037, allocations: 1.168 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.002295/0.706, allocations: 414.2 kB / 0.6538 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06235/0.7684, allocations: 41.96 MB / 0.6948 GB, free: 340 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005376/0.7738, allocations: 3.042 MB / 0.6977 GB, free: 13.26 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004571/0.7784, allocations: 1.706 MB / 0.6994 GB, free: 11.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002754/0.7812, allocations: 1.663 MB / 0.701 GB, free: 9.887 MB / 0.545 GB Notification: Performance of SimCode: time 1.683e-06/0.7812, allocations: 0 / 0.701 GB, free: 9.887 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2838/1.065, allocations: 59.62 MB / 0.7592 GB, free: 169.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/11.66, allocations: 14 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 & /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