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.002236/0.002243, allocations: 182.1 kB / 16.4 MB, free: 5.754 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.063/2.063, 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.001201/0.0012, allocations: 91.45 kB / 270.9 MB, free: 8.355 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.5289/0.5289, allocations: 43.56 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004982/0.0004984, allocations: 12 kB / 431.4 MB, free: 5.926 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1349, allocations: 58.83 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.3884/0.5233, allocations: 45.61 MB / 0.5233 GB, free: 18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02933/0.5527, allocations: 11.01 MB / 0.534 GB, free: 10.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01087/0.5636, allocations: 216.2 kB / 0.5342 GB, free: 10.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008216/0.5719, allocations: 2.265 MB / 0.5364 GB, free: 9.766 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0245/0.5964, allocations: 6.57 MB / 0.5428 GB, free: 6.656 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00417/0.6007, allocations: 0.599 MB / 0.5434 GB, free: 6.422 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.03625/0.637, allocations: 14.02 MB / 0.5571 GB, free: 2.375 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009063/0.6461, allocations: 4.34 MB / 0.5613 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002454/0.6486, allocations: 1.023 MB / 0.5623 GB, free: 156 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003444/0.6521, allocations: 1.431 MB / 0.5637 GB, free: 15.08 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001066/0.6532, allocations: 160 kB / 0.5639 GB, free: 14.92 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003085/0.6563, allocations: 0.9207 MB / 0.5648 GB, free: 14 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002969/0.6593, allocations: 1.652 MB / 0.5664 GB, free: 12.34 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001642/0.661, allocations: 0.8856 MB / 0.5673 GB, free: 11.45 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01092/0.6719, allocations: 6.219 MB / 0.5733 GB, free: 5.215 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.672, allocations: 0 / 0.5733 GB, free: 5.215 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.672, allocations: 0 / 0.5733 GB, free: 5.215 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002457/0.6723, allocations: 0 / 0.5733 GB, free: 5.215 MB / 394.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.01628/0.6885, allocations: 4.292 MB / 0.5775 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.6886, allocations: 8.562 kB / 0.5775 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1843/0.873, allocations: 8.413 MB / 0.5858 GB, free: 8.418 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01034/0.8834, allocations: 2.852 MB / 0.5885 GB, free: 5.504 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003962/0.8838, allocations: 254.3 kB / 0.5888 GB, free: 5.254 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001859/0.8857, allocations: 331.8 kB / 0.5891 GB, free: 4.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02861/0.9143, allocations: 10.41 MB / 0.5993 GB, free: 9.844 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002194/0.9146, allocations: 43.59 kB / 0.5993 GB, free: 9.801 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001369/0.916, allocations: 155.8 kB / 0.5995 GB, free: 9.648 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00646/0.9225, allocations: 2.096 MB / 0.6015 GB, free: 7.551 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02729/0.9498, allocations: 8.647 MB / 0.61 GB, free: 14.88 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07675/1.027, allocations: 38.52 MB / 0.6476 GB, free: 7.27 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01077/1.037, allocations: 3.013 MB / 0.6505 GB, free: 4.113 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007269/1.038, allocations: 344.1 kB / 0.6508 GB, free: 3.723 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.975e-05/1.038, allocations: 51.69 kB / 0.6509 GB, free: 3.664 MB / 474.7 MB Notification: Performance of pre-optimization done (n=176): time 6.382e-06/1.038, allocations: 7.938 kB / 0.6509 GB, free: 3.656 MB / 474.7 MB Notification: Performance of matching and sorting (n=194): time 0.05968/1.098, allocations: 14.45 MB / 0.665 GB, free: 5.004 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/1.098, allocations: 205.2 kB / 0.6652 GB, free: 4.758 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008868/1.107, allocations: 3.955 MB / 0.6691 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000453/1.108, allocations: 49.7 kB / 0.6691 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3369/1.444, allocations: 3.145 MB / 0.6722 GB, free: 135.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001287/1.446, allocations: 0.7389 MB / 0.6729 GB, free: 135.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007436/1.447, allocations: 116.9 kB / 0.673 GB, free: 135.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005801/1.447, allocations: 0.5619 MB / 0.6736 GB, free: 134.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006896/1.454, allocations: 2.15 MB / 0.6757 GB, free: 134.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00975/1.464, allocations: 5.813 MB / 0.6814 GB, free: 130.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008714/1.473, allocations: 3.445 MB / 0.6847 GB, free: 128.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002493/1.473, allocations: 37.62 kB / 0.6848 GB, free: 128.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.02243/1.495, allocations: 7.874 MB / 0.6924 GB, free: 126 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/1.496, allocations: 64.91 kB / 0.6925 GB, free: 126 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000199/1.496, allocations: 129.2 kB / 0.6926 GB, free: 126 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001622/1.497, allocations: 462 kB / 0.6931 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009015/1.507, allocations: 1.429 MB / 0.6945 GB, free: 125.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005634/1.512, allocations: 3.407 MB / 0.6978 GB, free: 123.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006556/1.519, allocations: 363.2 kB / 0.6981 GB, free: 123.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001216/1.52, allocations: 370.2 kB / 0.6985 GB, free: 123.4 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 (745): * Single equations (assignments): 741 * 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.005825/1.526, allocations: 2.238 MB / 0.7007 GB, free: 122.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008651/1.527, allocations: 344.8 kB / 0.701 GB, free: 122.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008815/1.536, allocations: 2.922 MB / 0.7039 GB, free: 121.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.869e-05/1.536, allocations: 21.16 kB / 0.7039 GB, free: 121.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/1.536, allocations: 5.906 kB / 0.7039 GB, free: 121.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-05/1.536, allocations: 17.28 kB / 0.7039 GB, free: 121.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02375/1.56, allocations: 7.833 MB / 0.7115 GB, free: 118.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-05/1.56, allocations: 1.406 kB / 0.7116 GB, free: 118.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003605/1.563, allocations: 345.8 kB / 0.7119 GB, free: 118.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001333/1.565, allocations: 257.2 kB / 0.7121 GB, free: 118.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004198/1.565, allocations: 37.69 kB / 0.7122 GB, free: 118.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005199/1.57, allocations: 2.979 MB / 0.7151 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/1.57, allocations: 8.859 kB / 0.7151 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01558/1.586, allocations: 5.608 MB / 0.7206 GB, free: 113.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002352/1.588, allocations: 0.6373 MB / 0.7212 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009887/1.589, allocations: 28.81 kB / 0.7212 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003218/1.593, allocations: 130.8 kB / 0.7213 GB, free: 113.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007846/1.593, allocations: 124.1 kB / 0.7214 GB, free: 113.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002326/1.594, allocations: 55.14 kB / 0.7215 GB, free: 113.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006389/1.6, allocations: 2.491 MB / 0.7239 GB, free: 112.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.72e-07/1.6, allocations: 0 / 0.7239 GB, free: 112.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006933/1.607, allocations: 1.02 MB / 0.7249 GB, free: 112.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.0008002/1.608, allocations: 176.9 kB / 0.7251 GB, free: 112.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01337/1.621, allocations: 5.162 MB / 0.7301 GB, free: 110.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.621, allocations: 4 kB / 0.7301 GB, free: 110.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004547/1.626, allocations: 1.67 MB / 0.7318 GB, free: 109.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003197/1.629, allocations: 385.5 kB / 0.7321 GB, free: 109.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02553/1.655, allocations: 11.76 MB / 0.7436 GB, free: 99.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006326/1.661, allocations: 3.549 MB / 0.7471 GB, free: 96.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001878/1.663, allocations: 310.3 kB / 0.7474 GB, free: 96.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.232e-06/1.663, allocations: 0 / 0.7474 GB, free: 96.4 MB / 490.7 MB Notification: Performance of Templates: time 0.1355/1.799, allocations: 76.74 MB / 0.8223 GB, free: 20.69 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/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