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.001326/0.001327, allocations: 176.9 kB / 17.06 MB, free: 5.098 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.295/1.295, allocations: 223.2 MB / 241 MB, free: 11.88 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.0008764/0.000876, allocations: 98.25 kB / 292.2 MB, free: 10.91 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.3481/0.3481, allocations: 44.22 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003151/0.000315, allocations: 12 kB / 459.9 MB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3279, allocations: 61.89 MB / 0.5096 GB, free: 38.09 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/0.4692, allocations: 109.6 MB / 0.6166 GB, free: 1.469 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.4694, allocations: 83.95 kB / 0.6167 GB, free: 1.387 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5835/1.053, allocations: 127.5 MB / 0.7412 GB, free: 90.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.835e-06/1.053, allocations: 3.938 kB / 0.7412 GB, free: 90.49 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005131/1.054, allocations: 125.8 kB / 0.7413 GB, free: 90.49 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.02565/1.079, allocations: 6.777 MB / 0.748 GB, free: 87.14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.079, allocations: 7.031 kB / 0.748 GB, free: 87.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02709/1.106, allocations: 7.051 MB / 0.7549 GB, free: 84.99 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02083/1.127, allocations: 6.986 MB / 0.7617 GB, free: 81.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005222/1.128, allocations: 478.6 kB / 0.7621 GB, free: 80.79 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00354/1.131, allocations: 0.6221 MB / 0.7627 GB, free: 80.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0387/1.17, allocations: 15.71 MB / 0.7781 GB, free: 66.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004874/1.171, allocations: 87.19 kB / 0.7782 GB, free: 66.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003105/1.174, allocations: 299.9 kB / 0.7784 GB, free: 65.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001765/1.175, allocations: 1.42 MB / 0.7798 GB, free: 64.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02517/1.201, allocations: 12.93 MB / 0.7925 GB, free: 51.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07266/1.273, allocations: 66.93 MB / 0.8578 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01611/1.29, allocations: 6.376 MB / 0.864 GB, free: 8.074 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01639/1.306, allocations: 7.974 MB / 0.8718 GB, free: 0 / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2564/1.562, allocations: 58.09 kB / 0.8719 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=227): time 7.634e-06/1.562, allocations: 0 / 0.8719 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=269): time 0.07397/1.636, allocations: 28.82 MB / 0.9 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/1.637, allocations: 236.8 kB / 0.9003 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009555/1.646, allocations: 5.682 MB / 0.9058 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005905/1.647, allocations: 67.67 kB / 0.9059 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002998/1.65, allocations: 4.433 MB / 0.9102 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001269/1.651, allocations: 1.03 MB / 0.9112 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000399/1.651, allocations: 156.9 kB / 0.9114 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003686/1.652, allocations: 0.6432 MB / 0.912 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004533/1.656, allocations: 3.119 MB / 0.915 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006161/1.662, allocations: 7.815 MB / 0.9227 GB, free: 96.99 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006758/1.669, allocations: 4.83 MB / 0.9274 GB, free: 95.37 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.853e-05/1.669, allocations: 46.62 kB / 0.9274 GB, free: 95.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1032) (initialization): time 0.02146/1.691, allocations: 12.21 MB / 0.9393 GB, free: 91.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002001/1.691, allocations: 81.23 kB / 0.9394 GB, free: 91.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002936/1.691, allocations: 165.2 kB / 0.9396 GB, free: 91.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003925/1.695, allocations: 1.681 MB / 0.9412 GB, free: 90.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006312/1.702, allocations: 1.856 MB / 0.943 GB, free: 90.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01293/1.715, allocations: 11.69 MB / 0.9545 GB, free: 84.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008393/1.723, allocations: 466 kB / 0.9549 GB, free: 84.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002208/1.725, allocations: 482.6 kB / 0.9554 GB, free: 84.23 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.008924/1.734, allocations: 3.001 MB / 0.9583 GB, free: 82.85 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002185/1.736, allocations: 0.5419 MB / 0.9588 GB, free: 82.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/1.747, allocations: 6.077 MB / 0.9648 GB, free: 78.62 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.13e-05/1.747, allocations: 30.77 kB / 0.9648 GB, free: 78.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.679e-05/1.748, allocations: 8 kB / 0.9648 GB, free: 78.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.194e-05/1.748, allocations: 14.73 kB / 0.9648 GB, free: 78.58 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02816/1.776, allocations: 13.65 MB / 0.9781 GB, free: 67.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.682e-05/1.776, allocations: 4 kB / 0.9781 GB, free: 67.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002398/1.778, allocations: 493.3 kB / 0.9786 GB, free: 67.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00336/1.782, allocations: 1.416 MB / 0.98 GB, free: 66.25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004156/1.782, allocations: 51.95 kB / 0.98 GB, free: 66.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01186/1.794, allocations: 10.93 MB / 0.9907 GB, free: 56.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.794, allocations: 0 / 0.9907 GB, free: 56.48 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01396/1.808, allocations: 10.39 MB / 1.001 GB, free: 47.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002489/1.81, allocations: 0.6151 MB / 1.001 GB, free: 46.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002106/1.813, allocations: 44 kB / 1.001 GB, free: 46.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003411/1.816, allocations: 185.1 kB / 1.002 GB, free: 46.54 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006982/1.817, allocations: 163.7 kB / 1.002 GB, free: 46.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003601/1.817, allocations: 75.11 kB / 1.002 GB, free: 46.37 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008327/1.825, allocations: 4.08 MB / 1.006 GB, free: 43.02 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.71e-07/1.825, allocations: 0 / 1.006 GB, free: 43.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009225/1.835, allocations: 1.502 MB / 1.007 GB, free: 41.53 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.0007788/1.835, allocations: 196.4 kB / 1.008 GB, free: 41.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01102/1.846, allocations: 7.776 MB / 1.015 GB, free: 34.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/1.846, allocations: 4 kB / 1.015 GB, free: 34.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004936/1.851, allocations: 3.093 MB / 1.018 GB, free: 31.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004864/1.856, allocations: 0.7091 MB / 1.019 GB, free: 30.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02907/1.885, allocations: 16.77 MB / 1.035 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007199/1.893, allocations: 4.743 MB / 1.04 GB, free: 8.91 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00773/1.9, allocations: 2.643 MB / 1.042 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001888/1.902, allocations: 363.4 kB / 1.043 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of SimCode: time 9.42e-07/1.902, allocations: 0 / 1.043 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of Templates: time 0.3965/2.299, allocations: 59.11 MB / 1.101 GB, free: 124.9 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/jenkins/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