Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,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.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009584/0.0009584, allocations: 178.5 kB / 18.09 MB, free: 3.746 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.351/1.351, allocations: 223.3 MB / 242.1 MB, free: 11.69 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008194/0.0008194, allocations: 100.2 kB / 293.3 MB, free: 10.77 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.3461/0.3461, allocations: 44.15 MB / 388.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004077/0.0004078, allocations: 16 kB / 461.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3437, allocations: 61.87 MB / 0.5107 GB, free: 38.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1288/0.4726, allocations: 109.8 MB / 0.6179 GB, free: 1.285 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.4729, allocations: 87.94 kB / 0.618 GB, free: 1.203 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5505/1.023, allocations: 125.7 MB / 0.7407 GB, free: 90.72 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.236e-06/1.023, allocations: 0 / 0.7407 GB, free: 90.72 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004344/1.024, allocations: 123.8 kB / 0.7408 GB, free: 90.71 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.02088/1.045, allocations: 6.461 MB / 0.7471 GB, free: 87.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/1.045, allocations: 10.72 kB / 0.7471 GB, free: 87.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02097/1.066, allocations: 5.404 MB / 0.7524 GB, free: 86.56 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01372/1.08, allocations: 5.83 MB / 0.7581 GB, free: 83.08 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005107/1.08, allocations: 481.1 kB / 0.7586 GB, free: 82.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00296/1.083, allocations: 0.6212 MB / 0.7592 GB, free: 82.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03299/1.116, allocations: 15.59 MB / 0.7744 GB, free: 71.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004159/1.117, allocations: 83.42 kB / 0.7745 GB, free: 71.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002263/1.119, allocations: 307.7 kB / 0.7748 GB, free: 70.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001759/1.121, allocations: 1.416 MB / 0.7762 GB, free: 69.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02495/1.146, allocations: 12.76 MB / 0.7886 GB, free: 56.51 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06351/1.209, allocations: 66.85 MB / 0.8539 GB, free: 3.652 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0152/1.224, allocations: 6.234 MB / 0.86 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005138/1.23, allocations: 3.384 MB / 0.8633 GB, free: 9.855 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01457/1.244, allocations: 7.935 MB / 0.8711 GB, free: 1.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.692e-05/1.244, allocations: 56.22 kB / 0.8711 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=227): time 5.581e-06/1.244, allocations: 0 / 0.8711 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of matching and sorting (n=269): time 0.3978/1.642, allocations: 28.03 MB / 0.8985 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.113e-05/1.642, allocations: 241.5 kB / 0.8987 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01188/1.654, allocations: 6.372 MB / 0.9049 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007804/1.655, allocations: 65.52 kB / 0.905 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003992/1.659, allocations: 4.431 MB / 0.9093 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00167/1.661, allocations: 1.028 MB / 0.9103 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006995/1.661, allocations: 157.7 kB / 0.9105 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004297/1.662, allocations: 0.6417 MB / 0.9111 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005739/1.668, allocations: 3.125 MB / 0.9142 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009284/1.677, allocations: 7.843 MB / 0.9218 GB, free: 97.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01354/1.69, allocations: 11.92 MB / 0.9335 GB, free: 88.49 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002172/1.691, allocations: 45.12 kB / 0.9335 GB, free: 88.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1032) (initialization): time 0.02649/1.717, allocations: 12.2 MB / 0.9454 GB, free: 83.97 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000249/1.718, allocations: 78.47 kB / 0.9455 GB, free: 83.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003869/1.718, allocations: 163.6 kB / 0.9457 GB, free: 83.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00411/1.722, allocations: 1.66 MB / 0.9473 GB, free: 83.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006455/1.729, allocations: 1.855 MB / 0.9491 GB, free: 83.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01255/1.741, allocations: 11.4 MB / 0.9602 GB, free: 77.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008117/1.749, allocations: 469.5 kB / 0.9607 GB, free: 77.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00189/1.751, allocations: 485 kB / 0.9611 GB, free: 77.12 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 755 * Number of states: 0 () * Number of discrete variables: 65 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (960): * Single equations (assignments): 955 * 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.008021/1.759, allocations: 3 MB / 0.9641 GB, free: 75.74 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001778/1.761, allocations: 0.5522 MB / 0.9646 GB, free: 75.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/1.772, allocations: 6.066 MB / 0.9705 GB, free: 71.65 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.28e-05/1.772, allocations: 30.67 kB / 0.9705 GB, free: 71.62 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.284e-05/1.772, allocations: 8 kB / 0.9706 GB, free: 71.61 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.307e-05/1.772, allocations: 14.08 kB / 0.9706 GB, free: 71.61 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02578/1.798, allocations: 13.66 MB / 0.9839 GB, free: 60.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.341e-05/1.798, allocations: 4 kB / 0.9839 GB, free: 60.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002441/1.8, allocations: 492.1 kB / 0.9844 GB, free: 60.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003454/1.804, allocations: 1.422 MB / 0.9858 GB, free: 59.25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004233/1.804, allocations: 47.23 kB / 0.9858 GB, free: 59.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01121/1.816, allocations: 10.62 MB / 0.9962 GB, free: 49.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.816, allocations: 7.938 kB / 0.9962 GB, free: 49.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01344/1.829, allocations: 9.841 MB / 1.006 GB, free: 41.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001962/1.831, allocations: 0.6157 MB / 1.006 GB, free: 40.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001676/1.833, allocations: 44 kB / 1.006 GB, free: 40.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003066/1.836, allocations: 179.5 kB / 1.007 GB, free: 40.44 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004905/1.836, allocations: 172.8 kB / 1.007 GB, free: 40.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002012/1.837, allocations: 64 kB / 1.007 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007156/1.844, allocations: 4.084 MB / 1.011 GB, free: 36.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.51e-07/1.844, allocations: 0 / 1.011 GB, free: 36.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007668/1.851, allocations: 1.497 MB / 1.012 GB, free: 35.42 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (211): * Single equations (assignments): 206 * 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.0005745/1.852, allocations: 207.7 kB / 1.012 GB, free: 35.22 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009883/1.862, allocations: 7.767 MB / 1.02 GB, free: 28.24 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.862, allocations: 0 / 1.02 GB, free: 28.24 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004149/1.866, allocations: 3.109 MB / 1.023 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007562/1.874, allocations: 0.7361 MB / 1.024 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0256/1.899, allocations: 16.82 MB / 1.04 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006431/1.906, allocations: 4.613 MB / 1.045 GB, free: 2.957 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006521/1.912, allocations: 2.637 MB / 1.047 GB, free: 348 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001358/1.914, allocations: 367.4 kB / 1.048 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of SimCode: time 6.42e-07/1.914, allocations: 3.938 kB / 1.048 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of Templates: time 0.3899/2.304, allocations: 59.29 MB / 1.106 GB, free: 129.3 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches