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.00152/0.00152, allocations: 110.4 kB / 17.78 MB, free: 5.285 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.001614/0.001614, allocations: 183.9 kB / 18.7 MB, free: 4.367 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.484/1.484, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.236/0.236, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 63.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4431/0.4446, allocations: 60.81 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01312/0.4577, allocations: 9.79 MB / 0.5285 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01047/0.4683, allocations: 3.845 MB / 0.5322 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002807/0.4711, allocations: 54.91 kB / 0.5323 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006802/0.4779, allocations: 2.789 MB / 0.535 GB, free: 8.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006795/0.4848, allocations: 1.705 MB / 0.5367 GB, free: 6.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002671/0.4875, allocations: 0.6993 MB / 0.5373 GB, free: 6.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008874/0.4964, allocations: 3.976 MB / 0.5412 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007544/0.504, allocations: 3.741 MB / 0.5449 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004041/0.5081, allocations: 1.449 MB / 0.5463 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004599/0.5127, allocations: 1.963 MB / 0.5482 GB, free: 13.94 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001943/0.5147, allocations: 328 kB / 0.5485 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003681/0.5184, allocations: 1.217 MB / 0.5497 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003065/0.5215, allocations: 1.851 MB / 0.5515 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004735/0.5262, allocations: 2.117 MB / 0.5536 GB, free: 8.418 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.5369, allocations: 7.023 MB / 0.5604 GB, free: 1.371 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.5369, allocations: 0 / 0.5604 GB, free: 1.371 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.5369, allocations: 3.984 kB / 0.5604 GB, free: 1.367 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000339/0.5373, allocations: 0 / 0.5604 GB, free: 1.367 MB / 414.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.01694/0.5542, allocations: 4.521 MB / 0.5649 GB, free: 12.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.5543, allocations: 8.031 kB / 0.5649 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01615/0.5704, allocations: 2.464 MB / 0.5673 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009505/0.58, allocations: 2.527 MB / 0.5697 GB, free: 7.711 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003617/0.5804, allocations: 230.2 kB / 0.57 GB, free: 7.484 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00202/0.5824, allocations: 303.9 kB / 0.5703 GB, free: 7.188 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01854/0.601, allocations: 9.297 MB / 0.5793 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001199/0.6012, allocations: 39.73 kB / 0.5794 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003912/0.6016, allocations: 143.8 kB / 0.5795 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002971/0.6046, allocations: 1.841 MB / 0.5813 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01495/0.6195, allocations: 7.678 MB / 0.5888 GB, free: 3.535 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.045/0.6646, allocations: 34.68 MB / 0.6227 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00489/0.6695, allocations: 2.448 MB / 0.6251 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001836/0.6714, allocations: 1.286 MB / 0.6263 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003941/0.6718, allocations: 323.8 kB / 0.6266 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.6719, allocations: 55.05 kB / 0.6267 GB, free: 11.44 MB / 494.1 MB Notification: Performance of pre-optimization done (n=122): time 3.897e-06/0.6719, allocations: 0 / 0.6267 GB, free: 11.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=140): time 0.03028/0.7022, allocations: 11.65 MB / 0.6381 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.7023, allocations: 196.5 kB / 0.6382 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00619/0.7085, allocations: 3.634 MB / 0.6418 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003372/0.7089, allocations: 45.7 kB / 0.6418 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002032/0.7109, allocations: 2.941 MB / 0.6447 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007052/0.7117, allocations: 0.5595 MB / 0.6453 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001395/0.7131, allocations: 1.118 MB / 0.6463 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.7132, allocations: 305.1 kB / 0.6466 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002701/0.7159, allocations: 1.818 MB / 0.6484 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005325/0.7212, allocations: 5.253 MB / 0.6535 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008949/0.7302, allocations: 7.604 MB / 0.661 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001609/0.7304, allocations: 36 kB / 0.661 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01543/0.7458, allocations: 7.295 MB / 0.6681 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001643/0.746, allocations: 62.36 kB / 0.6682 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003007/0.7464, allocations: 124 kB / 0.6683 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001862/0.7482, allocations: 0.6798 MB / 0.669 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004315/0.7526, allocations: 1.263 MB / 0.6702 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005451/0.758, allocations: 4.343 MB / 0.6744 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004461/0.7625, allocations: 303.6 kB / 0.6747 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009146/0.7635, allocations: 343.9 kB / 0.6751 GB, free: 6.047 MB / 0.5294 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.004106/0.7676, allocations: 2.033 MB / 0.677 GB, free: 4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008081/0.7684, allocations: 304.1 kB / 0.6773 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004723/0.7731, allocations: 2.256 MB / 0.6795 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.249e-05/0.7732, allocations: 16.38 kB / 0.6796 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/0.7732, allocations: 4 kB / 0.6796 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.728e-05/0.7732, allocations: 7.984 kB / 0.6796 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0145/0.7877, allocations: 6.28 MB / 0.6857 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.7878, allocations: 3.938 kB / 0.6857 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.7888, allocations: 219.7 kB / 0.6859 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0014/0.7903, allocations: 0.508 MB / 0.6864 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/0.7904, allocations: 19.98 kB / 0.6864 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004674/0.7951, allocations: 3.911 MB / 0.6902 GB, free: 6.258 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.7951, allocations: 0 / 0.6902 GB, free: 6.258 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00692/0.802, allocations: 4.402 MB / 0.6945 GB, free: 1.824 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/0.8033, allocations: 357 kB / 0.6949 GB, free: 1.453 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008033/0.8041, allocations: 23.98 kB / 0.6949 GB, free: 1.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/0.8057, allocations: 95.88 kB / 0.695 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002979/0.806, allocations: 96.45 kB / 0.6951 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.8061, allocations: 39.98 kB / 0.6951 GB, free: 1.203 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004545/0.8107, allocations: 2.258 MB / 0.6973 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.61e-07/0.8107, allocations: 0 / 0.6973 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005322/0.816, allocations: 0.8751 MB / 0.6982 GB, free: 14.08 MB / 0.5606 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.0005361/0.8166, allocations: 158.9 kB / 0.6983 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008219/0.8248, allocations: 4.338 MB / 0.7026 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.8248, allocations: 0 / 0.7026 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002037/0.8269, allocations: 1.236 MB / 0.7038 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003123/0.83, allocations: 425.1 kB / 0.7042 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/0.8485, allocations: 8.242 MB / 0.7122 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006273/0.8548, allocations: 3.164 MB / 0.7153 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004629/0.8595, allocations: 1.726 MB / 0.717 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008903/0.8604, allocations: 219.4 kB / 0.7172 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of SimCode: time 9.51e-07/0.8604, allocations: 0 / 0.7172 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of Templates: time 0.4611/1.322, allocations: 27.55 MB / 0.7441 GB, free: 177.7 MB / 0.5762 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