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.002123/0.002123, allocations: 181 kB / 13.66 MB, free: 1.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001106/0.001105, allocations: 86.72 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3295/0.3295, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.714e-05/3.724e-05, allocations: 7.984 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1169, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5272/0.6442, allocations: 110 MB / 0.5802 GB, free: 9.863 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.6445, allocations: 75.94 kB / 0.5803 GB, free: 9.828 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3848/1.029, allocations: 91.45 MB / 0.6696 GB, free: 6.168 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.064e-06/1.029, allocations: 0 / 0.6696 GB, free: 6.168 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003126/1.03, allocations: 88 kB / 0.6697 GB, free: 6.082 MB / 474.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.01692/1.047, allocations: 4.153 MB / 0.6738 GB, free: 1.863 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/1.047, allocations: 8.031 kB / 0.6738 GB, free: 1.855 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03382/1.081, allocations: 4.436 MB / 0.6781 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01914/1.1, allocations: 4.746 MB / 0.6827 GB, free: 8.594 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005129/1.1, allocations: 349.2 kB / 0.6831 GB, free: 8.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002681/1.103, allocations: 471.8 kB / 0.6835 GB, free: 7.789 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03205/1.135, allocations: 10.58 MB / 0.6939 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003057/1.135, allocations: 59.41 kB / 0.6939 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002161/1.138, allocations: 223.9 kB / 0.6941 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002543/1.14, allocations: 0.9916 MB / 0.6951 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02665/1.167, allocations: 8.451 MB / 0.7033 GB, free: 2.445 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4232/1.59, allocations: 46.97 MB / 0.7492 GB, free: 83.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009061/1.599, allocations: 2.923 MB / 0.7521 GB, free: 83.27 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003482/1.603, allocations: 1.582 MB / 0.7536 GB, free: 83.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005895/1.603, allocations: 344.3 kB / 0.7539 GB, free: 82.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/1.604, allocations: 56.22 kB / 0.754 GB, free: 82.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=176): time 5.55e-06/1.604, allocations: 0 / 0.754 GB, free: 82.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=194): time 0.03985/1.643, allocations: 11.3 MB / 0.765 GB, free: 79.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.512e-05/1.644, allocations: 206.2 kB / 0.7652 GB, free: 79.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007228/1.651, allocations: 3.363 MB / 0.7685 GB, free: 79.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004792/1.651, allocations: 54.73 kB / 0.7686 GB, free: 79.35 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002559/1.654, allocations: 3.164 MB / 0.7717 GB, free: 77.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001112/1.655, allocations: 0.7392 MB / 0.7724 GB, free: 77.26 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006391/1.656, allocations: 120.8 kB / 0.7725 GB, free: 77.26 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003824/1.656, allocations: 0.5678 MB / 0.773 GB, free: 76.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004864/1.661, allocations: 1.994 MB / 0.775 GB, free: 76.45 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007377/1.668, allocations: 5.673 MB / 0.7805 GB, free: 70.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007419/1.676, allocations: 3.332 MB / 0.7838 GB, free: 69.91 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001209/1.676, allocations: 36.44 kB / 0.7838 GB, free: 69.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=785) (initialization): time 0.01975/1.696, allocations: 7.54 MB / 0.7912 GB, free: 67.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/1.696, allocations: 61.66 kB / 0.7912 GB, free: 67.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000166/1.696, allocations: 129.2 kB / 0.7914 GB, free: 67.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/1.697, allocations: 391.2 kB / 0.7917 GB, free: 67.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008953/1.706, allocations: 1.431 MB / 0.7931 GB, free: 67.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004747/1.711, allocations: 2.993 MB / 0.7961 GB, free: 65.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006949/1.718, allocations: 350.1 kB / 0.7964 GB, free: 65.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0013/1.719, allocations: 370.4 kB / 0.7967 GB, free: 65.04 MB / 0.4948 GB 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 () * 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.001279/1.721, allocations: 0.5607 MB / 0.7973 GB, free: 64.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008676/1.722, allocations: 344 kB / 0.7976 GB, free: 64.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006743/1.728, allocations: 2.626 MB / 0.8002 GB, free: 63.39 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.698e-05/1.729, allocations: 26.88 kB / 0.8002 GB, free: 63.39 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/1.729, allocations: 3.375 kB / 0.8002 GB, free: 63.39 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.054e-05/1.729, allocations: 7.406 kB / 0.8002 GB, free: 63.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02121/1.75, allocations: 7.451 MB / 0.8075 GB, free: 60.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.942e-05/1.75, allocations: 3.812 kB / 0.8075 GB, free: 60.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003386/1.753, allocations: 339.4 kB / 0.8078 GB, free: 60.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009036/1.754, allocations: 197.2 kB / 0.808 GB, free: 60.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002362/1.754, allocations: 30.97 kB / 0.808 GB, free: 60.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003997/1.758, allocations: 2.557 MB / 0.8105 GB, free: 58.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/1.759, allocations: 11.19 kB / 0.8106 GB, free: 58.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/1.77, allocations: 5.153 MB / 0.8156 GB, free: 56.47 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002344/1.772, allocations: 0.6271 MB / 0.8162 GB, free: 56.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008293/1.773, allocations: 32.27 kB / 0.8162 GB, free: 56.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002766/1.776, allocations: 118.4 kB / 0.8163 GB, free: 56.03 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004947/1.777, allocations: 124.5 kB / 0.8165 GB, free: 56.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002044/1.777, allocations: 58.55 kB / 0.8165 GB, free: 56 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005113/1.782, allocations: 2.334 MB / 0.8188 GB, free: 55.19 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.302e-06/1.782, allocations: 0 / 0.8188 GB, free: 55.19 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006644/1.789, allocations: 0.9964 MB / 0.8198 GB, free: 54.89 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 () * 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.0006884/1.789, allocations: 176.7 kB / 0.8199 GB, free: 54.72 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01122/1.801, allocations: 4.885 MB / 0.8247 GB, free: 50.28 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.453e-06/1.801, allocations: 0 / 0.8247 GB, free: 50.28 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003518/1.804, allocations: 1.532 MB / 0.8262 GB, free: 48.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003236/1.807, allocations: 398.9 kB / 0.8266 GB, free: 48.56 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02215/1.83, allocations: 8.188 MB / 0.8346 GB, free: 41.29 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007099/1.837, allocations: 3.549 MB / 0.838 GB, free: 38.59 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001896/1.839, allocations: 305.2 kB / 0.8383 GB, free: 38.3 MB / 0.4948 GB Notification: Performance of SimCode: time 2.014e-06/1.839, allocations: 3.938 kB / 0.8383 GB, free: 38.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.5047/2.343, allocations: 76.16 MB / 0.9127 GB, free: 119.4 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