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.001349/0.001349, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001585/0.001585, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2466/0.2466, allocations: 46.1 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 77.44 kB / 416.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.133, allocations: 62.44 MB / 479.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.3157/0.4488, allocations: 40.72 MB / 0.5079 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02083/0.4697, allocations: 9.011 MB / 0.5167 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009097/0.4788, allocations: 172.9 kB / 0.5169 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005532/0.4844, allocations: 2.752 MB / 0.5196 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00526/0.4897, allocations: 1.518 MB / 0.5211 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002006/0.4917, allocations: 0.6585 MB / 0.5217 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008158/0.4999, allocations: 5.649 MB / 0.5272 GB, free: 6.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004711/0.5046, allocations: 3.626 MB / 0.5308 GB, free: 4.949 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00231/0.507, allocations: 1.229 MB / 0.532 GB, free: 4.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002618/0.5096, allocations: 2.03 MB / 0.5339 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005585/0.5102, allocations: 226 kB / 0.5342 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002195/0.5124, allocations: 1.164 MB / 0.5353 GB, free: 2.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001338/0.5137, allocations: 1.671 MB / 0.5369 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001592/0.5153, allocations: 1.986 MB / 0.5389 GB, free: 412 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006886/0.5222, allocations: 6.565 MB / 0.5453 GB, free: 11.67 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.5223, allocations: 0 / 0.5453 GB, free: 11.67 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.5223, allocations: 4 kB / 0.5453 GB, free: 11.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001967/0.5225, allocations: 0 / 0.5453 GB, free: 11.66 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.01065/0.5331, allocations: 4.465 MB / 0.5496 GB, free: 7.219 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.5332, allocations: 8.875 kB / 0.5496 GB, free: 7.211 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00122/0.5344, allocations: 0.6563 MB / 0.5503 GB, free: 6.574 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0787/0.6131, allocations: 7.036 MB / 0.5572 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007194/0.6204, allocations: 2.63 MB / 0.5597 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002263/0.6207, allocations: 216.5 kB / 0.5599 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001384/0.6221, allocations: 299.4 kB / 0.5602 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01874/0.6408, allocations: 8.66 MB / 0.5687 GB, free: 3.211 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002235/0.6411, allocations: 43.64 kB / 0.5687 GB, free: 3.168 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001133/0.6422, allocations: 139 kB / 0.5688 GB, free: 3.062 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002995/0.6452, allocations: 1.656 MB / 0.5705 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01483/0.6601, allocations: 7.082 MB / 0.5774 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04319/0.7033, allocations: 33.38 MB / 0.61 GB, free: 8.117 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00539/0.7088, allocations: 2.379 MB / 0.6123 GB, free: 5.59 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002044/0.7109, allocations: 1.219 MB / 0.6135 GB, free: 4.359 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004039/0.7113, allocations: 336.7 kB / 0.6138 GB, free: 3.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.063e-05/0.7114, allocations: 51.05 kB / 0.6139 GB, free: 3.922 MB / 462.1 MB Notification: Performance of pre-optimization done (n=122): time 4.208e-06/0.7114, allocations: 0 / 0.6139 GB, free: 3.922 MB / 462.1 MB Notification: Performance of matching and sorting (n=140): time 0.029/0.7404, allocations: 10.49 MB / 0.6241 GB, free: 9.309 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.7406, allocations: 196.6 kB / 0.6243 GB, free: 9.074 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007497/0.7481, allocations: 3.579 MB / 0.6278 GB, free: 5.496 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003681/0.7485, allocations: 45.7 kB / 0.6278 GB, free: 5.445 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002797/0.7513, allocations: 2.836 MB / 0.6306 GB, free: 2.609 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009744/0.7523, allocations: 0.5605 MB / 0.6311 GB, free: 2.055 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002893/0.7552, allocations: 1.063 MB / 0.6322 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.7554, allocations: 305.1 kB / 0.6325 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003613/0.759, allocations: 1.7 MB / 0.6341 GB, free: 14.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005948/0.765, allocations: 5.068 MB / 0.6391 GB, free: 8.203 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009783/0.7748, allocations: 7.32 MB / 0.6462 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001152/0.7749, allocations: 39.94 kB / 0.6463 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01328/0.7882, allocations: 6.729 MB / 0.6528 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.7884, allocations: 56 kB / 0.6529 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002091/0.7886, allocations: 120 kB / 0.653 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.7897, allocations: 437.8 kB / 0.6534 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004193/0.7939, allocations: 1.205 MB / 0.6546 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004454/0.7984, allocations: 3.345 MB / 0.6579 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004113/0.8025, allocations: 290 kB / 0.6581 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001015/0.8036, allocations: 336.1 kB / 0.6585 GB, free: 2.543 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.004094/0.8077, allocations: 1.951 MB / 0.6604 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007672/0.8085, allocations: 304.1 kB / 0.6607 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004158/0.8126, allocations: 1.889 MB / 0.6625 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.954e-05/0.8127, allocations: 20 kB / 0.6625 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/0.8127, allocations: 4 kB / 0.6625 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/0.8127, allocations: 3.984 kB / 0.6625 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/0.8256, allocations: 5.789 MB / 0.6682 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/0.8256, allocations: 0 / 0.6682 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/0.8267, allocations: 215.7 kB / 0.6684 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000848/0.8276, allocations: 252.6 kB / 0.6686 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000152/0.8278, allocations: 31.92 kB / 0.6687 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003831/0.8316, allocations: 2.922 MB / 0.6715 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.8316, allocations: 0 / 0.6715 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006911/0.8386, allocations: 3.943 MB / 0.6754 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/0.8399, allocations: 357 kB / 0.6757 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009261/0.8409, allocations: 16 kB / 0.6757 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001722/0.8426, allocations: 71.86 kB / 0.6758 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003678/0.843, allocations: 104.4 kB / 0.6759 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001666/0.8432, allocations: 43.33 kB / 0.6759 GB, free: 464 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006006/0.8492, allocations: 2.238 MB / 0.6781 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8492, allocations: 4 kB / 0.6781 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005432/0.8547, allocations: 0.8125 MB / 0.6789 GB, free: 13.41 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.007061/0.8617, allocations: 4.577 MB / 0.6834 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007476/0.8692, allocations: 4.081 MB / 0.6874 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.8692, allocations: 0 / 0.6874 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001862/0.8711, allocations: 1.174 MB / 0.6885 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003663/0.8748, allocations: 372 kB / 0.6889 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2905/1.165, allocations: 43.63 MB / 0.7315 GB, free: 180.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004768/1.17, allocations: 3.032 MB / 0.7344 GB, free: 179 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003728/1.174, allocations: 1.712 MB / 0.7361 GB, free: 178.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00174/1.176, allocations: 1.655 MB / 0.7377 GB, free: 177.6 MB / 0.545 GB Notification: Performance of SimCode: time 2.044e-06/1.176, allocations: 0 / 0.7377 GB, free: 177.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07615/1.252, allocations: 58.27 MB / 0.7946 GB, free: 124.4 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001501/1.252, allocations: 229.3 kB / 0.7948 GB, free: 124.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.68/4.932, allocations: 4.062 kB / 0.7949 GB, free: 124.1 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