Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002047/0.002052, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.03/2.03, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001131, allocations: 96.83 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3072/0.3072, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.588e-05/1.593e-05, allocations: 0 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3944, allocations: 58.85 MB / 477.1 MB, free: 5.254 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2046/0.599, allocations: 109.3 MB / 0.5727 GB, free: 5.91 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.5994, allocations: 79.45 kB / 0.5728 GB, free: 5.836 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.187/1.786, allocations: 219.2 MB / 0.7869 GB, free: 20.08 MB / 475.1 MB Notification: Performance of FrontEnd: time 1.683e-06/1.786, allocations: 0 / 0.7869 GB, free: 20.08 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0008105/1.787, allocations: 243.9 kB / 0.7871 GB, free: 19.84 MB / 475.1 MB 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.04756/1.835, allocations: 11.38 MB / 0.7982 GB, free: 8.359 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/1.835, allocations: 8.031 kB / 0.7982 GB, free: 8.352 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09192/1.927, allocations: 12.64 MB / 0.8106 GB, free: 11.68 MB / 491.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7825/2.709, allocations: 12.56 MB / 0.8228 GB, free: 51.8 MB / 491.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00103/2.71, allocations: 393.9 kB / 0.8232 GB, free: 51.8 MB / 491.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007031/2.717, allocations: 0.7063 MB / 0.8239 GB, free: 51.8 MB / 491.2 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05014/2.768, allocations: 16.72 MB / 0.8402 GB, free: 51.74 MB / 491.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07305/2.841, allocations: 24.47 MB / 0.8641 GB, free: 46.4 MB / 491.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001046/2.842, allocations: 132.9 kB / 0.8642 GB, free: 46.4 MB / 491.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006716/2.849, allocations: 58.78 kB / 0.8643 GB, free: 46.4 MB / 491.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006709/2.855, allocations: 2.682 MB / 0.8669 GB, free: 46.38 MB / 491.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2003/3.056, allocations: 110.4 MB / 0.9747 GB, free: 9.676 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02355/3.079, allocations: 10.8 MB / 0.9853 GB, free: 0.5273 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03336/3.113, allocations: 8.558 MB / 0.9936 GB, free: 12.28 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004762/3.118, allocations: 2.341 MB / 0.9959 GB, free: 9.766 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/3.118, allocations: 98.56 kB / 0.996 GB, free: 9.664 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=541): time 8.807e-06/3.118, allocations: 3.938 kB / 0.996 GB, free: 9.66 MB / 0.5265 GB Notification: Performance of matching and sorting (n=629): time 0.6158/3.734, allocations: 57.44 MB / 1.052 GB, free: 103.9 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000159/3.734, allocations: 327.1 kB / 1.052 GB, free: 103.5 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02086/3.755, allocations: 7.064 MB / 1.059 GB, free: 102.9 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.001915/3.757, allocations: 32.42 kB / 1.059 GB, free: 102.9 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.006703/3.763, allocations: 7.665 MB / 1.067 GB, free: 98.63 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.004118/3.768, allocations: 2.231 MB / 1.069 GB, free: 97.27 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002401/3.77, allocations: 0 / 1.069 GB, free: 97.27 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.001184/3.771, allocations: 0.9443 MB / 1.07 GB, free: 96.92 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01496/3.786, allocations: 6.205 MB / 1.076 GB, free: 96.89 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0208/3.807, allocations: 14.03 MB / 1.09 GB, free: 86.88 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02012/3.827, allocations: 9.206 MB / 1.099 GB, free: 86.79 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003316/3.828, allocations: 83.12 kB / 1.099 GB, free: 86.79 MB / 0.5421 GB Notification: Performance of matching and sorting (n=1922) (initialization): time 0.06047/3.888, allocations: 21.38 MB / 1.12 GB, free: 82.89 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002188/3.888, allocations: 123.2 kB / 1.12 GB, free: 82.89 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000402/3.889, allocations: 278.4 kB / 1.12 GB, free: 82.89 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01343/3.902, allocations: 3.287 MB / 1.123 GB, free: 82.29 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02449/3.927, allocations: 3.611 MB / 1.127 GB, free: 81.9 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04185/3.969, allocations: 21.32 MB / 1.148 GB, free: 70.56 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01923/3.988, allocations: 0.5968 MB / 1.148 GB, free: 70.54 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004657/3.993, allocations: 0.8453 MB / 1.149 GB, free: 70.42 MB / 0.5421 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.006619/3.999, allocations: 0.8305 MB / 1.15 GB, free: 69.75 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003035/4.002, allocations: 0.8265 MB / 1.151 GB, free: 69.3 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0427/4.045, allocations: 13.75 MB / 1.164 GB, free: 58.71 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001631/4.045, allocations: 67.95 kB / 1.164 GB, free: 58.65 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-05/4.045, allocations: 16 kB / 1.164 GB, free: 58.63 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002006/4.046, allocations: 33.72 kB / 1.164 GB, free: 58.63 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09074/4.136, allocations: 27.66 MB / 1.191 GB, free: 36.42 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.105e-05/4.137, allocations: 4.031 kB / 1.191 GB, free: 36.41 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01283/4.149, allocations: 1.228 MB / 1.192 GB, free: 35.47 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0128/4.162, allocations: 2.796 MB / 1.195 GB, free: 33.51 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001885/4.164, allocations: 18.81 kB / 1.195 GB, free: 33.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04414/4.208, allocations: 19.67 MB / 1.214 GB, free: 15.88 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-05/4.208, allocations: 0 / 1.214 GB, free: 15.88 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4853/4.694, allocations: 21.58 MB / 1.235 GB, free: 90.23 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008374/4.702, allocations: 1.834 MB / 1.237 GB, free: 90.14 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003708/4.706, allocations: 8.594 kB / 1.237 GB, free: 90.14 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01133/4.717, allocations: 384.1 kB / 1.238 GB, free: 90.14 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002658/4.72, allocations: 367.2 kB / 1.238 GB, free: 90.14 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001672/4.722, allocations: 160.7 kB / 1.238 GB, free: 90.14 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.01599/4.738, allocations: 4.769 MB / 1.243 GB, free: 89.89 MB / 0.5421 GB Notification: Performance of sort global known variables: time 8.11e-07/4.738, allocations: 1.219 kB / 1.243 GB, free: 89.89 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.02313/4.761, allocations: 2.531 MB / 1.245 GB, free: 89.89 MB / 0.5421 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.00225/4.763, allocations: 199.3 kB / 1.245 GB, free: 89.8 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.03893/4.802, allocations: 15.85 MB / 1.261 GB, free: 89.21 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/4.802, allocations: 0 / 1.261 GB, free: 89.21 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.01797/4.82, allocations: 6.712 MB / 1.267 GB, free: 88.71 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009966/4.83, allocations: 0.8618 MB / 1.268 GB, free: 88.68 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07266/4.903, allocations: 24.8 MB / 1.292 GB, free: 84.54 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02287/4.926, allocations: 8.335 MB / 1.301 GB, free: 83.52 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006885/4.933, allocations: 0.7093 MB / 1.301 GB, free: 83.52 MB / 0.5421 GB Notification: Performance of SimCode: time 1.713e-06/4.933, allocations: 4 kB / 1.301 GB, free: 83.52 MB / 0.5421 GB Notification: Performance of Templates: time 1.056/5.989, allocations: 338.7 MB / 1.632 GB, free: 15.27 MB / 0.6046 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque3_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.Forces.Torque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches