Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009562/0.0009563, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 221.4 MB / 236 MB, free: 2.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007956/0.0007957, allocations: 88.02 kB / 287 MB, free: 224 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1812/0.1812, allocations: 44.14 MB / 382 MB, free: 14.71 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.074e-05/4.077e-05, allocations: 4.219 kB / 451.8 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1093, allocations: 61.91 MB / 0.5017 GB, free: 11.5 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3745/0.4838, allocations: 110.3 MB / 0.6094 GB, free: 11.05 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001974/0.484, allocations: 75.97 kB / 0.6095 GB, free: 10.98 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1969/0.6809, allocations: 83.85 MB / 0.6914 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.094e-06/0.681, allocations: 0 / 0.6914 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001615/0.6811, allocations: 76 kB / 0.6914 GB, free: 6.57 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1454 * Number of variables: 1454 Notification: Performance of Generate backend data structure: time 0.009203/0.6903, allocations: 3.794 MB / 0.6951 GB, free: 2.715 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.6904, allocations: 12.03 kB / 0.6952 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01615/0.7066, allocations: 4.351 MB / 0.6994 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01132/0.7179, allocations: 4.382 MB / 0.7037 GB, free: 9.891 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003422/0.7183, allocations: 320.2 kB / 0.704 GB, free: 9.574 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00187/0.7202, allocations: 415.8 kB / 0.7044 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.281/1.001, allocations: 9.505 MB / 0.7137 GB, free: 122 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001723/1.001, allocations: 56.59 kB / 0.7137 GB, free: 122 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006053/1.002, allocations: 204.1 kB / 0.7139 GB, free: 122 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001064/1.003, allocations: 0.8548 MB / 0.7148 GB, free: 122 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01289/1.016, allocations: 7.474 MB / 0.7221 GB, free: 122 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03691/1.053, allocations: 43.22 MB / 0.7643 GB, free: 94.26 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003972/1.057, allocations: 2.344 MB / 0.7665 GB, free: 93.09 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/1.058, allocations: 1.156 MB / 0.7677 GB, free: 92.61 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002768/1.058, allocations: 327 kB / 0.768 GB, free: 92.32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/1.058, allocations: 44.88 kB / 0.768 GB, free: 92.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=122): time 3.687e-06/1.058, allocations: 0 / 0.768 GB, free: 92.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=140): time 0.01599/1.074, allocations: 8.667 MB / 0.7765 GB, free: 88.44 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/1.075, allocations: 191.1 kB / 0.7767 GB, free: 88.22 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003733/1.078, allocations: 3.183 MB / 0.7798 GB, free: 87.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001434/1.078, allocations: 45.52 kB / 0.7798 GB, free: 87.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001251/1.08, allocations: 2.981 MB / 0.7827 GB, free: 84.93 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003647/1.08, allocations: 0.5528 MB / 0.7833 GB, free: 84.54 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/1.08, allocations: 107 kB / 0.7834 GB, free: 84.45 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002071/1.08, allocations: 0.5254 MB / 0.7839 GB, free: 84.05 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/1.082, allocations: 1.577 MB / 0.7854 GB, free: 83.56 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003428/1.086, allocations: 4.997 MB / 0.7903 GB, free: 78.39 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003186/1.089, allocations: 2.805 MB / 0.7931 GB, free: 77.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.483e-05/1.089, allocations: 32.72 kB / 0.7931 GB, free: 77.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=693) (initialization): time 0.00804/1.097, allocations: 6.503 MB / 0.7994 GB, free: 75.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.291e-05/1.097, allocations: 61.14 kB / 0.7995 GB, free: 75.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001017/1.097, allocations: 122.8 kB / 0.7996 GB, free: 75.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006534/1.098, allocations: 375.2 kB / 0.8 GB, free: 75.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00306/1.101, allocations: 1.239 MB / 0.8012 GB, free: 74.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002888/1.104, allocations: 2.978 MB / 0.8041 GB, free: 72.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003759/1.108, allocations: 292.5 kB / 0.8044 GB, free: 72.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000418/1.108, allocations: 341 kB / 0.8047 GB, free: 72.73 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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 (655): * Single equations (assignments): 651 * 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.0006247/1.109, allocations: 0.5259 MB / 0.8052 GB, free: 72.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000374/1.109, allocations: 308.9 kB / 0.8055 GB, free: 72.12 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002438/1.112, allocations: 1.658 MB / 0.8071 GB, free: 71.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/1.112, allocations: 18.62 kB / 0.8071 GB, free: 71.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/1.112, allocations: 0 / 0.8071 GB, free: 71.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/1.112, allocations: 11.06 kB / 0.8071 GB, free: 71.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008046/1.12, allocations: 5.627 MB / 0.8126 GB, free: 69.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/1.12, allocations: 0 / 0.8126 GB, free: 69.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009146/1.121, allocations: 233.5 kB / 0.8129 GB, free: 69.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004449/1.121, allocations: 182.5 kB / 0.813 GB, free: 69.38 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.676e-05/1.121, allocations: 23.27 kB / 0.8131 GB, free: 69.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/1.123, allocations: 2.545 MB / 0.8155 GB, free: 67.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.123, allocations: 11.89 kB / 0.8156 GB, free: 67.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003992/1.127, allocations: 3.682 MB / 0.8192 GB, free: 65.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007157/1.128, allocations: 359.1 kB / 0.8195 GB, free: 65.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002591/1.128, allocations: 19.78 kB / 0.8195 GB, free: 65.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000973/1.129, allocations: 88.84 kB / 0.8196 GB, free: 65.56 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002064/1.13, allocations: 101.2 kB / 0.8197 GB, free: 65.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.003e-05/1.13, allocations: 43.39 kB / 0.8197 GB, free: 65.54 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002764/1.132, allocations: 2.193 MB / 0.8219 GB, free: 64.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/1.132, allocations: 3.875 kB / 0.8219 GB, free: 64.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003741/1.136, allocations: 0.849 MB / 0.8227 GB, free: 64.67 MB / 0.5105 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 (107): * Single equations (assignments): 103 * 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.0003503/1.137, allocations: 164.5 kB / 0.8229 GB, free: 64.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004906/1.141, allocations: 3.877 MB / 0.8267 GB, free: 61.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/1.141, allocations: 4 kB / 0.8267 GB, free: 61.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001179/1.143, allocations: 1.072 MB / 0.8277 GB, free: 60.47 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001768/1.144, allocations: 400.2 kB / 0.8281 GB, free: 60.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/1.155, allocations: 6.548 MB / 0.8345 GB, free: 54.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002825/1.158, allocations: 3.243 MB / 0.8376 GB, free: 51.82 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003971/1.162, allocations: 1.734 MB / 0.8393 GB, free: 50.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005225/1.163, allocations: 218 kB / 0.8395 GB, free: 50.55 MB / 0.5105 GB Notification: Performance of SimCode: time 1.062e-06/1.163, allocations: 0 / 0.8395 GB, free: 50.55 MB / 0.5105 GB Notification: Performance of Templates: time 0.04587/1.208, allocations: 27.01 MB / 0.8659 GB, free: 29.18 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches