Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 105.9 kB / 17.2 MB, free: 6.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 222.9 MB / 241.8 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2749/0.2749, allocations: 44.17 MB / 336.1 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 71.81 kB / 407.8 MB, free: 27.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1307, allocations: 60.82 MB / 468.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.3669/0.4976, allocations: 51.78 MB / 0.5082 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03127/0.5289, allocations: 10.92 MB / 0.5189 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01616/0.5451, allocations: 216.9 kB / 0.5191 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007585/0.5529, allocations: 2.78 MB / 0.5218 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007119/0.56, allocations: 1.603 MB / 0.5234 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.5623, allocations: 0.6411 MB / 0.524 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01115/0.5735, allocations: 5.827 MB / 0.5297 GB, free: 5.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00704/0.5806, allocations: 3.681 MB / 0.5333 GB, free: 3.723 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003619/0.5843, allocations: 1.269 MB / 0.5345 GB, free: 3.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004035/0.5883, allocations: 2.098 MB / 0.5366 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001417/0.5898, allocations: 231.5 kB / 0.5368 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003331/0.5931, allocations: 1.186 MB / 0.5379 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00247/0.5956, allocations: 1.762 MB / 0.5397 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004716/0.6003, allocations: 2.094 MB / 0.5417 GB, free: 14.99 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.6105, allocations: 6.895 MB / 0.5484 GB, free: 8.852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.6105, allocations: 0 / 0.5484 GB, free: 8.852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.6105, allocations: 0 / 0.5484 GB, free: 8.852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002768/0.6108, allocations: 0 / 0.5484 GB, free: 8.852 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: 1454 * Number of variables: 1454 Notification: Performance of Generate backend data structure: time 0.01699/0.6278, allocations: 4.645 MB / 0.553 GB, free: 4.234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.634e-05/0.6279, allocations: 8.031 kB / 0.553 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003326/0.6312, allocations: 0.6893 MB / 0.5537 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0814/0.7127, allocations: 7.063 MB / 0.5606 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008534/0.7213, allocations: 2.791 MB / 0.5633 GB, free: 9.668 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003209/0.7216, allocations: 229 kB / 0.5635 GB, free: 9.477 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001637/0.7233, allocations: 306.6 kB / 0.5638 GB, free: 9.211 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01934/0.7426, allocations: 9.237 MB / 0.5728 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001892/0.7429, allocations: 39.59 kB / 0.5729 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001109/0.744, allocations: 145.8 kB / 0.573 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003263/0.7473, allocations: 1.838 MB / 0.5748 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01578/0.7631, allocations: 7.553 MB / 0.5822 GB, free: 5.887 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04992/0.813, allocations: 34.66 MB / 0.616 GB, free: 2.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00525/0.8183, allocations: 2.374 MB / 0.6183 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002073/0.8204, allocations: 1.231 MB / 0.6195 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004362/0.8209, allocations: 321.1 kB / 0.6198 GB, free: 14.19 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.585e-05/0.821, allocations: 47.12 kB / 0.6199 GB, free: 14.14 MB / 478.1 MB Notification: Performance of pre-optimization done (n=122): time 4.008e-06/0.821, allocations: 0 / 0.6199 GB, free: 14.14 MB / 478.1 MB Notification: Performance of matching and sorting (n=140): time 0.0285/0.8495, allocations: 10.69 MB / 0.6303 GB, free: 3.324 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.8496, allocations: 204.5 kB / 0.6305 GB, free: 3.082 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007003/0.8567, allocations: 3.626 MB / 0.6341 GB, free: 15.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003473/0.857, allocations: 49.7 kB / 0.6341 GB, free: 15.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002559/0.8596, allocations: 2.958 MB / 0.637 GB, free: 12.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007524/0.8604, allocations: 0.5543 MB / 0.6375 GB, free: 11.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001983/0.8624, allocations: 1.085 MB / 0.6386 GB, free: 10.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.8625, allocations: 309.2 kB / 0.6389 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003069/0.8656, allocations: 1.708 MB / 0.6406 GB, free: 8.785 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005787/0.8714, allocations: 5.139 MB / 0.6456 GB, free: 1.918 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009002/0.8804, allocations: 7.422 MB / 0.6528 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001168/0.8806, allocations: 36 kB / 0.6529 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01272/0.8933, allocations: 6.804 MB / 0.6595 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.8934, allocations: 60 kB / 0.6596 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002469/0.8937, allocations: 128.1 kB / 0.6597 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.8948, allocations: 420.6 kB / 0.6601 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003825/0.8986, allocations: 1.236 MB / 0.6613 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004288/0.903, allocations: 3.346 MB / 0.6646 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003961/0.9069, allocations: 295.6 kB / 0.6648 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000809/0.9078, allocations: 328 kB / 0.6652 GB, free: 12.03 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.arrowLine.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 (653): * Single equations (assignments): 649 * 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.003606/0.9114, allocations: 2.047 MB / 0.6672 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007335/0.9121, allocations: 300.1 kB / 0.6674 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003735/0.9159, allocations: 1.883 MB / 0.6693 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.493e-05/0.9159, allocations: 16 kB / 0.6693 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/0.9159, allocations: 7.938 kB / 0.6693 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.916, allocations: 7.969 kB / 0.6693 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01216/0.9281, allocations: 5.932 MB / 0.6751 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.9282, allocations: 0 / 0.6751 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.9292, allocations: 223.6 kB / 0.6753 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007629/0.93, allocations: 260.5 kB / 0.6756 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/0.9302, allocations: 31.98 kB / 0.6756 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003946/0.9341, allocations: 2.916 MB / 0.6784 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.9341, allocations: 8.016 kB / 0.6785 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007094/0.9412, allocations: 3.943 MB / 0.6823 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009323/0.9422, allocations: 353 kB / 0.6826 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006328/0.9429, allocations: 23.94 kB / 0.6827 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/0.9442, allocations: 82.16 kB / 0.6827 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000284/0.9445, allocations: 92.5 kB / 0.6828 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.9447, allocations: 40.27 kB / 0.6829 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003925/0.9486, allocations: 2.266 MB / 0.6851 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.744e-06/0.9486, allocations: 112 / 0.6851 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004495/0.9531, allocations: 0.8654 MB / 0.6859 GB, free: 6.535 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.006576/0.9597, allocations: 4.578 MB / 0.6904 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007103/0.9668, allocations: 4.115 MB / 0.6944 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.9669, allocations: 0 / 0.6944 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00189/0.9688, allocations: 1.169 MB / 0.6956 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00281/0.9716, allocations: 407.5 kB / 0.6959 GB, free: 12.24 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2812/1.253, allocations: 44.56 MB / 0.7395 GB, free: 180.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003586/1.256, allocations: 3.154 MB / 0.7425 GB, free: 178.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00407/1.261, allocations: 1.732 MB / 0.7442 GB, free: 178.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001945/1.263, allocations: 1.754 MB / 0.7459 GB, free: 177.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.062e-06/1.263, allocations: 0 / 0.7459 GB, free: 177.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07188/1.334, allocations: 59.43 MB / 0.804 GB, free: 120.2 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/1.335, allocations: 244.4 kB / 0.8042 GB, free: 120 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.955/5.289, allocations: 0 / 0.8042 GB, free: 120 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches