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.001555/0.001555, allocations: 109.5 kB / 17.04 MB, free: 5.812 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.001639/0.001639, allocations: 196 kB / 17.98 MB, free: 5.027 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.435/1.435, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.1961/0.1961, allocations: 43.52 MB / 314.7 MB, free: 492 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.001531/0.001531, allocations: 67.61 kB / 384.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1026, allocations: 57.78 MB / 442 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01156/0.1142, allocations: 11.22 MB / 453.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008399/0.1227, allocations: 4.062 MB / 457.2 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.1244, allocations: 59.88 kB / 457.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00546/0.1299, allocations: 2.835 MB / 460.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004786/0.1347, allocations: 1.879 MB / 462 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.1365, allocations: 0.7135 MB / 462.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00595/0.1425, allocations: 4.187 MB / 466.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005014/0.1475, allocations: 3.894 MB / 470.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003158/0.1507, allocations: 1.592 MB / 472.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004594/0.1553, allocations: 2.235 MB / 474.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001739/0.1571, allocations: 372 kB / 475 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002948/0.1601, allocations: 1.245 MB / 476.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002594/0.1627, allocations: 2.049 MB / 478.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00386/0.1666, allocations: 2.389 MB / 480.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008896/0.1755, allocations: 7.891 MB / 488.6 MB, free: 7.332 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.1755, allocations: 0 / 488.6 MB, free: 7.332 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.115e-06/0.1755, allocations: 0 / 488.6 MB, free: 7.332 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002632/0.1758, allocations: 4 kB / 488.6 MB, free: 7.328 MB / 366.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.01141/0.1872, allocations: 4.961 MB / 493.5 MB, free: 2.297 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.1873, allocations: 15.89 kB / 493.6 MB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01508/0.2024, allocations: 2.537 MB / 496.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006729/0.2091, allocations: 2.734 MB / 498.8 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002152/0.2094, allocations: 258.5 kB / 499.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001019/0.2104, allocations: 335.7 kB / 499.4 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01561/0.226, allocations: 10.44 MB / 0.4979 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000108/0.2262, allocations: 47.52 kB / 0.4979 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004414/0.2266, allocations: 159.8 kB / 0.4981 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003055/0.2297, allocations: 2.096 MB / 0.5001 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01563/0.2453, allocations: 8.73 MB / 0.5087 GB, free: 6.184 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2279/0.4733, allocations: 38.4 MB / 0.5462 GB, free: 58.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005458/0.4788, allocations: 3.057 MB / 0.5492 GB, free: 58.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002234/0.481, allocations: 1.738 MB / 0.5509 GB, free: 58.13 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000376/0.4814, allocations: 329.1 kB / 0.5512 GB, free: 57.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.4815, allocations: 55.97 kB / 0.5512 GB, free: 57.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=176): time 3.947e-06/0.4815, allocations: 1.531 kB / 0.5512 GB, free: 57.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=194): time 0.02972/0.5112, allocations: 14.78 MB / 0.5657 GB, free: 52.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.5113, allocations: 201.6 kB / 0.5659 GB, free: 52.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004239/0.5155, allocations: 3.848 MB / 0.5696 GB, free: 50.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003197/0.5159, allocations: 50.06 kB / 0.5697 GB, free: 50.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001483/0.5174, allocations: 3.194 MB / 0.5728 GB, free: 47.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006172/0.518, allocations: 0.7449 MB / 0.5735 GB, free: 47.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001282/0.5193, allocations: 1.245 MB / 0.5747 GB, free: 46.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.502e-05/0.5193, allocations: 301.1 kB / 0.575 GB, free: 46.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002759/0.5221, allocations: 2.259 MB / 0.5772 GB, free: 45.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003823/0.5259, allocations: 5.949 MB / 0.583 GB, free: 37.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007385/0.5333, allocations: 8.822 MB / 0.5916 GB, free: 26.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.493e-05/0.5335, allocations: 44 kB / 0.5917 GB, free: 26.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01193/0.5454, allocations: 8.484 MB / 0.6 GB, free: 18.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.089e-05/0.5455, allocations: 60 kB / 0.6 GB, free: 18.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.932e-05/0.5456, allocations: 133.6 kB / 0.6002 GB, free: 18.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001356/0.547, allocations: 0.6841 MB / 0.6008 GB, free: 17.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004144/0.5511, allocations: 1.45 MB / 0.6022 GB, free: 16.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003975/0.5551, allocations: 4.373 MB / 0.6065 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004267/0.5594, allocations: 359.4 kB / 0.6069 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007633/0.5602, allocations: 380 kB / 0.6072 GB, free: 10.89 MB / 414.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 (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.003205/0.5634, allocations: 2.227 MB / 0.6094 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006467/0.564, allocations: 339.6 kB / 0.6097 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004998/0.569, allocations: 3.257 MB / 0.6129 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.717e-05/0.5691, allocations: 23.47 kB / 0.6129 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.5691, allocations: 7.938 kB / 0.6129 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.5691, allocations: 7.969 kB / 0.6129 GB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01595/0.5851, allocations: 8.132 MB / 0.6209 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/0.5851, allocations: 0 / 0.6209 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001977/0.5871, allocations: 339.5 kB / 0.6212 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001596/0.5887, allocations: 0.5041 MB / 0.6217 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002439/0.589, allocations: 38.61 kB / 0.6217 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004854/0.5939, allocations: 3.915 MB / 0.6255 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5939, allocations: 3.938 kB / 0.6256 GB, free: 7.922 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009488/0.6034, allocations: 5.939 MB / 0.6314 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001937/0.6054, allocations: 0.6411 MB / 0.632 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007082/0.6061, allocations: 28 kB / 0.632 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001754/0.6078, allocations: 123.8 kB / 0.6321 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003677/0.6082, allocations: 125.1 kB / 0.6322 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/0.6084, allocations: 55.92 kB / 0.6323 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004193/0.6126, allocations: 2.4 MB / 0.6346 GB, free: 14.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.6126, allocations: 0 / 0.6346 GB, free: 14.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004949/0.6176, allocations: 1.025 MB / 0.6356 GB, free: 13.57 MB / 446.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.0004606/0.618, allocations: 160.9 kB / 0.6358 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008859/0.6269, allocations: 5.366 MB / 0.641 GB, free: 8.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.6269, allocations: 3.938 kB / 0.641 GB, free: 8.066 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002676/0.6296, allocations: 1.716 MB / 0.6427 GB, free: 6.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00282/0.6325, allocations: 420.2 kB / 0.6431 GB, free: 5.949 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01758/0.6501, allocations: 9.553 MB / 0.6524 GB, free: 12.37 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005115/0.6552, allocations: 3.457 MB / 0.6558 GB, free: 8.891 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005036/0.6603, allocations: 1.943 MB / 0.6577 GB, free: 6.949 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/0.6613, allocations: 251.4 kB / 0.658 GB, free: 6.707 MB / 462.1 MB Notification: Performance of SimCode: time 8.61e-07/0.6613, allocations: 4 kB / 0.658 GB, free: 6.703 MB / 462.1 MB Notification: Performance of Templates: time 0.0675/0.7288, allocations: 31.76 MB / 0.689 GB, free: 7.117 MB / 494.1 MB 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins1/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