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.001389/0.001389, allocations: 113.5 kB / 17.09 MB, free: 5.984 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.001588/0.001589, allocations: 199.3 kB / 18.02 MB, free: 5.066 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.455/1.455, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2077/0.2077, allocations: 43.53 MB / 314.8 MB, free: 452 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.0014/0.0014, allocations: 67.89 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1082, allocations: 57.78 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01189/0.1201, allocations: 11.24 MB / 0.4995 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008062/0.1282, allocations: 4.05 MB / 0.5035 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.1298, allocations: 59.88 kB / 0.5035 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005162/0.135, allocations: 2.835 MB / 0.5063 GB, free: 9.535 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006652/0.1417, allocations: 1.891 MB / 0.5082 GB, free: 7.637 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.1437, allocations: 0.7135 MB / 0.5088 GB, free: 6.922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005718/0.1494, allocations: 4.167 MB / 0.5129 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003923/0.1534, allocations: 3.894 MB / 0.5167 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002011/0.1554, allocations: 1.592 MB / 0.5183 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002649/0.158, allocations: 2.243 MB / 0.5205 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006811/0.1587, allocations: 376 kB / 0.5208 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00218/0.1609, allocations: 1.241 MB / 0.522 GB, free: 9.324 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00179/0.1627, allocations: 2.065 MB / 0.5241 GB, free: 7.254 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002411/0.1652, allocations: 2.389 MB / 0.5264 GB, free: 4.852 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2726/0.4378, allocations: 7.881 MB / 0.5341 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4379, allocations: 0 / 0.5341 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4379, allocations: 0 / 0.5341 GB, free: 15.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000221/0.4381, allocations: 1.375 kB / 0.5341 GB, free: 15.45 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.01278/0.4509, allocations: 4.972 MB / 0.5389 GB, free: 13.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.451, allocations: 15.95 kB / 0.539 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01649/0.4675, allocations: 2.532 MB / 0.5414 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007102/0.4746, allocations: 2.73 MB / 0.5441 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003094/0.4749, allocations: 251.4 kB / 0.5443 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001167/0.4761, allocations: 334.8 kB / 0.5447 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01579/0.4919, allocations: 10.45 MB / 0.5549 GB, free: 9.871 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001107/0.4921, allocations: 46.36 kB / 0.5549 GB, free: 9.863 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004324/0.4925, allocations: 158.9 kB / 0.5551 GB, free: 9.793 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002932/0.4954, allocations: 2.1 MB / 0.5571 GB, free: 9.434 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01346/0.5089, allocations: 8.735 MB / 0.5656 GB, free: 6.582 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04987/0.5588, allocations: 38.42 MB / 0.6032 GB, free: 1.879 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005951/0.5648, allocations: 3.063 MB / 0.6061 GB, free: 14.69 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002473/0.5673, allocations: 1.742 MB / 0.6078 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000406/0.5677, allocations: 343 kB / 0.6082 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.515e-05/0.5678, allocations: 46.84 kB / 0.6082 GB, free: 12.51 MB / 462.1 MB Notification: Performance of pre-optimization done (n=176): time 4.899e-06/0.5678, allocations: 0 / 0.6082 GB, free: 12.51 MB / 462.1 MB Notification: Performance of matching and sorting (n=194): time 0.03967/0.6075, allocations: 14.77 MB / 0.6226 GB, free: 13.64 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.6076, allocations: 201.2 kB / 0.6228 GB, free: 13.41 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008611/0.6163, allocations: 3.842 MB / 0.6266 GB, free: 9.578 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007965/0.6171, allocations: 61.69 kB / 0.6266 GB, free: 9.512 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003107/0.6203, allocations: 3.182 MB / 0.6297 GB, free: 6.344 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001301/0.6216, allocations: 0.7432 MB / 0.6305 GB, free: 5.605 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003289/0.6249, allocations: 1.242 MB / 0.6317 GB, free: 4.352 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.625, allocations: 305.1 kB / 0.632 GB, free: 4.051 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003881/0.6289, allocations: 2.26 MB / 0.6342 GB, free: 1.789 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006063/0.635, allocations: 5.947 MB / 0.64 GB, free: 10.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/0.6456, allocations: 8.835 MB / 0.6486 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000106/0.6457, allocations: 44 kB / 0.6487 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01538/0.6611, allocations: 8.473 MB / 0.6569 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.6613, allocations: 60 kB / 0.657 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001988/0.6615, allocations: 131.9 kB / 0.6571 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001847/0.6633, allocations: 0.6841 MB / 0.6578 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004929/0.6683, allocations: 1.45 MB / 0.6592 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005679/0.674, allocations: 4.377 MB / 0.6635 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005319/0.6793, allocations: 355.6 kB / 0.6638 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001292/0.6807, allocations: 379.5 kB / 0.6642 GB, free: 112 kB / 0.4981 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.004492/0.6852, allocations: 2.232 MB / 0.6664 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008877/0.6861, allocations: 339.6 kB / 0.6667 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006611/0.6927, allocations: 3.25 MB / 0.6699 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.641e-05/0.6927, allocations: 14.62 kB / 0.6699 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.6927, allocations: 3.938 kB / 0.6699 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001533/0.6943, allocations: 0.6527 MB / 0.6705 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007444/0.695, allocations: 32 kB / 0.6705 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/0.6968, allocations: 123.8 kB / 0.6707 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003481/0.6971, allocations: 133.1 kB / 0.6708 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006816/0.704, allocations: 3.839 MB / 0.6745 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007546/0.7115, allocations: 5.575 MB / 0.68 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002013/0.7136, allocations: 1.482 MB / 0.6814 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004196/0.7178, allocations: 2.392 MB / 0.6838 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of Backend: time 5.51e-07/0.7178, allocations: 0 / 0.6838 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009181/0.727, allocations: 4.313 MB / 0.688 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of SimCode: time 0.02106/0.748, allocations: 9.359 MB / 0.6971 GB, free: 14.34 MB / 0.545 GB Notification: Performance of Templates: time 0.08766/0.8358, allocations: 46.47 MB / 0.7425 GB, free: 8 kB / 0.5762 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/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