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.00158/0.00158, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 221.5 MB / 230.7 MB, free: 7.586 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.0008619/0.0008618, allocations: 90.06 kB / 281.6 MB, free: 5.336 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.2527/0.2527, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.393e-05/1.394e-05, allocations: 4.219 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1187, allocations: 61.92 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3735/0.4923, allocations: 110.2 MB / 0.6023 GB, free: 2.332 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.4926, allocations: 71.97 kB / 0.6023 GB, free: 2.262 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5803/1.073, allocations: 134.7 MB / 0.7339 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.342e-06/1.073, allocations: 0 / 0.7339 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003622/1.073, allocations: 140.4 kB / 0.734 GB, free: 105.2 MB / 0.4948 GB 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.01899/1.092, allocations: 6.878 MB / 0.7407 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/1.092, allocations: 11.05 kB / 0.7408 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02816/1.121, allocations: 7.195 MB / 0.7478 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01765/1.138, allocations: 7.289 MB / 0.7549 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004464/1.139, allocations: 235.8 kB / 0.7551 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003362/1.142, allocations: 426.2 kB / 0.7555 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01787/1.16, allocations: 9.873 MB / 0.7652 GB, free: 98.35 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03296/1.193, allocations: 15.03 MB / 0.7799 GB, free: 90.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007735/1.194, allocations: 92.95 kB / 0.7799 GB, free: 90.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004059/1.198, allocations: 43.34 kB / 0.78 GB, free: 90.45 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002566/1.201, allocations: 1.632 MB / 0.7816 GB, free: 90.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07904/1.28, allocations: 73.19 MB / 0.853 GB, free: 19.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006089/1.286, allocations: 5.997 MB / 0.8589 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003936/1.29, allocations: 3.794 MB / 0.8626 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000858/1.291, allocations: 0.7185 MB / 0.8633 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/1.291, allocations: 69.14 kB / 0.8634 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=268): time 5.761e-06/1.291, allocations: 0 / 0.8634 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of matching and sorting (n=312): time 0.06829/1.359, allocations: 29.66 MB / 0.8923 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001544/1.359, allocations: 248.2 kB / 0.8926 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01087/1.37, allocations: 4.735 MB / 0.8972 GB, free: 5.645 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008848/1.371, allocations: 29.7 kB / 0.8972 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004761/1.376, allocations: 5 MB / 0.9021 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.3245/1.7, allocations: 1.142 MB / 0.9032 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001323/1.702, allocations: 0 / 0.9032 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0007852/1.702, allocations: 0.7002 MB / 0.9039 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006064/1.709, allocations: 3.337 MB / 0.9072 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01028/1.719, allocations: 8.693 MB / 0.9157 GB, free: 117 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01058/1.729, allocations: 5.321 MB / 0.9209 GB, free: 117 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004492/1.73, allocations: 54.47 kB / 0.9209 GB, free: 117 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1206) (initialization): time 0.02995/1.76, allocations: 12.33 MB / 0.9329 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002067/1.76, allocations: 86.81 kB / 0.933 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003088/1.76, allocations: 192.8 kB / 0.9332 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004125/1.765, allocations: 1.72 MB / 0.9349 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008213/1.773, allocations: 2.229 MB / 0.9371 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/1.786, allocations: 10.78 MB / 0.9476 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008197/1.794, allocations: 352.4 kB / 0.9479 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00251/1.796, allocations: 0.5522 MB / 0.9485 GB, free: 111.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1134): * Single equations (assignments): 1129 * 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%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002352/1.799, allocations: 0.5975 MB / 0.9491 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001084/1.8, allocations: 0.5073 MB / 0.9496 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01061/1.811, allocations: 6.274 MB / 0.9557 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.399e-05/1.811, allocations: 33.98 kB / 0.9557 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.278e-05/1.811, allocations: 9.156 kB / 0.9557 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.914e-05/1.811, allocations: 17.8 kB / 0.9557 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02495/1.836, allocations: 13.93 MB / 0.9693 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.065e-05/1.836, allocations: 6.875 kB / 0.9694 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002883/1.839, allocations: 0.587 MB / 0.9699 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003289/1.842, allocations: 1.406 MB / 0.9713 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005875/1.843, allocations: 7.375 kB / 0.9713 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01066/1.853, allocations: 9.905 MB / 0.981 GB, free: 98.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/1.853, allocations: 7.5 kB / 0.981 GB, free: 98.51 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01487/1.868, allocations: 10.77 MB / 0.9915 GB, free: 93.92 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001576/1.87, allocations: 0.53 MB / 0.992 GB, free: 93.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001149/1.871, allocations: 6.984 kB / 0.992 GB, free: 93.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002773/1.874, allocations: 158.2 kB / 0.9922 GB, free: 93.53 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006092/1.874, allocations: 188.2 kB / 0.9924 GB, free: 93.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002516/1.875, allocations: 79.25 kB / 0.9924 GB, free: 93.47 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005478/1.88, allocations: 3.18 MB / 0.9955 GB, free: 92.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.41e-07/1.88, allocations: 0 / 0.9955 GB, free: 92.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009995/1.89, allocations: 1.437 MB / 0.9969 GB, free: 90.77 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 249 * 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.0008849/1.891, allocations: 156.8 kB / 0.9971 GB, free: 90.63 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01284/1.904, allocations: 8.43 MB / 1.005 GB, free: 83.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.475e-06/1.904, allocations: 0 / 1.005 GB, free: 83.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004592/1.909, allocations: 3.217 MB / 1.008 GB, free: 80.19 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00404/1.913, allocations: 0.5785 MB / 1.009 GB, free: 79.71 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02261/1.935, allocations: 13.14 MB / 1.022 GB, free: 67.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005918/1.941, allocations: 5.215 MB / 1.027 GB, free: 64.15 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008851/1.95, allocations: 2.984 MB / 1.03 GB, free: 62.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001726/1.952, allocations: 365.4 kB / 1.03 GB, free: 61.91 MB / 0.5261 GB Notification: Performance of SimCode: time 1.112e-06/1.952, allocations: 0 / 1.03 GB, free: 61.91 MB / 0.5261 GB Notification: Performance of Templates: time 0.08844/2.04, allocations: 53.21 MB / 1.082 GB, free: 14.09 MB / 0.5261 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/jenkins/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