Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000933/0.0009327, allocations: 175.3 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.229/1.229, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006908/0.0006908, allocations: 90.41 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2842/0.2842, allocations: 43.57 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003513, allocations: 16 kB / 432 MB, free: 5.605 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09231/0.09268, allocations: 58.86 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.1908/0.2836, allocations: 48.25 MB / 0.5264 GB, free: 16.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01828/0.3019, allocations: 10.56 MB / 0.5367 GB, free: 8.844 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007285/0.3092, allocations: 219.8 kB / 0.537 GB, free: 8.812 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006212/0.3154, allocations: 2.511 MB / 0.5394 GB, free: 7.926 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0174/0.3329, allocations: 7.483 MB / 0.5467 GB, free: 4.797 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002914/0.3358, allocations: 0.659 MB / 0.5474 GB, free: 4.547 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.02234/0.3582, allocations: 19 MB / 0.5659 GB, free: 13.35 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006318/0.3645, allocations: 4.9 MB / 0.5707 GB, free: 8.402 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001999/0.3666, allocations: 1.245 MB / 0.5719 GB, free: 7.152 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002494/0.3691, allocations: 2.037 MB / 0.5739 GB, free: 5.109 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004741/0.3696, allocations: 156 kB / 0.5741 GB, free: 4.957 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.3714, allocations: 1.092 MB / 0.5751 GB, free: 3.863 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001645/0.3731, allocations: 1.777 MB / 0.5769 GB, free: 2.082 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001911/0.375, allocations: 2.005 MB / 0.5788 GB, free: 60 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005521/0.3805, allocations: 6.06 MB / 0.5847 GB, free: 9.984 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3805, allocations: 3.938 kB / 0.5847 GB, free: 9.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3805, allocations: 0 / 0.5847 GB, free: 9.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001462/0.3807, allocations: 0 / 0.5847 GB, free: 9.98 MB / 410.7 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.007198/0.3879, allocations: 4.056 MB / 0.5887 GB, free: 5.855 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.388, allocations: 8.031 kB / 0.5887 GB, free: 5.848 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01425/0.4022, allocations: 2.608 MB / 0.5912 GB, free: 3.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005284/0.4075, allocations: 2.695 MB / 0.5939 GB, free: 484 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/0.4078, allocations: 258.3 kB / 0.5941 GB, free: 224 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006301/0.4084, allocations: 331.8 kB / 0.5944 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01375/0.4222, allocations: 10.44 MB / 0.6046 GB, free: 4.773 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.712e-05/0.4223, allocations: 43.59 kB / 0.6047 GB, free: 4.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003883/0.4227, allocations: 163.8 kB / 0.6048 GB, free: 4.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003008/0.4257, allocations: 2.096 MB / 0.6069 GB, free: 2.469 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01426/0.44, allocations: 8.717 MB / 0.6154 GB, free: 9.734 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04163/0.4816, allocations: 38.67 MB / 0.6532 GB, free: 1.965 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005449/0.4871, allocations: 3.06 MB / 0.6562 GB, free: 14.75 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002329/0.4895, allocations: 1.751 MB / 0.6579 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003674/0.4899, allocations: 332.2 kB / 0.6582 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.4899, allocations: 55.58 kB / 0.6582 GB, free: 12.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=176): time 4.268e-06/0.4899, allocations: 4 kB / 0.6582 GB, free: 12.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=194): time 0.1977/0.6876, allocations: 15.01 MB / 0.6729 GB, free: 137.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/0.6877, allocations: 206.3 kB / 0.6731 GB, free: 137.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005656/0.6934, allocations: 3.817 MB / 0.6768 GB, free: 136.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003255/0.6938, allocations: 52.48 kB / 0.6769 GB, free: 136.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001629/0.6954, allocations: 3.192 MB / 0.68 GB, free: 134.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006456/0.696, allocations: 0.7399 MB / 0.6807 GB, free: 134.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/0.6963, allocations: 121.4 kB / 0.6808 GB, free: 134.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002317/0.6965, allocations: 0.5679 MB / 0.6814 GB, free: 133.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002924/0.6995, allocations: 2.26 MB / 0.6836 GB, free: 133.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004308/0.7038, allocations: 5.952 MB / 0.6894 GB, free: 127.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007789/0.7116, allocations: 8.839 MB / 0.698 GB, free: 120.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.763e-05/0.7117, allocations: 38.53 kB / 0.6981 GB, free: 120.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01265/0.7244, allocations: 8.489 MB / 0.7064 GB, free: 117.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.568e-05/0.7245, allocations: 61 kB / 0.7064 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001182/0.7246, allocations: 128.5 kB / 0.7065 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/0.7261, allocations: 0.6967 MB / 0.7072 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004125/0.7302, allocations: 1.459 MB / 0.7086 GB, free: 116.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003937/0.7342, allocations: 4.083 MB / 0.7126 GB, free: 114.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004066/0.7382, allocations: 373.1 kB / 0.713 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006967/0.739, allocations: 374.9 kB / 0.7133 GB, free: 114.3 MB / 490.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003276/0.7422, allocations: 2.239 MB / 0.7155 GB, free: 113.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006055/0.7429, allocations: 333.3 kB / 0.7158 GB, free: 113.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005382/0.7482, allocations: 3.293 MB / 0.7191 GB, free: 111.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-05/0.7483, allocations: 22.28 kB / 0.7191 GB, free: 111.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/0.7483, allocations: 3.219 kB / 0.7191 GB, free: 111.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/0.7483, allocations: 8.125 kB / 0.7191 GB, free: 111.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/0.7622, allocations: 8.194 MB / 0.7271 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.7623, allocations: 2.609 kB / 0.7271 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/0.7638, allocations: 354.6 kB / 0.7274 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001309/0.7651, allocations: 0.5028 MB / 0.7279 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/0.7653, allocations: 36.27 kB / 0.728 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003666/0.7689, allocations: 3.641 MB / 0.7315 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7689, allocations: 3.719 kB / 0.7315 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007348/0.7763, allocations: 5.989 MB / 0.7374 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001271/0.7776, allocations: 0.6514 MB / 0.738 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000368/0.778, allocations: 33 kB / 0.738 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.7793, allocations: 137.9 kB / 0.7382 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002795/0.7796, allocations: 133.2 kB / 0.7383 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.7797, allocations: 51.95 kB / 0.7383 GB, free: 103.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00271/0.7824, allocations: 2.372 MB / 0.7407 GB, free: 102.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.7824, allocations: 0 / 0.7407 GB, free: 102.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004136/0.7866, allocations: 1.028 MB / 0.7417 GB, free: 101.5 MB / 490.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003312/0.7869, allocations: 161.9 kB / 0.7418 GB, free: 101.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006843/0.7937, allocations: 5.381 MB / 0.7471 GB, free: 96.65 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7938, allocations: 0 / 0.7471 GB, free: 96.65 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002061/0.7958, allocations: 1.733 MB / 0.7488 GB, free: 95.15 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002403/0.7983, allocations: 396.5 kB / 0.7491 GB, free: 94.81 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/0.8112, allocations: 11.88 MB / 0.7607 GB, free: 83.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002648/0.8139, allocations: 3.451 MB / 0.7641 GB, free: 79.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/0.8149, allocations: 307.4 kB / 0.7644 GB, free: 79.56 MB / 490.7 MB Notification: Performance of SimCode: time 7.31e-07/0.8149, allocations: 0 / 0.7644 GB, free: 79.56 MB / 490.7 MB Notification: Performance of Templates: time 0.07333/0.8882, allocations: 78.76 MB / 0.8413 GB, free: 0.7852 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches