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.001426/0.001425, allocations: 182 kB / 17.41 MB, free: 4.406 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.333/1.333, allocations: 205.4 MB / 223.6 MB, free: 9.035 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.0007381/0.0007382, allocations: 95.33 kB / 271.9 MB, free: 8.254 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.2889/0.2889, allocations: 43.55 MB / 363.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003657, allocations: 19.92 kB / 432.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09696/0.09735, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2876/0.385, allocations: 110.3 MB / 0.5876 GB, free: 8.078 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.3853, allocations: 87.95 kB / 0.5877 GB, free: 7.992 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3814/0.7667, allocations: 90.3 MB / 0.6759 GB, free: 89.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.7667, allocations: 0 / 0.6759 GB, free: 89.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001955/0.7669, allocations: 88.86 kB / 0.676 GB, free: 89.05 MB / 490.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.01162/0.7786, allocations: 4.29 MB / 0.6802 GB, free: 87.63 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.7786, allocations: 12.66 kB / 0.6802 GB, free: 87.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01471/0.7934, allocations: 3.617 MB / 0.6837 GB, free: 87.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007719/0.8011, allocations: 3.694 MB / 0.6873 GB, free: 86.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004333/0.8016, allocations: 350.8 kB / 0.6877 GB, free: 86.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001972/0.8036, allocations: 466.5 kB / 0.6881 GB, free: 86.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01573/0.8193, allocations: 10.69 MB / 0.6986 GB, free: 83.97 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001443/0.8195, allocations: 61.97 kB / 0.6986 GB, free: 83.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006251/0.8201, allocations: 225.7 kB / 0.6988 GB, free: 83.96 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001042/0.8212, allocations: 0.9925 MB / 0.6998 GB, free: 83.95 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01288/0.8341, allocations: 8.627 MB / 0.7082 GB, free: 83.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0421/0.8762, allocations: 46.97 MB / 0.7541 GB, free: 50.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004931/0.8812, allocations: 3.002 MB / 0.757 GB, free: 49.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001853/0.8831, allocations: 1.655 MB / 0.7586 GB, free: 48.74 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002962/0.8834, allocations: 345.9 kB / 0.759 GB, free: 48.44 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.8834, allocations: 47.5 kB / 0.759 GB, free: 48.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=176): time 4.097e-06/0.8834, allocations: 0 / 0.759 GB, free: 48.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=194): time 0.02461/0.908, allocations: 13.65 MB / 0.7723 GB, free: 42.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.9081, allocations: 202.2 kB / 0.7725 GB, free: 42.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004121/0.9122, allocations: 3.81 MB / 0.7763 GB, free: 40.94 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002758/0.9125, allocations: 56.95 kB / 0.7763 GB, free: 40.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001304/0.9139, allocations: 3.223 MB / 0.7795 GB, free: 38.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005566/0.9144, allocations: 0.734 MB / 0.7802 GB, free: 37.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.9147, allocations: 116.1 kB / 0.7803 GB, free: 37.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002396/0.9149, allocations: 0.5642 MB / 0.7808 GB, free: 37.36 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002908/0.9178, allocations: 2.123 MB / 0.7829 GB, free: 36.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004173/0.922, allocations: 5.819 MB / 0.7886 GB, free: 30.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007418/0.9295, allocations: 8.623 MB / 0.797 GB, free: 23.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.229e-05/0.9296, allocations: 38 kB / 0.797 GB, free: 23.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.01152/0.9411, allocations: 7.897 MB / 0.8048 GB, free: 20.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.406e-05/0.9412, allocations: 58.62 kB / 0.8048 GB, free: 20.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.872e-05/0.9413, allocations: 131.2 kB / 0.8049 GB, free: 20.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006384/0.9419, allocations: 372.7 kB / 0.8053 GB, free: 20.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003977/0.9459, allocations: 1.428 MB / 0.8067 GB, free: 20.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002727/0.9487, allocations: 3.006 MB / 0.8096 GB, free: 18.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004066/0.9528, allocations: 354.9 kB / 0.81 GB, free: 18.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007259/0.9535, allocations: 369.5 kB / 0.8103 GB, free: 18.27 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * 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 (747): * Single equations (assignments): 743 * 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%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003403/0.9569, allocations: 2.236 MB / 0.8125 GB, free: 16.92 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006168/0.9575, allocations: 339.6 kB / 0.8128 GB, free: 16.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004485/0.962, allocations: 2.811 MB / 0.8156 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.391e-05/0.9621, allocations: 23.75 kB / 0.8156 GB, free: 14.24 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.9621, allocations: 8 kB / 0.8156 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/0.9621, allocations: 11.36 kB / 0.8156 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01208/0.9742, allocations: 7.648 MB / 0.8231 GB, free: 8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.9743, allocations: 4 kB / 0.8231 GB, free: 7.996 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001517/0.9758, allocations: 349.2 kB / 0.8234 GB, free: 7.719 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004695/0.9763, allocations: 182.8 kB / 0.8236 GB, free: 7.582 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001406/0.9764, allocations: 39.17 kB / 0.8236 GB, free: 7.551 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002199/0.9786, allocations: 2.582 MB / 0.8262 GB, free: 5.074 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.9786, allocations: 0 / 0.8262 GB, free: 5.074 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006494/0.9851, allocations: 5.374 MB / 0.8314 GB, free: 408 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001412/0.9866, allocations: 0.6318 MB / 0.832 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003896/0.987, allocations: 39.34 kB / 0.8321 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/0.9883, allocations: 110.4 kB / 0.8322 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003205/0.9886, allocations: 138.1 kB / 0.8323 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/0.9888, allocations: 47.19 kB / 0.8323 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003383/0.9921, allocations: 2.373 MB / 0.8347 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9922, allocations: 0 / 0.8347 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004408/0.9966, allocations: 0.9921 MB / 0.8356 GB, free: 12.64 MB / 0.4948 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 (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.0004103/0.997, allocations: 169.8 kB / 0.8358 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007977/1.005, allocations: 5.122 MB / 0.8408 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/1.005, allocations: 0 / 0.8408 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002353/1.007, allocations: 1.635 MB / 0.8424 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002683/1.01, allocations: 421.1 kB / 0.8428 GB, free: 6.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0243/1.034, allocations: 12.3 MB / 0.8548 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003949/1.038, allocations: 3.461 MB / 0.8582 GB, free: 9.898 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/1.04, allocations: 308.3 kB / 0.8585 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of SimCode: time 7.62e-07/1.04, allocations: 4 kB / 0.8585 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of Templates: time 0.2868/1.326, allocations: 78.46 MB / 0.9351 GB, free: 92.97 MB / 0.5105 GB 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/jenkins1/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