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.001488/0.001488, allocations: 186 kB / 16.4 MB, free: 5.746 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.913/1.913, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001146/0.001146, allocations: 103 kB / 270.9 MB, free: 8.383 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.5096/0.5096, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004929/0.000493, allocations: 12 kB / 431.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1326, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5063/0.6389, allocations: 110.1 MB / 0.5863 GB, free: 8.562 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/0.6393, allocations: 75.97 kB / 0.5863 GB, free: 8.488 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7278/1.367, allocations: 91.38 MB / 0.6756 GB, free: 89.03 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.625e-06/1.367, allocations: 0 / 0.6756 GB, free: 89.03 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002829/1.367, allocations: 87.12 kB / 0.6757 GB, free: 89.02 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.01913/1.387, allocations: 4.405 MB / 0.68 GB, free: 87.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/1.387, allocations: 9.188 kB / 0.68 GB, free: 87.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03308/1.42, allocations: 4.438 MB / 0.6843 GB, free: 87.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0185/1.438, allocations: 4.769 MB / 0.689 GB, free: 86.47 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000535/1.439, allocations: 350.2 kB / 0.6893 GB, free: 86.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002591/1.442, allocations: 467.2 kB / 0.6897 GB, free: 86.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02882/1.47, allocations: 10.69 MB / 0.7002 GB, free: 83.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000288/1.471, allocations: 63.92 kB / 0.7002 GB, free: 83.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0016/1.472, allocations: 219.2 kB / 0.7005 GB, free: 83.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001996/1.474, allocations: 0.9975 MB / 0.7014 GB, free: 83.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02508/1.499, allocations: 8.656 MB / 0.7099 GB, free: 83.69 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07056/1.57, allocations: 47 MB / 0.7558 GB, free: 50.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009619/1.58, allocations: 2.999 MB / 0.7587 GB, free: 48.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006227/1.58, allocations: 339.6 kB / 0.759 GB, free: 48.65 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/1.58, allocations: 55.16 kB / 0.7591 GB, free: 48.59 MB / 490.7 MB Notification: Performance of pre-optimization done (n=176): time 7.003e-06/1.58, allocations: 3.938 kB / 0.7591 GB, free: 48.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=194): time 0.0544/1.635, allocations: 13.89 MB / 0.7727 GB, free: 42.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.911e-05/1.635, allocations: 207 kB / 0.7729 GB, free: 42.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007309/1.642, allocations: 3.391 MB / 0.7762 GB, free: 41.01 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004657/1.643, allocations: 56.31 kB / 0.7762 GB, free: 40.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002496/1.645, allocations: 3.171 MB / 0.7793 GB, free: 38.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001103/1.647, allocations: 0.7348 MB / 0.78 GB, free: 37.92 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007238/1.647, allocations: 121.8 kB / 0.7801 GB, free: 37.83 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003764/1.648, allocations: 0.5628 MB / 0.7807 GB, free: 37.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005846/1.654, allocations: 2.126 MB / 0.7828 GB, free: 36.74 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008361/1.662, allocations: 5.791 MB / 0.7884 GB, free: 30.97 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008407/1.67, allocations: 3.424 MB / 0.7918 GB, free: 29.59 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001134/1.671, allocations: 36.31 kB / 0.7918 GB, free: 29.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.02134/1.692, allocations: 7.797 MB / 0.7994 GB, free: 26.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/1.692, allocations: 62.94 kB / 0.7995 GB, free: 26.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000194/1.692, allocations: 137.5 kB / 0.7996 GB, free: 26.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/1.694, allocations: 384.3 kB / 0.8 GB, free: 26.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009066/1.703, allocations: 1.43 MB / 0.8014 GB, free: 26.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004875/1.708, allocations: 3.051 MB / 0.8044 GB, free: 24.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006759/1.714, allocations: 351.7 kB / 0.8047 GB, free: 24.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001298/1.716, allocations: 364.2 kB / 0.805 GB, free: 24.22 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.005791/1.722, allocations: 2.236 MB / 0.8072 GB, free: 23.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008882/1.722, allocations: 346.4 kB / 0.8076 GB, free: 22.96 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008542/1.731, allocations: 2.821 MB / 0.8103 GB, free: 21.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.222e-05/1.731, allocations: 20 kB / 0.8103 GB, free: 21.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/1.731, allocations: 4 kB / 0.8103 GB, free: 21.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-05/1.731, allocations: 7.828 kB / 0.8103 GB, free: 21.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02296/1.754, allocations: 7.654 MB / 0.8178 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/1.754, allocations: 0 / 0.8178 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003374/1.758, allocations: 355.2 kB / 0.8182 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009037/1.758, allocations: 175.7 kB / 0.8183 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003503/1.759, allocations: 39.36 kB / 0.8184 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00399/1.763, allocations: 2.604 MB / 0.8209 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.763, allocations: 5.156 kB / 0.8209 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01335/1.776, allocations: 5.461 MB / 0.8262 GB, free: 7.078 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00229/1.779, allocations: 0.6263 MB / 0.8268 GB, free: 6.484 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00106/1.78, allocations: 32 kB / 0.8269 GB, free: 6.453 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003291/1.783, allocations: 115.8 kB / 0.827 GB, free: 6.371 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007036/1.784, allocations: 129 kB / 0.8271 GB, free: 6.297 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002307/1.784, allocations: 55.19 kB / 0.8272 GB, free: 6.25 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005908/1.79, allocations: 2.374 MB / 0.8295 GB, free: 4.312 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.51e-07/1.79, allocations: 0 / 0.8295 GB, free: 4.312 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007149/1.797, allocations: 0.9928 MB / 0.8305 GB, free: 3.32 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.0007846/1.798, allocations: 165.6 kB / 0.8306 GB, free: 3.156 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01771/1.816, allocations: 5.395 MB / 0.8359 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.816, allocations: 4 kB / 0.8359 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004804/1.821, allocations: 1.633 MB / 0.8375 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003361/1.824, allocations: 388.9 kB / 0.8378 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03034/1.854, allocations: 11.71 MB / 0.8493 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008685/1.863, allocations: 3.55 MB / 0.8528 GB, free: 244 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002363/1.866, allocations: 324.9 kB / 0.8531 GB, free: 0 / 0.4948 GB Notification: Performance of SimCode: time 1.713e-06/1.866, allocations: 336 / 0.8531 GB, free: 0 / 0.4948 GB Notification: Performance of Templates: time 0.5254/2.391, allocations: 76.36 MB / 0.9276 GB, free: 98.02 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