Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001764/0.001763, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.981/1.981, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 78.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2802/0.2802, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.222e-05/3.226e-05, allocations: 7.984 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1169, allocations: 58.84 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5197/0.6367, allocations: 107.6 MB / 0.5779 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.637, allocations: 80.92 kB / 0.578 GB, free: 12.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.11/1.747, allocations: 179.7 MB / 0.7535 GB, free: 91.14 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.154e-06/1.747, allocations: 4 kB / 0.7535 GB, free: 91.14 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006449/1.748, allocations: 181.1 kB / 0.7536 GB, free: 91.13 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.03855/1.786, allocations: 8.802 MB / 0.7622 GB, free: 87.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/1.786, allocations: 10.09 kB / 0.7622 GB, free: 87.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0722/1.859, allocations: 9.872 MB / 0.7719 GB, free: 87.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03664/1.895, allocations: 9.852 MB / 0.7815 GB, free: 86.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000984/1.896, allocations: 0.6987 MB / 0.7822 GB, free: 85.99 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005732/1.902, allocations: 0.9261 MB / 0.7831 GB, free: 85.98 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07246/1.975, allocations: 22.17 MB / 0.8047 GB, free: 77.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007422/1.975, allocations: 112.1 kB / 0.8048 GB, free: 77.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004856/1.98, allocations: 447.6 kB / 0.8053 GB, free: 77.51 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004782/1.985, allocations: 2.078 MB / 0.8073 GB, free: 77.13 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05837/2.044, allocations: 18.42 MB / 0.8253 GB, free: 61.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6485/2.692, allocations: 91.58 MB / 0.9147 GB, free: 40.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0574/2.75, allocations: 9.34 MB / 0.9238 GB, free: 40 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01589/2.766, allocations: 5.61 MB / 0.9293 GB, free: 39.95 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007796/2.766, allocations: 80.8 kB / 0.9294 GB, free: 39.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001108/2.767, allocations: 82.34 kB / 0.9295 GB, free: 39.91 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=412): time 1.38e-05/2.767, allocations: 3.938 kB / 0.9295 GB, free: 39.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=475): time 0.188/2.955, allocations: 38.55 MB / 0.9671 GB, free: 33.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/2.955, allocations: 289.6 kB / 0.9674 GB, free: 33.01 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02092/2.976, allocations: 7.328 MB / 0.9746 GB, free: 32.41 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001482/2.977, allocations: 96.89 kB / 0.9747 GB, free: 32.38 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00572/2.983, allocations: 5.781 MB / 0.9803 GB, free: 29.44 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00339/2.986, allocations: 1.753 MB / 0.982 GB, free: 28.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002473/2.989, allocations: 221.9 kB / 0.9822 GB, free: 28.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001314/2.99, allocations: 0.7831 MB / 0.983 GB, free: 28.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01343/3.004, allocations: 4.934 MB / 0.9878 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01772/3.022, allocations: 11 MB / 0.9985 GB, free: 17.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01746/3.039, allocations: 7.291 MB / 1.006 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002658/3.039, allocations: 68.3 kB / 1.006 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1461) (initialization): time 0.05167/3.091, allocations: 17.75 MB / 1.023 GB, free: 8.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001735/3.091, allocations: 96 kB / 1.023 GB, free: 8.746 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003645/3.092, allocations: 212.9 kB / 1.023 GB, free: 8.539 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0106/3.102, allocations: 2.477 MB / 1.026 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0188/3.121, allocations: 2.678 MB / 1.028 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03685/3.158, allocations: 16.92 MB / 1.045 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01578/3.174, allocations: 0.6775 MB / 1.046 GB, free: 4.738 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003399/3.177, allocations: 0.6408 MB / 1.046 GB, free: 4.125 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 966 * 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 (1365): * Single equations (assignments): 1359 * 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 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005868/3.183, allocations: 0.9444 MB / 1.047 GB, free: 3.191 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003439/3.187, allocations: 0.752 MB / 1.048 GB, free: 2.434 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04286/3.23, allocations: 10.94 MB / 1.059 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001116/3.23, allocations: 51.95 kB / 1.059 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.749e-05/3.23, allocations: 12 kB / 1.059 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000136/3.23, allocations: 26.27 kB / 1.059 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08342/3.313, allocations: 22.87 MB / 1.081 GB, free: 7.988 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.459e-05/3.314, allocations: 4 kB / 1.081 GB, free: 7.984 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009977/3.324, allocations: 0.8831 MB / 1.082 GB, free: 7.293 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01071/3.334, allocations: 2.124 MB / 1.084 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00155/3.336, allocations: 87.61 kB / 1.084 GB, free: 5.734 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03719/3.373, allocations: 15.7 MB / 1.099 GB, free: 6.441 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.384e-05/3.373, allocations: 13.61 kB / 1.099 GB, free: 6.43 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05009/3.423, allocations: 17.58 MB / 1.116 GB, free: 4.676 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007546/3.431, allocations: 1.608 MB / 1.118 GB, free: 3.039 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003734/3.435, allocations: 86.34 kB / 1.118 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008975/3.444, allocations: 353.8 kB / 1.118 GB, free: 2.613 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002085/3.446, allocations: 289.3 kB / 1.119 GB, free: 2.328 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001234/3.447, allocations: 123.9 kB / 1.119 GB, free: 2.211 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.4354/3.883, allocations: 5.213 MB / 1.124 GB, free: 158.6 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.024e-06/3.883, allocations: 1.625 kB / 1.124 GB, free: 158.6 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.02526/3.908, allocations: 2.274 MB / 1.126 GB, free: 158.6 MB / 0.5886 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 (406): * Single equations (assignments): 400 * 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.002613/3.911, allocations: 248.8 kB / 1.126 GB, free: 158.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04979/3.96, allocations: 12.35 MB / 1.138 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.657e-05/3.961, allocations: 3.375 kB / 1.138 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.02337/3.984, allocations: 5.262 MB / 1.144 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01268/3.997, allocations: 0.9387 MB / 1.145 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0618/4.059, allocations: 19.48 MB / 1.164 GB, free: 154.4 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01748/4.076, allocations: 6.599 MB / 1.17 GB, free: 153.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00528/4.081, allocations: 0.611 MB / 1.171 GB, free: 153.4 MB / 0.5886 GB Notification: Performance of SimCode: time 1.633e-06/4.082, allocations: 0 / 1.171 GB, free: 153.4 MB / 0.5886 GB Notification: Performance of Templates: time 0.8297/4.911, allocations: 236.3 MB / 1.401 GB, free: 146.7 MB / 0.5886 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches