Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_3_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.002/0.001999, allocations: 103.8 kB / 15.98 MB, free: 6.348 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.002426/0.002426, allocations: 192.9 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.1 MB / 222.8 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3708/0.3708, allocations: 43.5 MB / 313.6 MB, free: 8.512 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001907, allocations: 63.91 kB / 382.3 MB, free: 8.539 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1496, allocations: 57.79 MB / 440.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.3059/0.4555, allocations: 53.2 MB / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02111/0.4767, allocations: 11.04 MB / 0.4925 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01173/0.4884, allocations: 216.6 kB / 0.4927 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008712/0.4973, allocations: 2.726 MB / 0.4954 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006034/0.5033, allocations: 1.763 MB / 0.4971 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.5052, allocations: 0.6627 MB / 0.4978 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008793/0.514, allocations: 4.302 MB / 0.502 GB, free: 6.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007492/0.5216, allocations: 4.098 MB / 0.506 GB, free: 4.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00403/0.5256, allocations: 1.607 MB / 0.5075 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005869/0.5315, allocations: 2.476 MB / 0.5099 GB, free: 2.746 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00261/0.5342, allocations: 374.1 kB / 0.5103 GB, free: 2.746 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005768/0.5399, allocations: 1.252 MB / 0.5115 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003913/0.5439, allocations: 2.079 MB / 0.5136 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004707/0.5486, allocations: 2.482 MB / 0.516 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01412/0.5627, allocations: 7.839 MB / 0.5236 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.5628, allocations: 0 / 0.5236 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5628, allocations: 0 / 0.5236 GB, free: 11.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003235/0.5631, allocations: 4 kB / 0.5236 GB, free: 11.39 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: 1645 * Number of variables: 1645 Notification: Performance of Generate backend data structure: time 0.01659/0.5797, allocations: 5.107 MB / 0.5286 GB, free: 6.504 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/0.5798, allocations: 19.83 kB / 0.5286 GB, free: 6.484 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001783/0.5816, allocations: 0.7815 MB / 0.5294 GB, free: 5.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08312/0.6647, allocations: 7.13 MB / 0.5364 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009668/0.6745, allocations: 3.101 MB / 0.5394 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003317/0.6749, allocations: 258.3 kB / 0.5396 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002065/0.6769, allocations: 339.7 kB / 0.54 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03018/0.7071, allocations: 10.37 MB / 0.5501 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002937/0.7075, allocations: 43.59 kB / 0.5501 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001688/0.7092, allocations: 155.8 kB / 0.5503 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004002/0.7132, allocations: 2.092 MB / 0.5523 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02068/0.7339, allocations: 8.607 MB / 0.5607 GB, free: 4.828 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06692/0.8009, allocations: 38.45 MB / 0.5983 GB, free: 13.29 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00735/0.8083, allocations: 2.993 MB / 0.6012 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003476/0.8119, allocations: 1.67 MB / 0.6028 GB, free: 8.461 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000688/0.8126, allocations: 344 kB / 0.6032 GB, free: 8.07 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.18e-05/0.8127, allocations: 55.69 kB / 0.6032 GB, free: 8.008 MB / 478.1 MB Notification: Performance of pre-optimization done (n=176): time 9.198e-06/0.8127, allocations: 0 / 0.6032 GB, free: 8.008 MB / 478.1 MB Notification: Performance of matching and sorting (n=194): time 0.04357/0.8563, allocations: 13.94 MB / 0.6168 GB, free: 9.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/0.8565, allocations: 197.2 kB / 0.617 GB, free: 9.691 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008739/0.8653, allocations: 3.854 MB / 0.6208 GB, free: 5.852 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005771/0.8659, allocations: 49.7 kB / 0.6208 GB, free: 5.797 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003128/0.869, allocations: 3.218 MB / 0.624 GB, free: 2.531 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001493/0.8705, allocations: 0.7366 MB / 0.6247 GB, free: 1.785 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002292/0.8728, allocations: 1.21 MB / 0.6259 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.873, allocations: 305.1 kB / 0.6262 GB, free: 268 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2765/1.15, allocations: 2.151 MB / 0.6283 GB, free: 141.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006286/1.156, allocations: 5.831 MB / 0.634 GB, free: 136.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/1.166, allocations: 8.629 MB / 0.6424 GB, free: 130.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002046/1.167, allocations: 37.94 kB / 0.6424 GB, free: 130.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.01542/1.182, allocations: 7.995 MB / 0.6502 GB, free: 127.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/1.182, allocations: 59.78 kB / 0.6503 GB, free: 127.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001897/1.182, allocations: 133.1 kB / 0.6504 GB, free: 127.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/1.183, allocations: 444.7 kB / 0.6509 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004424/1.188, allocations: 1.422 MB / 0.6522 GB, free: 127.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004597/1.193, allocations: 3.614 MB / 0.6558 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004934/1.197, allocations: 341.2 kB / 0.6561 GB, free: 124.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007747/1.198, allocations: 369.4 kB / 0.6564 GB, free: 124.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 30 (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 (745): * Single equations (assignments): 741 * 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.004004/1.202, allocations: 2.233 MB / 0.6586 GB, free: 123.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008349/1.203, allocations: 344.6 kB / 0.659 GB, free: 123.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005351/1.209, allocations: 2.879 MB / 0.6618 GB, free: 122.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.235e-05/1.209, allocations: 24.5 kB / 0.6618 GB, free: 122.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/1.209, allocations: 8.125 kB / 0.6618 GB, free: 122.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.082e-05/1.209, allocations: 11.45 kB / 0.6618 GB, free: 122.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01503/1.224, allocations: 7.805 MB / 0.6694 GB, free: 119.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/1.224, allocations: 5.375 kB / 0.6694 GB, free: 119.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001791/1.226, allocations: 339.4 kB / 0.6698 GB, free: 119.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008105/1.226, allocations: 257.5 kB / 0.67 GB, free: 119.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001749/1.227, allocations: 36.08 kB / 0.67 GB, free: 119.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003763/1.23, allocations: 3.18 MB / 0.6731 GB, free: 117.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/1.23, allocations: 1.094 kB / 0.6731 GB, free: 117.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/1.242, allocations: 5.475 MB / 0.6785 GB, free: 115.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001948/1.244, allocations: 0.6297 MB / 0.6791 GB, free: 115 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004345/1.244, allocations: 26.78 kB / 0.6791 GB, free: 115 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/1.246, allocations: 114.1 kB / 0.6792 GB, free: 115 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004226/1.246, allocations: 130.2 kB / 0.6794 GB, free: 115 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001469/1.246, allocations: 56.3 kB / 0.6794 GB, free: 115 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00394/1.25, allocations: 2.407 MB / 0.6818 GB, free: 114.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.31e-07/1.25, allocations: 0 / 0.6818 GB, free: 114.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005143/1.255, allocations: 0.9963 MB / 0.6827 GB, free: 114 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 (164): * Single equations (assignments): 160 * 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.00825/1.264, allocations: 6.124 MB / 0.6887 GB, free: 111.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01037/1.274, allocations: 6.351 MB / 0.6949 GB, free: 107.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.274, allocations: 4 kB / 0.6949 GB, free: 107.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00211/1.276, allocations: 1.652 MB / 0.6965 GB, free: 105.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/1.279, allocations: 435.1 kB / 0.697 GB, free: 105.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07007/1.349, allocations: 51.98 MB / 0.7477 GB, free: 48.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002895/1.352, allocations: 3.456 MB / 0.7511 GB, free: 45.33 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004266/1.356, allocations: 1.945 MB / 0.753 GB, free: 43.38 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002372/1.358, allocations: 1.991 MB / 0.7549 GB, free: 41.39 MB / 494.1 MB Notification: Performance of SimCode: time 1.192e-06/1.358, allocations: 0 / 0.7549 GB, free: 41.39 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.356/1.714, allocations: 69.51 MB / 0.8228 GB, free: 147.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/1.715, allocations: 237.3 kB / 0.823 GB, free: 147.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.957/5.671, allocations: 0 / 0.823 GB, free: 147.2 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches