Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.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.Torque3,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|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3") translateModel(ModelicaTest.MultiBody.Forces.Torque3,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|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 177.6 kB / 8.002 MB, free: 1.07 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.903/1.903, allocations: 205.3 MB / 213.7 MB, free: 1.727 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.0009291/0.0009288, allocations: 82.62 kB / 261.7 MB, free: 1.688 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.1949/0.1949, allocations: 43.48 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.909e-05/1.91e-05, allocations: 4 kB / 418.2 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1229, allocations: 58.87 MB / 477.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4275/0.5504, allocations: 109.4 MB / 0.5727 GB, free: 2.484 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.5507, allocations: 81.98 kB / 0.5728 GB, free: 2.445 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8631/1.414, allocations: 219.2 MB / 0.7869 GB, free: 86.45 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.394e-06/1.414, allocations: 0 / 0.7869 GB, free: 86.45 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001169/1.415, allocations: 235.6 kB / 0.7871 GB, free: 86.45 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: 4187 * Number of variables: 4187 Notification: Performance of Generate backend data structure: time 0.04545/1.461, allocations: 11.38 MB / 0.7982 GB, free: 82.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/1.461, allocations: 18.28 kB / 0.7983 GB, free: 82.22 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0524/1.513, allocations: 12.64 MB / 0.8106 GB, free: 80.47 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03514/1.548, allocations: 12.54 MB / 0.8228 GB, free: 71.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008361/1.549, allocations: 392 kB / 0.8232 GB, free: 71.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007903/1.557, allocations: 0.7184 MB / 0.8239 GB, free: 70.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03565/1.593, allocations: 16.72 MB / 0.8402 GB, free: 53.65 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06312/1.656, allocations: 24.47 MB / 0.8641 GB, free: 27.22 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001002/1.657, allocations: 138.7 kB / 0.8643 GB, free: 27.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006465/1.664, allocations: 56 kB / 0.8643 GB, free: 27.03 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004021/1.668, allocations: 2.686 MB / 0.8669 GB, free: 24.35 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5249/2.193, allocations: 110.4 MB / 0.9748 GB, free: 49.63 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01357/2.206, allocations: 10.81 MB / 0.9853 GB, free: 48.37 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01013/2.216, allocations: 7.535 MB / 0.9927 GB, free: 48.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002817/2.219, allocations: 2.341 MB / 0.995 GB, free: 46.31 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/2.219, allocations: 94.61 kB / 0.9951 GB, free: 46.27 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=541): time 8.235e-06/2.219, allocations: 0 / 0.9951 GB, free: 46.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=629): time 0.1381/2.357, allocations: 56.91 MB / 1.051 GB, free: 25.42 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002803/2.358, allocations: 325.1 kB / 1.051 GB, free: 25.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0251/2.383, allocations: 7.068 MB / 1.058 GB, free: 22 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002952/2.386, allocations: 27.92 kB / 1.058 GB, free: 21.97 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.007364/2.393, allocations: 7.925 MB / 1.066 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.004036/2.397, allocations: 2.23 MB / 1.068 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003234/2.401, allocations: 0 / 1.068 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001949/2.403, allocations: 0.9303 MB / 1.069 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01272/2.415, allocations: 6.207 MB / 1.075 GB, free: 6.641 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02422/2.44, allocations: 14.03 MB / 1.088 GB, free: 6.008 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02504/2.465, allocations: 9.26 MB / 1.098 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004579/2.465, allocations: 83.95 kB / 1.098 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1922) (initialization): time 0.4201/2.885, allocations: 21.95 MB / 1.119 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005274/2.886, allocations: 123.4 kB / 1.119 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007815/2.887, allocations: 276.3 kB / 1.119 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01029/2.897, allocations: 3.289 MB / 1.123 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01514/2.912, allocations: 3.615 MB / 1.126 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02563/2.938, allocations: 21.31 MB / 1.147 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01342/2.951, allocations: 0.5984 MB / 1.148 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003713/2.955, allocations: 0.8401 MB / 1.148 GB, free: 116.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1258 * Number of states: 0 () * Number of discrete variables: 108 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[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 (1802): * Single equations (assignments): 1795 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00455/2.96, allocations: 0.84 MB / 1.149 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001897/2.962, allocations: 0.8228 MB / 1.15 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02116/2.983, allocations: 13.75 MB / 1.163 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.093e-05/2.983, allocations: 63.16 kB / 1.163 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-05/2.983, allocations: 17.25 kB / 1.163 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.59e-05/2.983, allocations: 32.92 kB / 1.164 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04749/3.031, allocations: 27.67 MB / 1.191 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.368e-05/3.031, allocations: 5.844 kB / 1.191 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006482/3.037, allocations: 1.225 MB / 1.192 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006507/3.044, allocations: 2.802 MB / 1.194 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001164/3.045, allocations: 22.02 kB / 1.195 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02181/3.067, allocations: 19.66 MB / 1.214 GB, free: 97.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/3.067, allocations: 5.859 kB / 1.214 GB, free: 97.61 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02942/3.096, allocations: 21.53 MB / 1.235 GB, free: 86.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004949/3.101, allocations: 1.831 MB / 1.237 GB, free: 84.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002021/3.103, allocations: 4 kB / 1.237 GB, free: 84.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005274/3.108, allocations: 384.7 kB / 1.237 GB, free: 84.41 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009051/3.109, allocations: 377.2 kB / 1.237 GB, free: 84.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004458/3.11, allocations: 154.3 kB / 1.237 GB, free: 84.04 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.008577/3.118, allocations: 4.764 MB / 1.242 GB, free: 79.91 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.91e-07/3.118, allocations: 0 / 1.242 GB, free: 79.91 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0187/3.137, allocations: 2.544 MB / 1.245 GB, free: 77.38 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 16 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (540): * Single equations (assignments): 533 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 18,(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.001937/3.139, allocations: 188.3 kB / 1.245 GB, free: 77.25 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02452/3.164, allocations: 15.86 MB / 1.26 GB, free: 63.13 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/3.164, allocations: 1.969 kB / 1.26 GB, free: 63.13 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01069/3.174, allocations: 6.714 MB / 1.267 GB, free: 57.11 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006276/3.181, allocations: 0.8557 MB / 1.268 GB, free: 56.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04805/3.229, allocations: 23.5 MB / 1.291 GB, free: 35.61 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01235/3.241, allocations: 8.327 MB / 1.299 GB, free: 29.61 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01332/3.255, allocations: 4.673 MB / 1.303 GB, free: 25.65 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003286/3.258, allocations: 0.6126 MB / 1.304 GB, free: 25.04 MB / 0.5573 GB Notification: Performance of SimCode: time 1.583e-06/3.258, allocations: 0 / 1.304 GB, free: 25.04 MB / 0.5573 GB Notification: Performance of Templates: time 0.479/3.737, allocations: 99.44 MB / 1.401 GB, free: 107.9 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Torque3/Torque3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches