Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009808/0.0009809, allocations: 179.8 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.244/1.244, allocations: 221.3 MB / 236 MB, free: 2.977 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.0009049/0.0009051, allocations: 87.84 kB / 287 MB, free: 256 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.1751/0.1751, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.574e-05/2.577e-05, allocations: 4.219 kB / 451.8 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1115, allocations: 61.92 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3842/0.4958, allocations: 107.4 MB / 0.6066 GB, free: 13.89 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.496, allocations: 79.73 kB / 0.6067 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5508/1.047, allocations: 120.1 MB / 0.724 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.463e-06/1.047, allocations: 0 / 0.724 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002851/1.047, allocations: 116.4 kB / 0.7241 GB, free: 110.4 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2101 * Number of variables: 2101 Notification: Performance of Generate backend data structure: time 0.01898/1.066, allocations: 5.88 MB / 0.7298 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.066, allocations: 9.625 kB / 0.7298 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02724/1.094, allocations: 6.972 MB / 0.7366 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01827/1.112, allocations: 6.655 MB / 0.7431 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004536/1.112, allocations: 454.6 kB / 0.7436 GB, free: 107 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002867/1.115, allocations: 0.5914 MB / 0.7441 GB, free: 107 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03054/1.146, allocations: 14.93 MB / 0.7587 GB, free: 104 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002684/1.146, allocations: 73.78 kB / 0.7588 GB, free: 104 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001362/1.147, allocations: 280.9 kB / 0.7591 GB, free: 104 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001445/1.149, allocations: 1.376 MB / 0.7604 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02478/1.174, allocations: 12.5 MB / 0.7726 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06173/1.235, allocations: 60.82 MB / 0.832 GB, free: 59.28 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01444/1.25, allocations: 6.104 MB / 0.838 GB, free: 54.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003551/1.254, allocations: 3.563 MB / 0.8415 GB, free: 50.94 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01606/1.27, allocations: 12.87 MB / 0.854 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/1.27, allocations: 52.56 kB / 0.8541 GB, free: 39.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=228): time 5.05e-06/1.27, allocations: 0 / 0.8541 GB, free: 39.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=270): time 0.05448/1.324, allocations: 23.1 MB / 0.8766 GB, free: 20.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.247e-05/1.324, allocations: 213.9 kB / 0.8768 GB, free: 20.01 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005892/1.33, allocations: 4.404 MB / 0.8811 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006422/1.331, allocations: 65.7 kB / 0.8812 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001819/1.333, allocations: 4.038 MB / 0.8851 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001048/1.334, allocations: 1.013 MB / 0.8861 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003413/1.334, allocations: 144 kB / 0.8863 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002596/1.334, allocations: 0.6078 MB / 0.8869 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003578/1.338, allocations: 2.95 MB / 0.8897 GB, free: 6.793 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00626/1.344, allocations: 7.063 MB / 0.8966 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008019/1.352, allocations: 4.522 MB / 0.9011 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001045/1.352, allocations: 44 kB / 0.9011 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of matching and sorting (n=939) (initialization): time 0.2699/1.622, allocations: 11.32 MB / 0.9122 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.677e-05/1.622, allocations: 68.48 kB / 0.9122 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001798/1.623, allocations: 145.8 kB / 0.9124 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004003/1.627, allocations: 1.647 MB / 0.914 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005643/1.632, allocations: 1.664 MB / 0.9156 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/1.646, allocations: 11.32 MB / 0.9266 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005852/1.652, allocations: 431.2 kB / 0.9271 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001213/1.653, allocations: 436.2 kB / 0.9275 GB, free: 105.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 59 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (867): * Single equations (assignments): 862 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001061/1.654, allocations: 0.6602 MB / 0.9281 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/1.655, allocations: 462.6 kB / 0.9286 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00964/1.665, allocations: 6.021 MB / 0.9344 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.444e-05/1.665, allocations: 35.73 kB / 0.9345 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/1.665, allocations: 11.28 kB / 0.9345 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.111e-05/1.665, allocations: 14.67 kB / 0.9345 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02075/1.685, allocations: 13.45 MB / 0.9476 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.722e-05/1.685, allocations: 0 / 0.9476 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002052/1.688, allocations: 450.7 kB / 0.9481 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003158/1.691, allocations: 1.41 MB / 0.9494 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002992/1.691, allocations: 49.41 kB / 0.9495 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.011/1.702, allocations: 10.59 MB / 0.9598 GB, free: 99.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.702, allocations: 3.562 kB / 0.9598 GB, free: 99.79 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01189/1.714, allocations: 9.791 MB / 0.9694 GB, free: 96.19 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/1.715, allocations: 0.4982 MB / 0.9699 GB, free: 95.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005393/1.716, allocations: 44.14 kB / 0.9699 GB, free: 95.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001938/1.718, allocations: 205.4 kB / 0.9701 GB, free: 95.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003952/1.718, allocations: 156.9 kB / 0.9703 GB, free: 95.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000185/1.718, allocations: 66.97 kB / 0.9703 GB, free: 95.87 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004074/1.722, allocations: 3.08 MB / 0.9733 GB, free: 94.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.51e-07/1.722, allocations: 0 / 0.9733 GB, free: 94.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006705/1.729, allocations: 1.425 MB / 0.9747 GB, free: 94.65 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 207 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005871/1.73, allocations: 192.2 kB / 0.9749 GB, free: 94.53 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009471/1.739, allocations: 7.424 MB / 0.9822 GB, free: 92.15 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/1.739, allocations: 0 / 0.9822 GB, free: 92.15 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004261/1.744, allocations: 3.122 MB / 0.9852 GB, free: 90.93 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002876/1.746, allocations: 0.6129 MB / 0.9858 GB, free: 90.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01876/1.765, allocations: 11.37 MB / 0.9969 GB, free: 86.72 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004372/1.77, allocations: 4.486 MB / 1.001 GB, free: 85.18 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005222/1.775, allocations: 2.336 MB / 1.004 GB, free: 84.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/1.776, allocations: 322 kB / 1.004 GB, free: 84 MB / 0.5261 GB Notification: Performance of SimCode: time 8.62e-07/1.776, allocations: 0 / 1.004 GB, free: 84 MB / 0.5261 GB Notification: Performance of Templates: time 0.07943/1.855, allocations: 54.09 MB / 1.057 GB, free: 41.11 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches