Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,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.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,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.ForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009623/0.0009623, allocations: 178.3 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.347/1.347, allocations: 223.3 MB / 242.1 MB, free: 11.7 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.0007886/0.0007888, allocations: 89.8 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.3143/0.3143, allocations: 44.15 MB / 388.5 MB, free: 38.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003686, allocations: 12 kB / 461.1 MB, free: 1.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3012, allocations: 61.87 MB / 0.5107 GB, free: 38.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1272/0.4284, allocations: 111 MB / 0.6192 GB, free: 15.99 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.4287, allocations: 83.89 kB / 0.6192 GB, free: 15.92 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5503/0.9791, allocations: 136 MB / 0.752 GB, free: 87.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.897e-06/0.9791, allocations: 0 / 0.752 GB, free: 87.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005832/0.9797, allocations: 142 kB / 0.7521 GB, free: 87.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: 2487 * Number of variables: 2487 Notification: Performance of Generate backend data structure: time 0.0274/1.007, allocations: 7.057 MB / 0.759 GB, free: 82.72 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/1.007, allocations: 7.094 kB / 0.759 GB, free: 82.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0242/1.031, allocations: 5.553 MB / 0.7645 GB, free: 79.78 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01647/1.048, allocations: 6.191 MB / 0.7705 GB, free: 76.04 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007071/1.049, allocations: 0.5309 MB / 0.771 GB, free: 75.79 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004705/1.053, allocations: 0.7005 MB / 0.7717 GB, free: 75.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04202/1.095, allocations: 17.29 MB / 0.7886 GB, free: 56.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003781/1.096, allocations: 91.41 kB / 0.7887 GB, free: 56.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002416/1.098, allocations: 343.8 kB / 0.789 GB, free: 56.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002121/1.1, allocations: 1.636 MB / 0.7906 GB, free: 54.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02785/1.128, allocations: 13.92 MB / 0.8042 GB, free: 40.53 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3917/1.52, allocations: 76.54 MB / 0.8789 GB, free: 61.46 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01852/1.539, allocations: 7.795 MB / 0.8866 GB, free: 60.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005264/1.544, allocations: 4.082 MB / 0.8905 GB, free: 60.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01798/1.562, allocations: 10.05 MB / 0.9004 GB, free: 58.99 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.144e-05/1.562, allocations: 63.56 kB / 0.9004 GB, free: 58.95 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=277): time 6.553e-06/1.562, allocations: 0 / 0.9004 GB, free: 58.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=319): time 0.07746/1.64, allocations: 32.44 MB / 0.9321 GB, free: 52.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/1.64, allocations: 240.6 kB / 0.9323 GB, free: 52.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01036/1.65, allocations: 7.07 MB / 0.9392 GB, free: 50.29 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007456/1.651, allocations: 76.7 kB / 0.9393 GB, free: 50.21 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003141/1.654, allocations: 4.897 MB / 0.9441 GB, free: 46.45 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001438/1.655, allocations: 1.204 MB / 0.9453 GB, free: 45.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006147/1.656, allocations: 179.9 kB / 0.9454 GB, free: 45.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003992/1.656, allocations: 0.6879 MB / 0.9461 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004736/1.661, allocations: 3.511 MB / 0.9495 GB, free: 43.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008372/1.67, allocations: 8.804 MB / 0.9581 GB, free: 35.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01281/1.682, allocations: 13.41 MB / 0.9712 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001771/1.683, allocations: 55.38 kB / 0.9713 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.02318/1.706, allocations: 13.56 MB / 0.9845 GB, free: 17.58 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002137/1.706, allocations: 84 kB / 0.9846 GB, free: 17.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002781/1.706, allocations: 184 kB / 0.9848 GB, free: 17.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00347/1.71, allocations: 1.683 MB / 0.9864 GB, free: 16.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006845/1.717, allocations: 2.17 MB / 0.9886 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01112/1.728, allocations: 11.41 MB / 0.9997 GB, free: 4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006764/1.735, allocations: 0.4989 MB / 1 GB, free: 3.574 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001012/1.736, allocations: 0.5296 MB / 1.001 GB, free: 3.062 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 847 * Number of states: 0 () * Number of discrete variables: 83 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque2.forceArrow.color[3],forceAndTorque2.forceArrow.color[2],forceAndTorque2.forceArrow.color[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,forceAndTorque1.forceArrow.color[3],forceAndTorque1.forceArrow.color[2],forceAndTorque1.forceArrow.color[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1102): * Single equations (assignments): 1097 * 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.005442/1.741, allocations: 3.346 MB / 1.004 GB, free: 120 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0013/1.743, allocations: 0.6051 MB / 1.005 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/1.754, allocations: 6.74 MB / 1.011 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.802e-05/1.754, allocations: 36 kB / 1.011 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.63e-05/1.754, allocations: 8 kB / 1.011 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.422e-05/1.754, allocations: 15.98 kB / 1.011 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02785/1.781, allocations: 15.76 MB / 1.027 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-05/1.782, allocations: 11.38 kB / 1.027 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002985/1.785, allocations: 0.624 MB / 1.027 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003609/1.788, allocations: 1.426 MB / 1.029 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004675/1.789, allocations: 63.98 kB / 1.029 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01379/1.802, allocations: 10.62 MB / 1.039 GB, free: 15.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.802, allocations: 6.875 kB / 1.039 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0175/1.82, allocations: 11 MB / 1.05 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002301/1.822, allocations: 0.6805 MB / 1.05 GB, free: 3.344 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001397/1.824, allocations: 60 kB / 1.051 GB, free: 3.285 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002881/1.827, allocations: 204.2 kB / 1.051 GB, free: 3.086 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006005/1.827, allocations: 205.8 kB / 1.051 GB, free: 2.883 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002177/1.827, allocations: 84.84 kB / 1.051 GB, free: 2.801 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.008069/1.836, allocations: 4.526 MB / 1.055 GB, free: 14.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.7e-07/1.836, allocations: 0 / 1.055 GB, free: 14.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009558/1.845, allocations: 1.684 MB / 1.057 GB, free: 12.62 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (261): * Single equations (assignments): 256 * 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.0007954/1.846, allocations: 213.7 kB / 1.057 GB, free: 12.41 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01445/1.86, allocations: 8.706 MB / 1.066 GB, free: 3.715 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/1.861, allocations: 4 kB / 1.066 GB, free: 3.711 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.005817/1.866, allocations: 3.423 MB / 1.069 GB, free: 272 kB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009975/1.876, allocations: 0.7958 MB / 1.07 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02779/1.904, allocations: 18.78 MB / 1.088 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005847/1.91, allocations: 5.054 MB / 1.093 GB, free: 7.598 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.007343/1.917, allocations: 3.003 MB / 1.096 GB, free: 4.609 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00131/1.919, allocations: 415.4 kB / 1.096 GB, free: 4.203 MB / 0.6042 GB Notification: Performance of SimCode: time 8.42e-07/1.919, allocations: 0 / 1.096 GB, free: 4.203 MB / 0.6042 GB Notification: Performance of Templates: time 0.4326/2.351, allocations: 65.17 MB / 1.16 GB, free: 177.5 MB / 0.6042 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/ForcesAndTorques/ForcesAndTorques.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches