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: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001231/0.001231, allocations: 194 kB / 18.12 MB, free: 5.383 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.46/1.46, allocations: 222.9 MB / 241.8 MB, free: 13.79 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.2158/0.2158, allocations: 44.18 MB / 336.1 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.89 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1298, allocations: 60.84 MB / 468.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.3321/0.4619, allocations: 51.77 MB / 0.5081 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03397/0.4959, allocations: 10.91 MB / 0.5188 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01472/0.5107, allocations: 218 kB / 0.519 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006222/0.517, allocations: 2.78 MB / 0.5217 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005819/0.5229, allocations: 1.607 MB / 0.5233 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002056/0.5249, allocations: 0.6427 MB / 0.5239 GB, free: 7.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009487/0.5344, allocations: 5.827 MB / 0.5296 GB, free: 5.641 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004768/0.5393, allocations: 3.684 MB / 0.5332 GB, free: 3.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003704/0.543, allocations: 1.272 MB / 0.5344 GB, free: 3.074 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004657/0.5477, allocations: 2.095 MB / 0.5365 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001187/0.5489, allocations: 236.4 kB / 0.5367 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003008/0.5519, allocations: 1.179 MB / 0.5378 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001833/0.5538, allocations: 1.772 MB / 0.5396 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002557/0.5563, allocations: 2.043 MB / 0.5416 GB, free: 15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008509/0.5648, allocations: 6.728 MB / 0.5481 GB, free: 9.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.5649, allocations: 0 / 0.5481 GB, free: 9.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5649, allocations: 0 / 0.5481 GB, free: 9.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002178/0.5651, allocations: 0 / 0.5481 GB, free: 9.059 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.0104/0.5756, allocations: 4.517 MB / 0.5525 GB, free: 4.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.5756, allocations: 12.03 kB / 0.5526 GB, free: 4.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01551/0.5911, allocations: 2.468 MB / 0.555 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006649/0.5978, allocations: 2.49 MB / 0.5574 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002314/0.5981, allocations: 228.2 kB / 0.5576 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001393/0.5995, allocations: 304.3 kB / 0.5579 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01868/0.6182, allocations: 9.293 MB / 0.567 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001482/0.6184, allocations: 47.58 kB / 0.567 GB, free: 5.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005004/0.6189, allocations: 144.2 kB / 0.5672 GB, free: 5.125 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003251/0.6222, allocations: 1.832 MB / 0.569 GB, free: 3.297 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01749/0.6397, allocations: 7.691 MB / 0.5765 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04623/0.686, allocations: 34.86 MB / 0.6105 GB, free: 7.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004969/0.691, allocations: 2.445 MB / 0.6129 GB, free: 5.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001866/0.6929, allocations: 1.284 MB / 0.6141 GB, free: 3.938 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004256/0.6933, allocations: 328.7 kB / 0.6145 GB, free: 3.562 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.6934, allocations: 51.11 kB / 0.6145 GB, free: 3.504 MB / 462.1 MB Notification: Performance of pre-optimization done (n=122): time 4.018e-06/0.6934, allocations: 0 / 0.6145 GB, free: 3.504 MB / 462.1 MB Notification: Performance of matching and sorting (n=140): time 0.0296/0.723, allocations: 11.66 MB / 0.6259 GB, free: 7.703 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.7231, allocations: 192.6 kB / 0.6261 GB, free: 7.473 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005002/0.7282, allocations: 3.63 MB / 0.6296 GB, free: 3.844 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002457/0.7284, allocations: 45.7 kB / 0.6297 GB, free: 3.793 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00194/0.7304, allocations: 2.934 MB / 0.6325 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006824/0.7311, allocations: 0.5581 MB / 0.6331 GB, free: 316 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001377/0.7325, allocations: 1.121 MB / 0.6342 GB, free: 15.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.7326, allocations: 317.1 kB / 0.6345 GB, free: 14.87 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002707/0.7353, allocations: 1.818 MB / 0.6363 GB, free: 13.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004853/0.7402, allocations: 5.257 MB / 0.6414 GB, free: 6.059 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00875/0.7489, allocations: 7.596 MB / 0.6488 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.435e-05/0.749, allocations: 36 kB / 0.6488 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01334/0.7624, allocations: 7.3 MB / 0.656 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.99e-05/0.7625, allocations: 61 kB / 0.656 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001211/0.7626, allocations: 120 kB / 0.6561 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001653/0.7643, allocations: 0.6868 MB / 0.6568 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005495/0.7698, allocations: 1.255 MB / 0.658 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007975/0.7778, allocations: 4.051 MB / 0.662 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007952/0.7858, allocations: 307.6 kB / 0.6623 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001516/0.7874, allocations: 343.3 kB / 0.6626 GB, free: 14.48 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 (672): * Single equations (assignments): 668 * 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 {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005937/0.7934, allocations: 2.041 MB / 0.6646 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/0.7945, allocations: 300.1 kB / 0.6649 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008102/0.8026, allocations: 2.26 MB / 0.6671 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.073e-05/0.8027, allocations: 16 kB / 0.6671 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/0.8028, allocations: 4.375 kB / 0.6671 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.848e-05/0.8028, allocations: 3.984 kB / 0.6671 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02593/0.8288, allocations: 6.282 MB / 0.6733 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.569e-05/0.8288, allocations: 4 kB / 0.6733 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002183/0.8311, allocations: 227.5 kB / 0.6735 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002844/0.8339, allocations: 0.4963 MB / 0.674 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002662/0.8342, allocations: 31.98 kB / 0.674 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008693/0.8429, allocations: 3.643 MB / 0.6776 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.21e-05/0.843, allocations: 7.969 kB / 0.6776 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01476/0.8578, allocations: 4.405 MB / 0.6819 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00211/0.8599, allocations: 353 kB / 0.6822 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001431/0.8614, allocations: 20 kB / 0.6822 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003355/0.8648, allocations: 83.89 kB / 0.6823 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005729/0.8654, allocations: 104.5 kB / 0.6824 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002368/0.8657, allocations: 38.88 kB / 0.6824 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007916/0.8736, allocations: 2.258 MB / 0.6846 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.52e-07/0.8737, allocations: 0 / 0.6846 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009062/0.8827, allocations: 0.8867 MB / 0.6855 GB, free: 6.805 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.0007838/0.8836, allocations: 150.4 kB / 0.6856 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01366/0.8972, allocations: 4.317 MB / 0.6899 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.647e-06/0.8973, allocations: 4 kB / 0.6899 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003821/0.9011, allocations: 1.236 MB / 0.6911 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005077/0.9062, allocations: 388.6 kB / 0.6914 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02919/0.9354, allocations: 10.25 MB / 0.7015 GB, free: 6.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007533/0.943, allocations: 3.152 MB / 0.7045 GB, free: 3.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.008865/0.9519, allocations: 1.722 MB / 0.7062 GB, free: 1.523 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/0.9532, allocations: 219.4 kB / 0.7064 GB, free: 1.309 MB / 0.545 GB Notification: Performance of SimCode: time 1.213e-06/0.9532, allocations: 0 / 0.7064 GB, free: 1.309 MB / 0.545 GB Notification: Performance of Templates: time 0.3017/1.255, allocations: 29.31 MB / 0.735 GB, free: 192.8 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins/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