Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") translateModel(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001664/0.001663, allocations: 181.1 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.813/1.813, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000924/0.0009238, allocations: 90.61 kB / 261.8 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2009/0.2009, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.259e-05/1.262e-05, allocations: 0 / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1228, allocations: 58.86 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4188/0.5417, allocations: 107 MB / 0.5704 GB, free: 4.793 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.542, allocations: 77.28 kB / 0.5705 GB, free: 4.758 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7558/1.298, allocations: 175.5 MB / 0.7419 GB, free: 89.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.116e-06/1.298, allocations: 3.438 kB / 0.7419 GB, free: 89.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006039/1.299, allocations: 179 kB / 0.742 GB, free: 89.71 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: 3271 * Number of variables: 3271 Notification: Performance of Generate backend data structure: time 0.03141/1.33, allocations: 8.793 MB / 0.7506 GB, free: 86.37 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.33, allocations: 11.95 kB / 0.7506 GB, free: 86.37 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03812/1.368, allocations: 9.871 MB / 0.7603 GB, free: 85.75 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02623/1.394, allocations: 9.854 MB / 0.7699 GB, free: 84.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005674/1.395, allocations: 300.3 kB / 0.7702 GB, free: 84.68 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004873/1.4, allocations: 0.5408 MB / 0.7707 GB, free: 84.68 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02263/1.423, allocations: 12.92 MB / 0.7833 GB, free: 84.63 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04241/1.465, allocations: 19.21 MB / 0.8021 GB, free: 76.55 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005875/1.466, allocations: 115.7 kB / 0.8022 GB, free: 76.53 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003625/1.469, allocations: 51.59 kB / 0.8023 GB, free: 76.53 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003019/1.472, allocations: 2.085 MB / 0.8043 GB, free: 76.17 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1004/1.573, allocations: 87.51 MB / 0.8898 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01166/1.584, allocations: 7.804 MB / 0.8974 GB, free: 6.703 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008261/1.593, allocations: 5.487 MB / 0.9027 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003554/1.593, allocations: 92.06 kB / 0.9028 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.019e-05/1.593, allocations: 77.88 kB / 0.9029 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=412): time 7.184e-06/1.593, allocations: 4 kB / 0.9029 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of matching and sorting (n=477): time 0.4329/2.026, allocations: 41.28 MB / 0.9432 GB, free: 92.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.777e-05/2.026, allocations: 286.8 kB / 0.9435 GB, free: 92.04 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01058/2.037, allocations: 5.524 MB / 0.9489 GB, free: 91.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001417/2.038, allocations: 28.86 kB / 0.9489 GB, free: 91.49 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004435/2.043, allocations: 6.221 MB / 0.955 GB, free: 88.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00287/2.046, allocations: 1.702 MB / 0.9566 GB, free: 87.28 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001066/2.047, allocations: 0 / 0.9566 GB, free: 87.28 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005686/2.047, allocations: 0.7947 MB / 0.9574 GB, free: 86.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006109/2.053, allocations: 4.798 MB / 0.9621 GB, free: 86.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008891/2.062, allocations: 11.11 MB / 0.973 GB, free: 78.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00977/2.072, allocations: 7.202 MB / 0.98 GB, free: 75.87 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001663/2.072, allocations: 63.41 kB / 0.98 GB, free: 75.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1514) (initialization): time 0.02787/2.1, allocations: 16.85 MB / 0.9965 GB, free: 71.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/2.1, allocations: 101.1 kB / 0.9966 GB, free: 71.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001809/2.101, allocations: 220.8 kB / 0.9968 GB, free: 71.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005704/2.106, allocations: 2.493 MB / 0.9992 GB, free: 70.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01058/2.117, allocations: 2.782 MB / 1.002 GB, free: 70.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01703/2.134, allocations: 15.92 MB / 1.018 GB, free: 60.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009506/2.143, allocations: 474.9 kB / 1.018 GB, free: 60.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002592/2.146, allocations: 0.6749 MB / 1.019 GB, free: 59.55 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1017 * Number of states: 0 () * Number of discrete variables: 75 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.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 (1418): * Single equations (assignments): 1412 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002532/2.149, allocations: 0.6758 MB / 1.019 GB, free: 58.88 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001355/2.15, allocations: 0.6393 MB / 1.02 GB, free: 58.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01531/2.165, allocations: 10.21 MB / 1.03 GB, free: 50.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.253e-05/2.165, allocations: 55.02 kB / 1.03 GB, free: 49.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-05/2.165, allocations: 12 kB / 1.03 GB, free: 49.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.997e-05/2.166, allocations: 28.16 kB / 1.03 GB, free: 49.95 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03481/2.2, allocations: 21 MB / 1.05 GB, free: 33.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.363e-05/2.2, allocations: 7.688 kB / 1.05 GB, free: 33.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004455/2.205, allocations: 0.8846 MB / 1.051 GB, free: 32.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004841/2.21, allocations: 2.114 MB / 1.053 GB, free: 30.84 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009749/2.211, allocations: 23.36 kB / 1.053 GB, free: 30.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01512/2.226, allocations: 14.68 MB / 1.068 GB, free: 17.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/2.226, allocations: 5.5 kB / 1.068 GB, free: 17.68 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02108/2.247, allocations: 17.02 MB / 1.084 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003781/2.251, allocations: 1.441 MB / 1.086 GB, free: 1.418 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001431/2.252, allocations: 8 kB / 1.086 GB, free: 1.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003923/2.256, allocations: 280.7 kB / 1.086 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007128/2.257, allocations: 295.8 kB / 1.086 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003485/2.257, allocations: 119.7 kB / 1.086 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01097/2.268, allocations: 4.071 MB / 1.09 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.51e-07/2.268, allocations: 0 / 1.09 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01183/2.28, allocations: 1.958 MB / 1.092 GB, free: 12.41 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (408): * Single equations (assignments): 402 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(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.001046/2.281, allocations: 184.7 kB / 1.093 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.2958/2.577, allocations: 12.19 MB / 1.104 GB, free: 100 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.426e-05/2.577, allocations: 3 kB / 1.104 GB, free: 100 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.009535/2.587, allocations: 5.087 MB / 1.109 GB, free: 99.63 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005304/2.592, allocations: 0.6733 MB / 1.11 GB, free: 99.61 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03519/2.627, allocations: 18.11 MB / 1.128 GB, free: 96.36 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01062/2.638, allocations: 6.609 MB / 1.134 GB, free: 95.44 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0111/2.649, allocations: 3.741 MB / 1.138 GB, free: 95.28 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002701/2.652, allocations: 486 kB / 1.138 GB, free: 95.27 MB / 0.5261 GB Notification: Performance of SimCode: time 1.021e-06/2.652, allocations: 0 / 1.138 GB, free: 95.27 MB / 0.5261 GB Notification: Performance of Templates: time 0.128/2.78, allocations: 74.53 MB / 1.211 GB, free: 70.75 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForceAndTorque/WorldForceAndTorque.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches