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.002474/0.002474, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 90.66 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2966/0.2966, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.734e-05/2.746e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.3995, allocations: 58.86 MB / 477.1 MB, free: 5.25 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2025/0.602, allocations: 109.4 MB / 0.5727 GB, free: 5.887 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/0.6023, allocations: 79.95 kB / 0.5728 GB, free: 5.809 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7229/1.325, allocations: 89.48 MB / 0.6602 GB, free: 108.5 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.846e-06/1.325, allocations: 0 / 0.6602 GB, free: 108.5 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0004237/1.326, allocations: 89.34 kB / 0.6603 GB, free: 108.5 MB / 475.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.0242/1.35, allocations: 4.143 MB / 0.6643 GB, free: 106.7 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/1.35, allocations: 9.781 kB / 0.6643 GB, free: 106.7 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0506/1.401, allocations: 4.436 MB / 0.6686 GB, free: 106.4 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02663/1.427, allocations: 4.747 MB / 0.6733 GB, free: 105.8 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004606/1.428, allocations: 147.3 kB / 0.6734 GB, free: 105.8 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00328/1.431, allocations: 269.3 kB / 0.6737 GB, free: 105.8 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02354/1.455, allocations: 6.314 MB / 0.6798 GB, free: 105.2 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02612/1.481, allocations: 9.737 MB / 0.6893 GB, free: 100 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002856/1.481, allocations: 61.91 kB / 0.6894 GB, free: 99.97 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001999/1.483, allocations: 33.34 kB / 0.6894 GB, free: 99.97 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002123/1.485, allocations: 0.9911 MB / 0.6904 GB, free: 99.79 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06394/1.549, allocations: 44.84 MB / 0.7342 GB, free: 65.59 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004947/1.554, allocations: 2.718 MB / 0.7369 GB, free: 64.1 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003084/1.558, allocations: 1.545 MB / 0.7384 GB, free: 63.2 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005361/1.558, allocations: 333.8 kB / 0.7387 GB, free: 62.85 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/1.558, allocations: 56.09 kB / 0.7387 GB, free: 62.78 MB / 475.1 MB Notification: Performance of pre-optimization done (n=176): time 6.102e-06/1.558, allocations: 0 / 0.7387 GB, free: 62.78 MB / 475.1 MB Notification: Performance of matching and sorting (n=194): time 0.03548/1.594, allocations: 12.36 MB / 0.7508 GB, free: 51.6 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/1.594, allocations: 197.2 kB / 0.751 GB, free: 51.36 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00658/1.6, allocations: 2.985 MB / 0.7539 GB, free: 48.75 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004977/1.601, allocations: 25.7 kB / 0.7539 GB, free: 48.71 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002611/1.604, allocations: 3.273 MB / 0.7571 GB, free: 45.72 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001099/1.605, allocations: 0.7202 MB / 0.7578 GB, free: 45.08 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007384/1.606, allocations: 0 / 0.7578 GB, free: 45.08 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0004349/1.606, allocations: 0.5781 MB / 0.7584 GB, free: 44.57 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00463/1.611, allocations: 1.938 MB / 0.7603 GB, free: 42.64 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007133/1.618, allocations: 5.778 MB / 0.7659 GB, free: 34.92 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006965/1.625, allocations: 3.319 MB / 0.7692 GB, free: 31.6 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001155/1.625, allocations: 36 kB / 0.7692 GB, free: 31.56 MB / 475.1 MB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01822/1.643, allocations: 6.965 MB / 0.776 GB, free: 24.59 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/1.643, allocations: 64 kB / 0.7761 GB, free: 24.53 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001701/1.644, allocations: 136.1 kB / 0.7762 GB, free: 24.4 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/1.645, allocations: 397.2 kB / 0.7766 GB, free: 24.01 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00917/1.654, allocations: 1.497 MB / 0.778 GB, free: 22.51 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004398/1.658, allocations: 2.91 MB / 0.7809 GB, free: 19.48 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006593/1.665, allocations: 235.7 kB / 0.7811 GB, free: 19.25 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001338/1.666, allocations: 391.9 kB / 0.7815 GB, free: 18.88 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 629 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (783): * Single equations (assignments): 779 * 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.001225/1.668, allocations: 456.3 kB / 0.7819 GB, free: 18.42 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007614/1.668, allocations: 323.8 kB / 0.7822 GB, free: 18.1 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005931/1.674, allocations: 2.486 MB / 0.7847 GB, free: 15.61 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-05/1.674, allocations: 20 kB / 0.7847 GB, free: 15.59 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/1.675, allocations: 7.984 kB / 0.7847 GB, free: 15.58 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.694e-05/1.675, allocations: 7.969 kB / 0.7847 GB, free: 15.57 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01862/1.693, allocations: 6.533 MB / 0.7911 GB, free: 9.023 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/1.693, allocations: 0 / 0.7911 GB, free: 9.023 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003234/1.696, allocations: 351.5 kB / 0.7914 GB, free: 8.68 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008258/1.697, allocations: 176.7 kB / 0.7916 GB, free: 8.504 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002646/1.698, allocations: 19.98 kB / 0.7916 GB, free: 8.484 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003528/1.701, allocations: 2.447 MB / 0.794 GB, free: 5.93 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/1.701, allocations: 4.031 kB / 0.794 GB, free: 5.926 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01004/1.711, allocations: 5.006 MB / 0.7989 GB, free: 0.8789 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002188/1.714, allocations: 0.5983 MB / 0.7995 GB, free: 264 kB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006689/1.714, allocations: 4 kB / 0.7995 GB, free: 260 kB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002679/1.717, allocations: 87.88 kB / 0.7995 GB, free: 172 kB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004738/1.717, allocations: 129.2 kB / 0.7997 GB, free: 44 kB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002274/1.718, allocations: 52.03 kB / 0.7997 GB, free: 15.99 MB / 491.1 MB Notification: Performance of sorting global known variables: time 0.004873/1.723, allocations: 1.984 MB / 0.8017 GB, free: 14.02 MB / 491.1 MB Notification: Performance of sort global known variables: time 9.72e-07/1.723, allocations: 0 / 0.8017 GB, free: 14.02 MB / 491.1 MB Notification: Performance of remove unused functions: time 0.007313/1.73, allocations: 0.8477 MB / 0.8025 GB, free: 13.17 MB / 491.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 () * 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.0007415/1.731, allocations: 142.7 kB / 0.8026 GB, free: 13.03 MB / 491.1 MB Notification: Performance of simCode: created initialization part: time 0.01234/1.743, allocations: 4.671 MB / 0.8072 GB, free: 8.375 MB / 491.1 MB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/1.743, allocations: 5.375 kB / 0.8072 GB, free: 8.371 MB / 491.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003879/1.747, allocations: 1.49 MB / 0.8086 GB, free: 6.871 MB / 491.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002943/1.75, allocations: 305.5 kB / 0.8089 GB, free: 6.574 MB / 491.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02618/1.776, allocations: 8.122 MB / 0.8169 GB, free: 14.4 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00905/1.785, allocations: 3.552 MB / 0.8203 GB, free: 10.82 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001982/1.787, allocations: 299.4 kB / 0.8206 GB, free: 10.53 MB / 0.4952 GB Notification: Performance of SimCode: time 1.553e-06/1.787, allocations: 0 / 0.8206 GB, free: 10.53 MB / 0.4952 GB Notification: Performance of Templates: time 0.5054/2.293, allocations: 74.17 MB / 0.893 GB, free: 106.6 MB / 0.4952 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