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.0008953/0.0008955, allocations: 102.8 kB / 16.02 MB, free: 76 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.0008957/0.0008957, allocations: 186.5 kB / 16.92 MB, free: 6.918 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.697/1.697, allocations: 205.4 MB / 223.1 MB, free: 5.52 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.3671/0.3671, allocations: 43.57 MB / 315 MB, free: 8.809 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.0005513/0.0005514, allocations: 16 kB / 384.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1253, allocations: 58.87 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.2631/0.3885, allocations: 51.84 MB / 495.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02269/0.4112, allocations: 11.07 MB / 0.4945 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01336/0.4246, allocations: 218.2 kB / 0.4947 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002007/0.4267, allocations: 433.2 kB / 0.4951 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006059/0.4328, allocations: 1.778 MB / 0.4969 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00226/0.4351, allocations: 0.6536 MB / 0.4975 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01024/0.4453, allocations: 6.125 MB / 0.5035 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00942/0.4548, allocations: 5.055 MB / 0.5084 GB, free: 5.059 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002954/0.4578, allocations: 1.151 MB / 0.5095 GB, free: 4.613 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004286/0.4621, allocations: 2.067 MB / 0.5116 GB, free: 3.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009938/0.4631, allocations: 157.3 kB / 0.5117 GB, free: 3.961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002991/0.4661, allocations: 1.09 MB / 0.5128 GB, free: 3.699 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002619/0.4688, allocations: 1.826 MB / 0.5145 GB, free: 3.145 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002813/0.4716, allocations: 2.125 MB / 0.5166 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00966/0.4813, allocations: 7.31 MB / 0.5238 GB, free: 12.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4813, allocations: 0 / 0.5238 GB, free: 12.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 6.071e-06/0.4813, allocations: 2.844 kB / 0.5238 GB, free: 12.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003146/0.4816, allocations: 7.875 kB / 0.5238 GB, free: 12.94 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.01174/0.4934, allocations: 4.056 MB / 0.5277 GB, free: 9.367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.4935, allocations: 12.03 kB / 0.5277 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0189/0.5124, allocations: 2.6 MB / 0.5303 GB, free: 6.746 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008343/0.5208, allocations: 2.695 MB / 0.5329 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002524/0.5211, allocations: 254.3 kB / 0.5332 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0013/0.5224, allocations: 335.8 kB / 0.5335 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02001/0.5424, allocations: 10.47 MB / 0.5437 GB, free: 8.258 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001602/0.5426, allocations: 39.59 kB / 0.5437 GB, free: 8.219 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000648/0.5433, allocations: 159.8 kB / 0.5439 GB, free: 8.062 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003684/0.547, allocations: 2.088 MB / 0.5459 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01813/0.5651, allocations: 8.775 MB / 0.5545 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05365/0.6188, allocations: 38.67 MB / 0.5923 GB, free: 5.414 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005884/0.6248, allocations: 3.071 MB / 0.5953 GB, free: 2.191 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002438/0.6272, allocations: 1.744 MB / 0.597 GB, free: 448 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003643/0.6276, allocations: 336.2 kB / 0.5973 GB, free: 56 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.836e-05/0.6277, allocations: 59.88 kB / 0.5974 GB, free: 15.98 MB / 478.1 MB Notification: Performance of pre-optimization done (n=176): time 5.941e-06/0.6277, allocations: 0 / 0.5974 GB, free: 15.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=194): time 0.03536/0.6631, allocations: 15.04 MB / 0.612 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.6632, allocations: 201.2 kB / 0.6122 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006266/0.6695, allocations: 3.839 MB / 0.616 GB, free: 12.74 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004435/0.67, allocations: 57.7 kB / 0.616 GB, free: 12.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002344/0.6723, allocations: 3.19 MB / 0.6192 GB, free: 9.438 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009597/0.6733, allocations: 0.7443 MB / 0.6199 GB, free: 8.684 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006573/0.674, allocations: 0.5232 MB / 0.6204 GB, free: 8.152 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.6741, allocations: 301.1 kB / 0.6207 GB, free: 7.855 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003587/0.6777, allocations: 2.28 MB / 0.6229 GB, free: 5.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2312/0.9089, allocations: 5.972 MB / 0.6287 GB, free: 134.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009651/0.9186, allocations: 8.879 MB / 0.6374 GB, free: 128.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001351/0.9188, allocations: 41.22 kB / 0.6374 GB, free: 128.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01437/0.9332, allocations: 8.533 MB / 0.6458 GB, free: 126.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.423e-05/0.9333, allocations: 63.25 kB / 0.6458 GB, free: 126.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001511/0.9334, allocations: 128.7 kB / 0.646 GB, free: 126.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00149/0.9349, allocations: 0.6854 MB / 0.6466 GB, free: 126.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004444/0.9394, allocations: 1.463 MB / 0.6481 GB, free: 126.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00426/0.9437, allocations: 4.075 MB / 0.652 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005831/0.9495, allocations: 365.9 kB / 0.6524 GB, free: 124.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001306/0.9509, allocations: 377.5 kB / 0.6528 GB, free: 124.1 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 (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.006002/0.9569, allocations: 2.237 MB / 0.6549 GB, free: 123.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009109/0.9578, allocations: 343.1 kB / 0.6553 GB, free: 123.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00631/0.9641, allocations: 3.297 MB / 0.6585 GB, free: 121.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-05/0.9642, allocations: 21.34 kB / 0.6585 GB, free: 121.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/0.9642, allocations: 6.016 kB / 0.6585 GB, free: 121.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/0.9642, allocations: 11.88 kB / 0.6585 GB, free: 121.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01787/0.9821, allocations: 8.208 MB / 0.6665 GB, free: 119.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/0.9822, allocations: 0.9688 kB / 0.6665 GB, free: 119.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/0.9839, allocations: 351.8 kB / 0.6669 GB, free: 119 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0015/0.9854, allocations: 0.5039 MB / 0.6674 GB, free: 118.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001659/0.9856, allocations: 44.73 kB / 0.6674 GB, free: 118.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004314/0.9899, allocations: 3.631 MB / 0.671 GB, free: 116.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.9899, allocations: 8.391 kB / 0.671 GB, free: 116.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01001/0.9999, allocations: 6.005 MB / 0.6768 GB, free: 114.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001702/1.002, allocations: 0.6463 MB / 0.6775 GB, free: 114.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004831/1.002, allocations: 28.72 kB / 0.6775 GB, free: 114.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/1.004, allocations: 137.7 kB / 0.6776 GB, free: 114.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004036/1.004, allocations: 132.9 kB / 0.6777 GB, free: 114 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/1.004, allocations: 62.47 kB / 0.6778 GB, free: 114 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003823/1.008, allocations: 2.391 MB / 0.6801 GB, free: 113.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.31e-07/1.008, allocations: 0 / 0.6801 GB, free: 113.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005125/1.013, allocations: 1.026 MB / 0.6811 GB, free: 113.1 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.000552/1.014, allocations: 165.7 kB / 0.6813 GB, free: 113 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008889/1.023, allocations: 5.401 MB / 0.6866 GB, free: 111.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/1.023, allocations: 4 kB / 0.6866 GB, free: 111.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002494/1.025, allocations: 1.73 MB / 0.6883 GB, free: 110.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002872/1.028, allocations: 402 kB / 0.6886 GB, free: 110.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0169/1.045, allocations: 11.91 MB / 0.7003 GB, free: 100.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003736/1.049, allocations: 3.457 MB / 0.7037 GB, free: 97.79 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004841/1.054, allocations: 1.939 MB / 0.7055 GB, free: 96.55 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007921/1.054, allocations: 256 kB / 0.7058 GB, free: 96.32 MB / 494.1 MB Notification: Performance of SimCode: time 8.31e-07/1.055, allocations: 0 / 0.7058 GB, free: 96.32 MB / 494.1 MB Notification: Performance of Templates: time 0.06146/1.116, allocations: 34.75 MB / 0.7397 GB, free: 61.93 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 -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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches