Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001923/0.001933, allocations: 117.1 kB / 17.08 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002787/0.002787, allocations: 195 kB / 18.01 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.498/3.498, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.595/0.595, allocations: 43.52 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00362/0.003621, allocations: 72.45 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2966, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.0238/0.3205, allocations: 11.24 MB / 0.4995 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01842/0.339, allocations: 4.062 MB / 0.5035 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005841/0.345, allocations: 59.88 kB / 0.5035 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01379/0.359, allocations: 2.819 MB / 0.5063 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01474/0.3738, allocations: 1.895 MB / 0.5081 GB, free: 7.652 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005728/0.3796, allocations: 0.7057 MB / 0.5088 GB, free: 6.945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01699/0.3967, allocations: 4.179 MB / 0.5129 GB, free: 2.754 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01334/0.4101, allocations: 3.89 MB / 0.5167 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006783/0.417, allocations: 1.6 MB / 0.5183 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006701/0.4238, allocations: 2.239 MB / 0.5205 GB, free: 10.94 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002689/0.4266, allocations: 372 kB / 0.5208 GB, free: 10.58 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005834/0.4325, allocations: 1.248 MB / 0.522 GB, free: 9.328 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005566/0.4381, allocations: 2.061 MB / 0.524 GB, free: 7.262 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00977/0.4479, allocations: 2.385 MB / 0.5264 GB, free: 4.863 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.6419/1.09, allocations: 7.881 MB / 0.5341 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.51e-05/1.09, allocations: 1.672 kB / 0.5341 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.366e-06/1.09, allocations: 0 / 0.5341 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005368/1.091, allocations: 0.5625 kB / 0.5341 GB, free: 15.38 MB / 414.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.03523/1.126, allocations: 4.975 MB / 0.5389 GB, free: 13.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.243e-05/1.126, allocations: 13.73 kB / 0.5389 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03719/1.163, allocations: 2.535 MB / 0.5414 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01843/1.182, allocations: 2.733 MB / 0.5441 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009299/1.183, allocations: 254.6 kB / 0.5443 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003962/1.187, allocations: 335.7 kB / 0.5447 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04853/1.235, allocations: 10.45 MB / 0.5549 GB, free: 9.836 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004212/1.236, allocations: 41.72 kB / 0.5549 GB, free: 9.832 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002363/1.238, allocations: 161.3 kB / 0.5551 GB, free: 9.762 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008817/1.247, allocations: 2.095 MB / 0.5571 GB, free: 9.402 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03448/1.282, allocations: 8.737 MB / 0.5656 GB, free: 6.578 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1052/1.387, allocations: 38.42 MB / 0.6031 GB, free: 1.875 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01284/1.4, allocations: 3.068 MB / 0.6061 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005918/1.406, allocations: 1.736 MB / 0.6078 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008752/1.407, allocations: 339.3 kB / 0.6082 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.534e-05/1.407, allocations: 50.47 kB / 0.6082 GB, free: 12.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=176): time 1.123e-05/1.407, allocations: 0 / 0.6082 GB, free: 12.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=194): time 0.1062/1.513, allocations: 14.76 MB / 0.6226 GB, free: 13.64 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000255/1.513, allocations: 205.2 kB / 0.6228 GB, free: 13.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01373/1.527, allocations: 3.844 MB / 0.6266 GB, free: 9.57 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00101/1.528, allocations: 53.7 kB / 0.6266 GB, free: 9.512 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006087/1.534, allocations: 3.186 MB / 0.6297 GB, free: 6.34 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002277/1.537, allocations: 0.7442 MB / 0.6305 GB, free: 5.602 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004378/1.541, allocations: 1.245 MB / 0.6317 GB, free: 4.344 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002242/1.541, allocations: 301.1 kB / 0.632 GB, free: 4.047 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008944/1.55, allocations: 2.267 MB / 0.6342 GB, free: 1.777 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01684/1.567, allocations: 5.94 MB / 0.64 GB, free: 10.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02584/1.593, allocations: 8.84 MB / 0.6486 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003176/1.594, allocations: 40 kB / 0.6487 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=802) (initialization): time 0.03789/1.632, allocations: 8.472 MB / 0.6569 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002287/1.632, allocations: 63.94 kB / 0.657 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002912/1.632, allocations: 128 kB / 0.6571 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003802/1.636, allocations: 0.688 MB / 0.6578 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01161/1.648, allocations: 1.443 MB / 0.6592 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/1.658, allocations: 4.381 MB / 0.6635 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01179/1.67, allocations: 355.6 kB / 0.6638 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002612/1.673, allocations: 380 kB / 0.6642 GB, free: 124 kB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009773/1.683, allocations: 2.231 MB / 0.6663 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001827/1.685, allocations: 347.5 kB / 0.6667 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01318/1.698, allocations: 3.252 MB / 0.6699 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.233e-05/1.698, allocations: 26.66 kB / 0.6699 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-05/1.698, allocations: 4 kB / 0.6699 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.446e-05/1.698, allocations: 11.97 kB / 0.6699 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03707/1.735, allocations: 8.128 MB / 0.6778 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.904e-05/1.735, allocations: 5.078 kB / 0.6778 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003899/1.739, allocations: 335.5 kB / 0.6782 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003193/1.742, allocations: 0.5051 MB / 0.6787 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005484/1.743, allocations: 43.97 kB / 0.6787 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009399/1.752, allocations: 3.917 MB / 0.6825 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-05/1.752, allocations: 7.922 kB / 0.6825 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01978/1.772, allocations: 5.938 MB / 0.6883 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00335/1.776, allocations: 0.6333 MB / 0.6889 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001459/1.777, allocations: 32 kB / 0.689 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003601/1.781, allocations: 115.8 kB / 0.6891 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006443/1.781, allocations: 129.1 kB / 0.6892 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002696/1.782, allocations: 55.98 kB / 0.6893 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007506/1.789, allocations: 2.392 MB / 0.6916 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.21e-07/1.789, allocations: 0 / 0.6916 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01211/1.801, allocations: 1.031 MB / 0.6926 GB, free: 2.793 MB / 0.5294 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 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001445/1.803, allocations: 166.2 kB / 0.6928 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01866/1.822, allocations: 5.37 MB / 0.698 GB, free: 13.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/1.822, allocations: 4 kB / 0.698 GB, free: 13.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00577/1.828, allocations: 1.712 MB / 0.6997 GB, free: 11.55 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005731/1.833, allocations: 431.2 kB / 0.7001 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04085/1.874, allocations: 10.01 MB / 0.7099 GB, free: 1.094 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01018/1.885, allocations: 3.438 MB / 0.7132 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002595/1.887, allocations: 320.1 kB / 0.7135 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of SimCode: time 1.863e-06/1.887, allocations: 0 / 0.7135 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of Templates: time 0.7706/2.658, allocations: 80.2 MB / 0.7918 GB, free: 196.6 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches