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.001188/0.001188, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 181.4 kB / 16.91 MB, free: 6.914 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.567/1.567, allocations: 205.4 MB / 223.1 MB, free: 5.508 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.3642/0.3642, allocations: 43.56 MB / 315 MB, free: 9.059 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.0005078/0.0005078, allocations: 20 kB / 384.7 MB, free: 7.797 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1305, allocations: 58.86 MB / 443.5 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.2438/0.3744, allocations: 51.84 MB / 495.4 MB, free: 17.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02065/0.3951, allocations: 11.08 MB / 0.4946 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009782/0.4049, allocations: 218.8 kB / 0.4948 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001902/0.4068, allocations: 425.4 kB / 0.4952 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004997/0.4119, allocations: 1.777 MB / 0.4969 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.4136, allocations: 0.6493 MB / 0.4976 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008348/0.4219, allocations: 6.134 MB / 0.5036 GB, free: 6.922 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008975/0.4309, allocations: 5.049 MB / 0.5085 GB, free: 4.883 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003246/0.4343, allocations: 1.152 MB / 0.5096 GB, free: 4.438 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004092/0.4384, allocations: 2.065 MB / 0.5116 GB, free: 3.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009989/0.4394, allocations: 158.3 kB / 0.5118 GB, free: 3.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003107/0.4425, allocations: 1.091 MB / 0.5129 GB, free: 3.523 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002837/0.4454, allocations: 1.819 MB / 0.5146 GB, free: 2.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004063/0.4495, allocations: 2.186 MB / 0.5168 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01113/0.4606, allocations: 7.472 MB / 0.5241 GB, free: 12.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4607, allocations: 0 / 0.5241 GB, free: 12.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4607, allocations: 0 / 0.5241 GB, free: 12.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003269/0.461, allocations: 0 / 0.5241 GB, free: 12.82 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.01262/0.4736, allocations: 4.179 MB / 0.5282 GB, free: 9.145 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.4737, allocations: 8.031 kB / 0.5282 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002387/0.4761, allocations: 0.7777 MB / 0.5289 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09264/0.5688, allocations: 7.321 MB / 0.5361 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007671/0.5765, allocations: 3.109 MB / 0.5391 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002777/0.5768, allocations: 254.3 kB / 0.5393 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001433/0.5783, allocations: 331.8 kB / 0.5397 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01714/0.5954, allocations: 10.41 MB / 0.5498 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001281/0.5956, allocations: 47.58 kB / 0.5499 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004539/0.596, allocations: 155.8 kB / 0.55 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003512/0.5996, allocations: 2.092 MB / 0.5521 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01824/0.6178, allocations: 8.643 MB / 0.5605 GB, free: 7.219 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05152/0.6694, allocations: 38.48 MB / 0.5981 GB, free: 15.65 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006488/0.6759, allocations: 3.004 MB / 0.601 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002616/0.6786, allocations: 1.693 MB / 0.6027 GB, free: 10.79 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003859/0.679, allocations: 340 kB / 0.603 GB, free: 10.41 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.912e-05/0.679, allocations: 51.56 kB / 0.603 GB, free: 10.35 MB / 478.1 MB Notification: Performance of pre-optimization done (n=176): time 4.658e-06/0.6791, allocations: 4 kB / 0.603 GB, free: 10.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=194): time 0.0332/0.7123, allocations: 14.21 MB / 0.6169 GB, free: 11.99 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.653e-05/0.7124, allocations: 209.2 kB / 0.6171 GB, free: 11.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004787/0.7172, allocations: 3.857 MB / 0.6209 GB, free: 7.902 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000251/0.7175, allocations: 49.7 kB / 0.6209 GB, free: 7.848 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001924/0.7194, allocations: 3.21 MB / 0.6241 GB, free: 4.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007088/0.7201, allocations: 0.7404 MB / 0.6248 GB, free: 3.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005723/0.7207, allocations: 0.5032 MB / 0.6253 GB, free: 3.328 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.267e-05/0.7208, allocations: 301.1 kB / 0.6256 GB, free: 3.031 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003297/0.7241, allocations: 2.174 MB / 0.6277 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1977/0.9218, allocations: 5.854 MB / 0.6334 GB, free: 135 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009156/0.931, allocations: 8.677 MB / 0.6419 GB, free: 129.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001175/0.9312, allocations: 37.06 kB / 0.6419 GB, free: 129.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.0126/0.9438, allocations: 8.045 MB / 0.6498 GB, free: 127.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.528e-05/0.9439, allocations: 62.12 kB / 0.6498 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001281/0.944, allocations: 133.8 kB / 0.65 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008597/0.9449, allocations: 443.8 kB / 0.6504 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004416/0.9493, allocations: 1.431 MB / 0.6518 GB, free: 127 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003322/0.9527, allocations: 3.366 MB / 0.6551 GB, free: 124.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004526/0.9572, allocations: 358.2 kB / 0.6554 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009322/0.9582, allocations: 370.7 kB / 0.6558 GB, free: 124.8 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.005129/0.9633, allocations: 2.227 MB / 0.6579 GB, free: 123.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007679/0.9641, allocations: 342.9 kB / 0.6583 GB, free: 123.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005623/0.9697, allocations: 2.93 MB / 0.6611 GB, free: 122.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.106e-05/0.9698, allocations: 21.48 kB / 0.6612 GB, free: 122.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.9698, allocations: 8.062 kB / 0.6612 GB, free: 122.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.046e-05/0.9698, allocations: 10.47 kB / 0.6612 GB, free: 122.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01625/0.9861, allocations: 7.84 MB / 0.6688 GB, free: 119.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/0.9862, allocations: 14.48 kB / 0.6688 GB, free: 119.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/0.9879, allocations: 345.3 kB / 0.6692 GB, free: 119.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008966/0.9888, allocations: 260.3 kB / 0.6694 GB, free: 119.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/0.989, allocations: 34.59 kB / 0.6695 GB, free: 119.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003842/0.9928, allocations: 2.928 MB / 0.6723 GB, free: 117.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.9928, allocations: 0.5938 kB / 0.6723 GB, free: 117.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008986/1.002, allocations: 5.551 MB / 0.6777 GB, free: 115.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001426/1.003, allocations: 0.6378 MB / 0.6784 GB, free: 115.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003671/1.004, allocations: 32.03 kB / 0.6784 GB, free: 115.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/1.005, allocations: 129.1 kB / 0.6785 GB, free: 115.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000382/1.006, allocations: 127.5 kB / 0.6786 GB, free: 115.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/1.006, allocations: 55.84 kB / 0.6787 GB, free: 115.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003824/1.009, allocations: 2.401 MB / 0.681 GB, free: 114.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.91e-07/1.009, allocations: 0 / 0.681 GB, free: 114.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004634/1.014, allocations: 0.9957 MB / 0.682 GB, free: 114.3 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.007933/1.022, allocations: 6.212 MB / 0.6881 GB, free: 111.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009496/1.032, allocations: 5.209 MB / 0.6932 GB, free: 109.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/1.032, allocations: 0 / 0.6932 GB, free: 109.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002471/1.034, allocations: 1.675 MB / 0.6948 GB, free: 108 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002923/1.037, allocations: 424 kB / 0.6952 GB, free: 107.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06962/1.107, allocations: 52.17 MB / 0.7461 GB, free: 51.02 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003169/1.11, allocations: 3.461 MB / 0.7495 GB, free: 47.52 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004303/1.114, allocations: 1.945 MB / 0.7514 GB, free: 45.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002305/1.117, allocations: 1.987 MB / 0.7534 GB, free: 43.58 MB / 494.1 MB Notification: Performance of SimCode: time 9.52e-07/1.117, allocations: 0 / 0.7534 GB, free: 43.58 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09179/1.208, allocations: 67.45 MB / 0.8192 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/1.209, allocations: 236.4 kB / 0.8195 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.625/4.833, allocations: 2.297 kB / 0.8195 GB, free: 7.863 MB / 0.5137 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