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.00114/0.00114, allocations: 184.6 kB / 15.76 MB, free: 6.367 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.687/1.687, allocations: 205.4 MB / 221.9 MB, free: 13.85 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.0008894/0.0008892, allocations: 94.81 kB / 270.2 MB, free: 13.37 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.226/0.226, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003091/0.0003091, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1377, allocations: 58.86 MB / 490.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4696/0.6073, allocations: 107.7 MB / 0.584 GB, free: 8.434 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.6076, allocations: 77.84 kB / 0.584 GB, free: 8.395 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7197/1.327, allocations: 179.5 MB / 0.7593 GB, free: 93.26 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.966e-06/1.327, allocations: 0 / 0.7593 GB, free: 93.26 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0007825/1.328, allocations: 181 kB / 0.7595 GB, free: 93.26 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.03626/1.364, allocations: 9.455 MB / 0.7688 GB, free: 89.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/1.364, allocations: 21.62 kB / 0.7688 GB, free: 89.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03986/1.404, allocations: 9.866 MB / 0.7784 GB, free: 88.94 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03036/1.435, allocations: 9.89 MB / 0.7881 GB, free: 87.83 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008891/1.436, allocations: 0.7012 MB / 0.7887 GB, free: 87.81 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005912/1.442, allocations: 0.9144 MB / 0.7896 GB, free: 87.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06169/1.503, allocations: 22.35 MB / 0.8115 GB, free: 78.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009099/1.504, allocations: 118 kB / 0.8116 GB, free: 78.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005286/1.51, allocations: 437.1 kB / 0.812 GB, free: 77.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003185/1.513, allocations: 2.086 MB / 0.814 GB, free: 75.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03919/1.552, allocations: 18.68 MB / 0.8323 GB, free: 58.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4039/1.956, allocations: 91.59 MB / 0.9217 GB, free: 42.41 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02503/1.981, allocations: 9.448 MB / 0.9309 GB, free: 41.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004827/1.982, allocations: 87.17 kB / 0.931 GB, free: 41.71 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.691e-05/1.982, allocations: 85.55 kB / 0.9311 GB, free: 41.67 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=412): time 1.031e-05/1.982, allocations: 3.938 kB / 0.9311 GB, free: 41.67 MB / 0.5105 GB Notification: Performance of matching and sorting (n=475): time 0.1142/2.096, allocations: 45.18 MB / 0.9752 GB, free: 33.93 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/2.096, allocations: 286.4 kB / 0.9755 GB, free: 33.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01176/2.108, allocations: 7.406 MB / 0.9827 GB, free: 33.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001183/2.109, allocations: 100.4 kB / 0.9828 GB, free: 33.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004009/2.113, allocations: 6.122 MB / 0.9888 GB, free: 30.12 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002492/2.116, allocations: 1.742 MB / 0.9905 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009471/2.117, allocations: 225.2 kB / 0.9907 GB, free: 29.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005229/2.117, allocations: 0.7829 MB / 0.9915 GB, free: 28.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006618/2.124, allocations: 5.047 MB / 0.9964 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009655/2.133, allocations: 11.1 MB / 1.007 GB, free: 17.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/2.144, allocations: 7.342 MB / 1.014 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001838/2.144, allocations: 61.38 kB / 1.014 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1461) (initialization): time 0.03411/2.178, allocations: 18.32 MB / 1.032 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002918/2.179, allocations: 96 kB / 1.032 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004362/2.179, allocations: 212 kB / 1.033 GB, free: 6.617 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006758/2.186, allocations: 2.478 MB / 1.035 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01107/2.197, allocations: 2.681 MB / 1.038 GB, free: 2.539 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02509/2.222, allocations: 17.49 MB / 1.055 GB, free: 3.242 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01125/2.233, allocations: 0.6767 MB / 1.055 GB, free: 2.691 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003087/2.236, allocations: 0.6458 MB / 1.056 GB, free: 2.074 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 () * Number of clocked 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.01536/2.252, allocations: 4.466 MB / 1.06 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002019/2.254, allocations: 0.7443 MB / 1.061 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02145/2.275, allocations: 10.8 MB / 1.072 GB, free: 5.551 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.071e-05/2.275, allocations: 51.95 kB / 1.072 GB, free: 5.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.543e-05/2.276, allocations: 12 kB / 1.072 GB, free: 5.488 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.706e-05/2.276, allocations: 20.53 kB / 1.072 GB, free: 5.488 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05582/2.331, allocations: 23.2 MB / 1.094 GB, free: 1.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.521e-05/2.332, allocations: 9 kB / 1.094 GB, free: 1.727 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005197/2.337, allocations: 0.876 MB / 1.095 GB, free: 0.8516 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006115/2.343, allocations: 2.129 MB / 1.097 GB, free: 14.72 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001317/2.344, allocations: 87.98 kB / 1.097 GB, free: 14.64 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02229/2.367, allocations: 16.19 MB / 1.113 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/2.367, allocations: 13.36 kB / 1.113 GB, free: 14.09 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2843/2.651, allocations: 17.79 MB / 1.131 GB, free: 161.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005215/2.656, allocations: 1.607 MB / 1.132 GB, free: 161.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001919/2.658, allocations: 82.62 kB / 1.132 GB, free: 161.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004652/2.663, allocations: 358.1 kB / 1.133 GB, free: 161.3 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008063/2.664, allocations: 282.8 kB / 1.133 GB, free: 161.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003981/2.664, allocations: 132.2 kB / 1.133 GB, free: 161.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01001/2.674, allocations: 5.282 MB / 1.138 GB, free: 161 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.11e-07/2.674, allocations: 0 / 1.138 GB, free: 161 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01256/2.687, allocations: 2.275 MB / 1.14 GB, free: 161 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 () * Number of clocked 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.001094/2.688, allocations: 250.9 kB / 1.141 GB, free: 160.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01858/2.706, allocations: 12.55 MB / 1.153 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/2.706, allocations: 3.906 kB / 1.153 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.008739/2.715, allocations: 5.36 MB / 1.158 GB, free: 160 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006578/2.722, allocations: 0.9334 MB / 1.159 GB, free: 160 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04099/2.763, allocations: 25.4 MB / 1.184 GB, free: 151 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01188/2.775, allocations: 6.593 MB / 1.19 GB, free: 149.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01905/2.794, allocations: 3.776 MB / 1.194 GB, free: 149.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004142/2.798, allocations: 0.5285 MB / 1.195 GB, free: 149.6 MB / 0.5886 GB Notification: Performance of SimCode: time 1.022e-06/2.798, allocations: 2.844 kB / 1.195 GB, free: 149.6 MB / 0.5886 GB Notification: Performance of Templates: time 0.2295/3.028, allocations: 88.4 MB / 1.281 GB, free: 97.06 MB / 0.5886 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