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.001523/0.001523, allocations: 177.9 kB / 8.743 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 221.5 MB / 230.7 MB, free: 7.52 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.0009051/0.0009052, allocations: 100.5 kB / 281.6 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1942/0.1942, allocations: 44.16 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.042e-05/3.044e-05, allocations: 224 / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1216, allocations: 61.92 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4041/0.5257, allocations: 109.6 MB / 0.6017 GB, free: 2.852 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.526, allocations: 83.58 kB / 0.6018 GB, free: 2.773 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2078/0.7338, allocations: 82.09 MB / 0.682 GB, free: 172 kB / 490.7 MB Notification: Performance of FrontEnd: time 2.995e-06/0.7339, allocations: 0 / 0.682 GB, free: 172 kB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003334/0.7343, allocations: 76 kB / 0.682 GB, free: 96 kB / 490.7 MB 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.01446/0.7487, allocations: 3.798 MB / 0.6857 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.7488, allocations: 11.98 kB / 0.6858 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01793/0.7667, allocations: 4.347 MB / 0.69 GB, free: 7.863 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01284/0.7796, allocations: 4.39 MB / 0.6943 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002596/0.7799, allocations: 136 kB / 0.6944 GB, free: 3.273 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001885/0.7818, allocations: 251.9 kB / 0.6947 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3851/1.167, allocations: 5.529 MB / 0.7001 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02813/1.195, allocations: 8.734 MB / 0.7086 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003152/1.196, allocations: 57.03 kB / 0.7086 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001515/1.197, allocations: 28.84 kB / 0.7087 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002155/1.199, allocations: 0.8555 MB / 0.7095 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05613/1.255, allocations: 41.48 MB / 0.75 GB, free: 86.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003424/1.259, allocations: 2.149 MB / 0.7521 GB, free: 85.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001833/1.261, allocations: 1.112 MB / 0.7532 GB, free: 85.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004305/1.261, allocations: 330.1 kB / 0.7535 GB, free: 84.99 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/1.261, allocations: 54.03 kB / 0.7536 GB, free: 84.95 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=122): time 4.759e-06/1.261, allocations: 2.812 kB / 0.7536 GB, free: 84.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=141): time 0.02734/1.289, allocations: 10.56 MB / 0.7639 GB, free: 80.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.317e-05/1.289, allocations: 197.7 kB / 0.7641 GB, free: 80 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004957/1.294, allocations: 2.802 MB / 0.7668 GB, free: 78.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.00034/1.294, allocations: 25.7 kB / 0.7668 GB, free: 78.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00249/1.297, allocations: 3.023 MB / 0.7698 GB, free: 76.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007845/1.297, allocations: 0.5537 MB / 0.7703 GB, free: 76.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/1.298, allocations: 0 / 0.7703 GB, free: 76.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003436/1.298, allocations: 0.5322 MB / 0.7708 GB, free: 75.94 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002821/1.301, allocations: 1.521 MB / 0.7723 GB, free: 75.43 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004525/1.305, allocations: 5.05 MB / 0.7773 GB, free: 70.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004793/1.31, allocations: 2.757 MB / 0.7799 GB, free: 69.15 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.392e-05/1.31, allocations: 40.03 kB / 0.78 GB, free: 69.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01134/1.322, allocations: 5.903 MB / 0.7858 GB, free: 67.13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.707e-05/1.322, allocations: 59.69 kB / 0.7858 GB, free: 67.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001134/1.322, allocations: 128.3 kB / 0.7859 GB, free: 67.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006863/1.323, allocations: 383.1 kB / 0.7863 GB, free: 67.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003529/1.326, allocations: 1.281 MB / 0.7875 GB, free: 66.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002819/1.329, allocations: 2.875 MB / 0.7904 GB, free: 64.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005171/1.334, allocations: 202.3 kB / 0.7905 GB, free: 64.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001279/1.335, allocations: 348.9 kB / 0.7909 GB, free: 64.92 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 579 * 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 (680): * Single equations (assignments): 676 * 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.0008187/1.336, allocations: 430.1 kB / 0.7913 GB, free: 64.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006263/1.337, allocations: 289.6 kB / 0.7916 GB, free: 64.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002476/1.339, allocations: 1.574 MB / 0.7931 GB, free: 63.85 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.287e-05/1.339, allocations: 21.78 kB / 0.7931 GB, free: 63.85 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/1.339, allocations: 7.578 kB / 0.7931 GB, free: 63.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/1.339, allocations: 11.41 kB / 0.7931 GB, free: 63.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007718/1.347, allocations: 4.837 MB / 0.7979 GB, free: 62.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/1.347, allocations: 0 / 0.7979 GB, free: 62.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/1.348, allocations: 232.8 kB / 0.7981 GB, free: 62.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004674/1.349, allocations: 181.9 kB / 0.7983 GB, free: 61.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-05/1.349, allocations: 10.86 kB / 0.7983 GB, free: 61.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002122/1.351, allocations: 2.449 MB / 0.8007 GB, free: 60.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/1.351, allocations: 7.625 kB / 0.8007 GB, free: 60.19 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00385/1.355, allocations: 3.572 MB / 0.8042 GB, free: 58.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006832/1.356, allocations: 330.7 kB / 0.8045 GB, free: 58.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002768/1.356, allocations: 7.922 kB / 0.8045 GB, free: 58.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/1.357, allocations: 64.22 kB / 0.8045 GB, free: 58.33 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/1.357, allocations: 98.78 kB / 0.8046 GB, free: 58.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-05/1.357, allocations: 39.06 kB / 0.8047 GB, free: 58.31 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002514/1.36, allocations: 1.866 MB / 0.8065 GB, free: 57.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/1.36, allocations: 0 / 0.8065 GB, free: 57.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004259/1.364, allocations: 0.7361 MB / 0.8072 GB, free: 56.48 MB / 0.4948 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 (108): * Single equations (assignments): 104 * 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.000377/1.364, allocations: 135.8 kB / 0.8073 GB, free: 56.34 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005149/1.369, allocations: 3.682 MB / 0.8109 GB, free: 53.05 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.369, allocations: 4.375 kB / 0.8109 GB, free: 53.05 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/1.371, allocations: 1.039 MB / 0.812 GB, free: 52.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/1.372, allocations: 318.8 kB / 0.8123 GB, free: 51.85 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/1.385, allocations: 6.514 MB / 0.8186 GB, free: 46.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003271/1.388, allocations: 3.247 MB / 0.8218 GB, free: 43.56 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004113/1.393, allocations: 1.77 MB / 0.8235 GB, free: 42.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005506/1.393, allocations: 205.5 kB / 0.8237 GB, free: 42.28 MB / 0.4948 GB Notification: Performance of SimCode: time 1.492e-06/1.393, allocations: 0 / 0.8237 GB, free: 42.28 MB / 0.4948 GB Notification: Performance of Templates: time 0.04487/1.438, allocations: 23.79 MB / 0.8469 GB, free: 23.86 MB / 0.4948 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