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: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_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.001163/0.001163, allocations: 107.2 kB / 16.41 MB, free: 6.5 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.001289/0.001289, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.586/1.586, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2329/0.2329, allocations: 43.52 MB / 314.1 MB, free: 448 kB / 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.001581/0.001581, allocations: 67.91 kB / 441.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1647, allocations: 57.78 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.02335/0.1881, allocations: 11.24 MB / 0.4989 GB, free: 488 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01505/0.2032, allocations: 4.05 MB / 0.5028 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003011/0.2062, allocations: 59.88 kB / 0.5029 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009616/0.2159, allocations: 2.835 MB / 0.5056 GB, free: 9.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01184/0.2278, allocations: 1.899 MB / 0.5075 GB, free: 7.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003931/0.2318, allocations: 0.7018 MB / 0.5082 GB, free: 6.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01114/0.2429, allocations: 4.174 MB / 0.5123 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01097/0.254, allocations: 3.89 MB / 0.5161 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004908/0.2589, allocations: 1.592 MB / 0.5176 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005491/0.2645, allocations: 2.243 MB / 0.5198 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001894/0.2664, allocations: 372 kB / 0.5202 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004503/0.2709, allocations: 1.241 MB / 0.5214 GB, free: 9.309 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003815/0.2748, allocations: 2.053 MB / 0.5234 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005685/0.2805, allocations: 2.381 MB / 0.5257 GB, free: 4.855 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3124/0.5929, allocations: 7.92 MB / 0.5334 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.593, allocations: 0 / 0.5334 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.593, allocations: 0 / 0.5334 GB, free: 15.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004082/0.5934, allocations: 1.125 kB / 0.5334 GB, free: 15.39 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: 1645 * Number of variables: 1645 Notification: Performance of Generate backend data structure: time 0.01749/0.6109, allocations: 5.102 MB / 0.5384 GB, free: 13.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.611, allocations: 12.3 kB / 0.5384 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01764/0.6286, allocations: 2.573 MB / 0.5409 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007825/0.6365, allocations: 2.741 MB / 0.5436 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003416/0.6369, allocations: 254.3 kB / 0.5439 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001549/0.6384, allocations: 331.6 kB / 0.5442 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01917/0.6576, allocations: 10.45 MB / 0.5544 GB, free: 9.648 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001287/0.6578, allocations: 42.14 kB / 0.5544 GB, free: 9.641 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004674/0.6582, allocations: 159.2 kB / 0.5546 GB, free: 9.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003333/0.6616, allocations: 2.096 MB / 0.5566 GB, free: 9.211 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01742/0.679, allocations: 8.735 MB / 0.5652 GB, free: 6.375 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04915/0.7282, allocations: 38.49 MB / 0.6027 GB, free: 1.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006072/0.7343, allocations: 3.057 MB / 0.6057 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002633/0.737, allocations: 1.756 MB / 0.6074 GB, free: 12.63 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004142/0.7374, allocations: 327.8 kB / 0.6078 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.7375, allocations: 58.55 kB / 0.6078 GB, free: 12.2 MB / 462.1 MB Notification: Performance of pre-optimization done (n=176): time 3.597e-06/0.7375, allocations: 0 / 0.6078 GB, free: 12.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=194): time 0.03486/0.7723, allocations: 15 MB / 0.6225 GB, free: 13.12 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.7725, allocations: 202.8 kB / 0.6227 GB, free: 12.88 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005783/0.7783, allocations: 3.854 MB / 0.6264 GB, free: 9.043 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003696/0.7787, allocations: 55.45 kB / 0.6265 GB, free: 8.984 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002201/0.7809, allocations: 3.319 MB / 0.6297 GB, free: 5.691 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008776/0.7818, allocations: 0.7698 MB / 0.6305 GB, free: 4.93 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001614/0.7834, allocations: 1.257 MB / 0.6317 GB, free: 3.664 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.7835, allocations: 305.1 kB / 0.632 GB, free: 3.363 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003472/0.787, allocations: 2.257 MB / 0.6342 GB, free: 1.102 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005979/0.793, allocations: 5.95 MB / 0.64 GB, free: 9.383 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/0.8043, allocations: 8.828 MB / 0.6486 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.46e-05/0.8044, allocations: 40 kB / 0.6487 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01513/0.8195, allocations: 8.493 MB / 0.657 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.628e-05/0.8196, allocations: 71.92 kB / 0.657 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001554/0.8198, allocations: 128 kB / 0.6571 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001676/0.8215, allocations: 0.6805 MB / 0.6578 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004757/0.8263, allocations: 1.45 MB / 0.6592 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005362/0.8316, allocations: 4.381 MB / 0.6635 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005034/0.8367, allocations: 359.9 kB / 0.6638 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001021/0.8377, allocations: 376 kB / 0.6642 GB, free: 15.4 MB / 0.5137 GB 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 (764): * Single equations (assignments): 760 * 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.004453/0.8422, allocations: 2.232 MB / 0.6664 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009787/0.8432, allocations: 357.5 kB / 0.6667 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007057/0.8502, allocations: 3.264 MB / 0.6699 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.46e-05/0.8503, allocations: 22.89 kB / 0.6699 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.098e-05/0.8503, allocations: 4 kB / 0.6699 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.15e-05/0.8504, allocations: 12.8 kB / 0.6699 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0188/0.8692, allocations: 8.125 MB / 0.6779 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/0.8692, allocations: 5.094 kB / 0.6779 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001737/0.871, allocations: 339.5 kB / 0.6782 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001462/0.8724, allocations: 0.5052 MB / 0.6787 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002355/0.8727, allocations: 35.98 kB / 0.6787 GB, free: 476 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004679/0.8774, allocations: 3.924 MB / 0.6826 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/0.8774, allocations: 7.875 kB / 0.6826 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009567/0.887, allocations: 5.951 MB / 0.6884 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00163/0.8886, allocations: 0.6625 MB / 0.689 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008932/0.8896, allocations: 35.67 kB / 0.6891 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001996/0.8916, allocations: 119.8 kB / 0.6892 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003831/0.892, allocations: 129.2 kB / 0.6893 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/0.8921, allocations: 51.98 kB / 0.6894 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004588/0.8967, allocations: 2.396 MB / 0.6917 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.01e-07/0.8967, allocations: 0 / 0.6917 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005299/0.902, allocations: 1.027 MB / 0.6927 GB, free: 2.012 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 (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.0004636/0.9025, allocations: 170.7 kB / 0.6929 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009121/0.9117, allocations: 5.354 MB / 0.6981 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.9117, allocations: 0 / 0.6981 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002785/0.9145, allocations: 1.72 MB / 0.6998 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/0.9178, allocations: 429.2 kB / 0.7002 GB, free: 10.37 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01863/0.9364, allocations: 9.7 MB / 0.7097 GB, free: 0.625 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00533/0.9418, allocations: 3.457 MB / 0.713 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005313/0.9471, allocations: 1.947 MB / 0.7149 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/0.9483, allocations: 251.4 kB / 0.7152 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of SimCode: time 8.32e-07/0.9483, allocations: 0 / 0.7152 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of Templates: time 0.07032/1.019, allocations: 33.81 MB / 0.7482 GB, free: 9.223 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches