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.001401/0.0014, allocations: 179.7 kB / 16.41 MB, free: 5.73 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.751/1.751, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.0008212/0.0008211, allocations: 101.7 kB / 270.9 MB, free: 8.34 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.4313/0.4313, allocations: 43.56 MB / 362.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003929, allocations: 16 kB / 431.4 MB, free: 5.906 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1385, allocations: 58.85 MB / 490.2 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.3213/0.4598, allocations: 48.24 MB / 0.5259 GB, free: 16.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02582/0.4856, allocations: 10.56 MB / 0.5362 GB, free: 8.957 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01164/0.4973, allocations: 220 kB / 0.5364 GB, free: 8.926 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008136/0.5055, allocations: 2.506 MB / 0.5388 GB, free: 8.043 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02211/0.5276, allocations: 7.464 MB / 0.5461 GB, free: 4.922 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003852/0.5315, allocations: 0.607 MB / 0.5467 GB, free: 4.688 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.02567/0.5572, allocations: 18.95 MB / 0.5652 GB, free: 13.75 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007711/0.565, allocations: 4.374 MB / 0.5695 GB, free: 9.363 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003101/0.5681, allocations: 1.249 MB / 0.5707 GB, free: 8.109 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003609/0.5717, allocations: 2.041 MB / 0.5727 GB, free: 6.062 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001202/0.573, allocations: 156 kB / 0.5729 GB, free: 5.91 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003183/0.5762, allocations: 0.944 MB / 0.5738 GB, free: 4.965 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002976/0.5792, allocations: 1.78 MB / 0.5755 GB, free: 3.18 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002128/0.5814, allocations: 0.8817 MB / 0.5764 GB, free: 2.289 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008003/0.5894, allocations: 6.06 MB / 0.5823 GB, free: 12.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.5894, allocations: 0 / 0.5823 GB, free: 12.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.5894, allocations: 4 kB / 0.5823 GB, free: 12.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003249/0.5898, allocations: 0 / 0.5823 GB, free: 12.21 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.0113/0.6011, allocations: 4.111 MB / 0.5863 GB, free: 8.031 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.6011, allocations: 8.562 kB / 0.5863 GB, free: 8.023 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01698/0.6181, allocations: 2.603 MB / 0.5889 GB, free: 5.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008099/0.6263, allocations: 2.66 MB / 0.5915 GB, free: 2.688 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003253/0.6266, allocations: 250.4 kB / 0.5917 GB, free: 2.441 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001626/0.6283, allocations: 335.7 kB / 0.592 GB, free: 2.113 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02446/0.6528, allocations: 10.45 MB / 0.6022 GB, free: 6.988 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004799/0.6533, allocations: 43.58 kB / 0.6023 GB, free: 6.945 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001934/0.6553, allocations: 163.8 kB / 0.6024 GB, free: 6.785 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004047/0.6594, allocations: 2.096 MB / 0.6045 GB, free: 4.688 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01881/0.6782, allocations: 8.717 MB / 0.613 GB, free: 11.95 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05805/0.7363, allocations: 38.66 MB / 0.6507 GB, free: 4.203 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006913/0.7433, allocations: 3.056 MB / 0.6537 GB, free: 1 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002928/0.7462, allocations: 1.756 MB / 0.6554 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005123/0.7468, allocations: 332.2 kB / 0.6557 GB, free: 14.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.147e-05/0.7468, allocations: 51.56 kB / 0.6558 GB, free: 14.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=176): time 5.881e-06/0.7469, allocations: 0 / 0.6558 GB, free: 14.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=194): time 0.3463/1.093, allocations: 15.01 MB / 0.6704 GB, free: 137.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/1.093, allocations: 203.3 kB / 0.6706 GB, free: 136.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008484/1.102, allocations: 3.824 MB / 0.6744 GB, free: 136.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008927/1.103, allocations: 52.05 kB / 0.6744 GB, free: 136.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002585/1.105, allocations: 3.184 MB / 0.6775 GB, free: 135.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001363/1.107, allocations: 0.7481 MB / 0.6783 GB, free: 134.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002712/1.107, allocations: 120.4 kB / 0.6784 GB, free: 134.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000319/1.107, allocations: 0.5647 MB / 0.6789 GB, free: 134.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003969/1.111, allocations: 2.261 MB / 0.6811 GB, free: 133.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005009/1.116, allocations: 5.948 MB / 0.6869 GB, free: 128.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005844/1.122, allocations: 3.569 MB / 0.6904 GB, free: 126.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.88e-05/1.122, allocations: 35.31 kB / 0.6905 GB, free: 126.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.02289/1.145, allocations: 8.484 MB / 0.6987 GB, free: 123.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002889/1.146, allocations: 61.03 kB / 0.6988 GB, free: 123.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003432/1.146, allocations: 133.4 kB / 0.6989 GB, free: 123.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003354/1.149, allocations: 0.7125 MB / 0.6996 GB, free: 123.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009956/1.159, allocations: 1.464 MB / 0.7011 GB, free: 123.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008746/1.168, allocations: 4.069 MB / 0.705 GB, free: 120.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01012/1.178, allocations: 374.9 kB / 0.7054 GB, free: 120.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001933/1.18, allocations: 379 kB / 0.7058 GB, free: 120.8 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.00912/1.189, allocations: 2.237 MB / 0.7079 GB, free: 119.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00185/1.191, allocations: 336.7 kB / 0.7083 GB, free: 119.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01413/1.205, allocations: 3.29 MB / 0.7115 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.688e-05/1.206, allocations: 24.72 kB / 0.7115 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.425e-05/1.206, allocations: 3.25 kB / 0.7115 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-05/1.206, allocations: 11.97 kB / 0.7115 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03749/1.243, allocations: 8.187 MB / 0.7195 GB, free: 115.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.013e-05/1.243, allocations: 5.141 kB / 0.7195 GB, free: 115.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003615/1.247, allocations: 352.8 kB / 0.7198 GB, free: 115.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003154/1.25, allocations: 0.5112 MB / 0.7203 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003427/1.25, allocations: 36.52 kB / 0.7204 GB, free: 115.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008505/1.259, allocations: 3.631 MB / 0.7239 GB, free: 113.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/1.259, allocations: 5.953 kB / 0.7239 GB, free: 113.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01937/1.278, allocations: 5.992 MB / 0.7298 GB, free: 110.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003555/1.282, allocations: 0.6558 MB / 0.7304 GB, free: 110.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001391/1.284, allocations: 31.81 kB / 0.7305 GB, free: 110.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003723/1.287, allocations: 137.3 kB / 0.7306 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005796/1.288, allocations: 130.9 kB / 0.7307 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002705/1.288, allocations: 55.02 kB / 0.7308 GB, free: 110.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007676/1.296, allocations: 2.37 MB / 0.7331 GB, free: 109.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.81e-07/1.296, allocations: 0 / 0.7331 GB, free: 109.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01099/1.307, allocations: 1.027 MB / 0.7341 GB, free: 109.4 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.00102/1.308, allocations: 160 kB / 0.7342 GB, free: 109.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01605/1.324, allocations: 5.374 MB / 0.7395 GB, free: 105.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/1.324, allocations: 4 kB / 0.7395 GB, free: 105.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005305/1.329, allocations: 1.731 MB / 0.7412 GB, free: 104 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006574/1.336, allocations: 403.8 kB / 0.7416 GB, free: 103.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0323/1.368, allocations: 11.88 MB / 0.7532 GB, free: 92.62 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007091/1.376, allocations: 3.452 MB / 0.7565 GB, free: 89.13 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001609/1.377, allocations: 307.4 kB / 0.7568 GB, free: 88.83 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/1.377, allocations: 0 / 0.7568 GB, free: 88.83 MB / 490.7 MB Notification: Performance of Templates: time 0.1046/1.482, allocations: 78.91 MB / 0.8339 GB, free: 9.906 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