Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00122/0.001219, allocations: 195.3 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009631/0.0009632, allocations: 91.98 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1934/0.1934, allocations: 45.15 MB / 383.8 MB, free: 240 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.817e-05/1.819e-05, allocations: 4 kB / 453.2 MB, free: 75.79 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1151, allocations: 63.24 MB / 0.5044 GB, free: 12.6 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4118/0.527, allocations: 110.5 MB / 0.6123 GB, free: 8.27 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/0.5272, allocations: 81.83 kB / 0.6124 GB, free: 8.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2121/0.7394, allocations: 82.73 MB / 0.6932 GB, free: 13.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.7394, allocations: 3.938 kB / 0.6932 GB, free: 13.65 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002322/0.7397, allocations: 75.98 kB / 0.6932 GB, free: 13.58 MB / 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.01148/0.7512, allocations: 3.818 MB / 0.697 GB, free: 9.699 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.7512, allocations: 12.03 kB / 0.697 GB, free: 9.688 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01783/0.7691, allocations: 4.417 MB / 0.7013 GB, free: 5.258 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01197/0.7811, allocations: 3.879 MB / 0.7051 GB, free: 1.312 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003205/0.7814, allocations: 132 kB / 0.7052 GB, free: 1.184 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002084/0.7835, allocations: 247.9 kB / 0.7054 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01091/0.7945, allocations: 5.529 MB / 0.7108 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01867/0.8132, allocations: 8.742 MB / 0.7194 GB, free: 1.691 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002353/0.8134, allocations: 59.45 kB / 0.7194 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001419/0.8149, allocations: 32 kB / 0.7195 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001302/0.8162, allocations: 0.8539 MB / 0.7203 GB, free: 0.7422 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3561/1.172, allocations: 41.47 MB / 0.7608 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002865/1.175, allocations: 2.14 MB / 0.7629 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/1.177, allocations: 1.119 MB / 0.764 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003155/1.177, allocations: 326.6 kB / 0.7643 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/1.177, allocations: 48.81 kB / 0.7643 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=122): time 3.667e-06/1.177, allocations: 0 / 0.7643 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=141): time 0.02064/1.198, allocations: 10.56 MB / 0.7747 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/1.198, allocations: 196.4 kB / 0.7748 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005536/1.203, allocations: 2.811 MB / 0.7776 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003185/1.204, allocations: 28.8 kB / 0.7776 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001979/1.206, allocations: 3.021 MB / 0.7806 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005738/1.206, allocations: 0.5453 MB / 0.7811 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/1.207, allocations: 0 / 0.7811 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002213/1.207, allocations: 0.5396 MB / 0.7816 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/1.209, allocations: 1.517 MB / 0.7831 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003283/1.212, allocations: 5.051 MB / 0.788 GB, free: 101 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003607/1.216, allocations: 2.752 MB / 0.7907 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00011/1.216, allocations: 38.86 kB / 0.7908 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01045/1.226, allocations: 5.909 MB / 0.7965 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.842e-05/1.226, allocations: 57.28 kB / 0.7966 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001188/1.226, allocations: 129.9 kB / 0.7967 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006996/1.227, allocations: 378 kB / 0.7971 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00363/1.231, allocations: 1.283 MB / 0.7983 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002611/1.233, allocations: 2.887 MB / 0.8011 GB, free: 99.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004016/1.237, allocations: 196.2 kB / 0.8013 GB, free: 99.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000693/1.238, allocations: 356 kB / 0.8017 GB, free: 99.07 MB / 0.5261 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.000689/1.239, allocations: 423.8 kB / 0.8021 GB, free: 98.77 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004701/1.239, allocations: 287.5 kB / 0.8023 GB, free: 98.61 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/1.242, allocations: 1.585 MB / 0.8039 GB, free: 98.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.65e-05/1.242, allocations: 18.25 kB / 0.8039 GB, free: 98.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/1.242, allocations: 3.062 kB / 0.8039 GB, free: 98.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/1.242, allocations: 7.688 kB / 0.8039 GB, free: 98.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008514/1.25, allocations: 4.844 MB / 0.8087 GB, free: 96.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/1.25, allocations: 0 / 0.8087 GB, free: 96.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/1.251, allocations: 234.3 kB / 0.8089 GB, free: 96.78 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004785/1.252, allocations: 174.3 kB / 0.809 GB, free: 96.73 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/1.252, allocations: 14.03 kB / 0.8091 GB, free: 96.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/1.254, allocations: 2.456 MB / 0.8115 GB, free: 94.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.254, allocations: 0 / 0.8115 GB, free: 94.95 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00399/1.258, allocations: 3.579 MB / 0.815 GB, free: 93.37 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007246/1.259, allocations: 321.5 kB / 0.8153 GB, free: 93.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003048/1.259, allocations: 7.594 kB / 0.8153 GB, free: 93.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/1.26, allocations: 59.39 kB / 0.8153 GB, free: 93.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/1.261, allocations: 110.2 kB / 0.8154 GB, free: 93.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.648e-05/1.261, allocations: 36.11 kB / 0.8155 GB, free: 93.09 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002545/1.263, allocations: 1.863 MB / 0.8173 GB, free: 92.39 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.41e-07/1.263, allocations: 0 / 0.8173 GB, free: 92.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005786/1.269, allocations: 0.7426 MB / 0.818 GB, free: 92.39 MB / 0.5261 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.0003974/1.269, allocations: 141.6 kB / 0.8181 GB, free: 92.28 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005352/1.275, allocations: 3.684 MB / 0.8217 GB, free: 91.02 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/1.275, allocations: 0 / 0.8217 GB, free: 91.02 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001145/1.276, allocations: 1.038 MB / 0.8228 GB, free: 90.59 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/1.278, allocations: 325.8 kB / 0.8231 GB, free: 90.46 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/1.291, allocations: 6.525 MB / 0.8294 GB, free: 88.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003072/1.294, allocations: 3.238 MB / 0.8326 GB, free: 86.89 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004332/1.298, allocations: 1.769 MB / 0.8343 GB, free: 86.77 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000614/1.299, allocations: 208.7 kB / 0.8345 GB, free: 86.75 MB / 0.5261 GB Notification: Performance of SimCode: time 6.51e-07/1.299, allocations: 0 / 0.8345 GB, free: 86.75 MB / 0.5261 GB Notification: Performance of Templates: time 0.04118/1.34, allocations: 23.78 MB / 0.8577 GB, free: 74.04 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches