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.00155/0.00155, allocations: 181.8 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 2.004/2.004, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001065/0.001065, allocations: 86.64 kB / 267.5 MB, free: 14.11 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.2739/0.2739, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.665e-05/3.683e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1176, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5154/0.633, allocations: 110 MB / 0.5802 GB, free: 9.945 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/0.6334, allocations: 71.72 kB / 0.5803 GB, free: 9.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.228/1.861, allocations: 224.8 MB / 0.7998 GB, free: 87.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.725e-06/1.861, allocations: 0 / 0.7998 GB, free: 87.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0008684/1.862, allocations: 235.3 kB / 0.8 GB, free: 87.2 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.04898/1.911, allocations: 11.4 MB / 0.8112 GB, free: 80.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/1.911, allocations: 11.03 kB / 0.8112 GB, free: 80.45 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09381/2.005, allocations: 12.63 MB / 0.8235 GB, free: 69.36 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04508/2.05, allocations: 12.56 MB / 0.8358 GB, free: 56.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001146/2.051, allocations: 0.9141 MB / 0.8367 GB, free: 56.04 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006584/2.058, allocations: 1.204 MB / 0.8379 GB, free: 54.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09115/2.149, allocations: 28.16 MB / 0.8654 GB, free: 24.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001125/2.15, allocations: 134.7 kB / 0.8655 GB, free: 24.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006605/2.157, allocations: 0.5579 MB / 0.866 GB, free: 24.15 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006157/2.163, allocations: 2.68 MB / 0.8686 GB, free: 21.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08085/2.244, allocations: 23.23 MB / 0.8913 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6294/2.874, allocations: 117 MB / 1.006 GB, free: 39.15 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06035/2.934, allocations: 13.6 MB / 1.019 GB, free: 35.85 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01639/2.95, allocations: 7.872 MB / 1.027 GB, free: 32.57 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004226/2.955, allocations: 2.353 MB / 1.029 GB, free: 30.51 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/2.955, allocations: 97.03 kB / 1.029 GB, free: 30.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=559): time 1.024e-05/2.955, allocations: 2.812 kB / 1.029 GB, free: 30.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=643): time 0.2522/3.207, allocations: 53.34 MB / 1.081 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002266/3.207, allocations: 324 kB / 1.081 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04108/3.248, allocations: 9.818 MB / 1.091 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002063/3.251, allocations: 129.7 kB / 1.091 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.009374/3.26, allocations: 7.317 MB / 1.098 GB, free: 6.762 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.005062/3.265, allocations: 2.334 MB / 1.1 GB, free: 4.688 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003306/3.268, allocations: 290.4 kB / 1.101 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.00173/3.27, allocations: 0.9178 MB / 1.102 GB, free: 3.648 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4514/3.722, allocations: 7.04 MB / 1.109 GB, free: 120.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02605/3.748, allocations: 13.98 MB / 1.122 GB, free: 110.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02669/3.775, allocations: 9.367 MB / 1.131 GB, free: 110.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005112/3.775, allocations: 76.28 kB / 1.131 GB, free: 110.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1864) (initialization): time 0.06958/3.845, allocations: 22.85 MB / 1.154 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002625/3.845, allocations: 120.7 kB / 1.154 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005481/3.846, allocations: 261.9 kB / 1.154 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01444/3.86, allocations: 3.258 MB / 1.157 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02612/3.886, allocations: 3.499 MB / 1.161 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04483/3.931, allocations: 22.56 MB / 1.183 GB, free: 97.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02037/3.952, allocations: 0.8742 MB / 1.184 GB, free: 97.37 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004294/3.956, allocations: 0.8157 MB / 1.184 GB, free: 97.25 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1204 * 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 (1744): * Single equations (assignments): 1737 * 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 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007668/3.964, allocations: 1.183 MB / 1.186 GB, free: 96.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003926/3.968, allocations: 0.9456 MB / 1.186 GB, free: 96.39 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04816/4.016, allocations: 14.44 MB / 1.201 GB, free: 91.25 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001111/4.016, allocations: 66.69 kB / 1.201 GB, free: 91.25 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.055e-05/4.016, allocations: 16.66 kB / 1.201 GB, free: 91.25 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001928/4.016, allocations: 29.58 kB / 1.201 GB, free: 91.25 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1004/4.117, allocations: 31.13 MB / 1.231 GB, free: 72.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001051/4.117, allocations: 7.312 kB / 1.231 GB, free: 72.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01273/4.129, allocations: 1.219 MB / 1.232 GB, free: 71.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01309/4.143, allocations: 2.835 MB / 1.235 GB, free: 69.47 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002089/4.145, allocations: 115.8 kB / 1.235 GB, free: 69.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04196/4.187, allocations: 21.07 MB / 1.256 GB, free: 50.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/4.187, allocations: 15.94 kB / 1.256 GB, free: 50.64 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0624/4.249, allocations: 23.76 MB / 1.279 GB, free: 29.71 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009024/4.258, allocations: 2.043 MB / 1.281 GB, free: 27.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004473/4.263, allocations: 115.3 kB / 1.281 GB, free: 27.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01179/4.275, allocations: 485.7 kB / 1.281 GB, free: 27.43 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002733/4.277, allocations: 385.8 kB / 1.282 GB, free: 27.19 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001915/4.279, allocations: 168.8 kB / 1.282 GB, free: 27.03 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01816/4.298, allocations: 6.437 MB / 1.288 GB, free: 21.07 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.02e-07/4.298, allocations: 4 kB / 1.288 GB, free: 21.06 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02052/4.318, allocations: 2.935 MB / 1.291 GB, free: 18.13 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (554): * Single equations (assignments): 547 * 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.002457/4.321, allocations: 300.5 kB / 1.291 GB, free: 17.84 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03865/4.359, allocations: 16.03 MB / 1.307 GB, free: 1.781 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/4.359, allocations: 0 / 1.307 GB, free: 1.781 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.4325/4.792, allocations: 7.041 MB / 1.314 GB, free: 120.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.011/4.803, allocations: 1.201 MB / 1.315 GB, free: 120.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07911/4.882, allocations: 25.35 MB / 1.34 GB, free: 116 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.022/4.904, allocations: 8.319 MB / 1.348 GB, free: 115 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006807/4.911, allocations: 0.7684 MB / 1.349 GB, free: 115 MB / 0.5573 GB Notification: Performance of SimCode: time 1.362e-06/4.911, allocations: 0 / 1.349 GB, free: 115 MB / 0.5573 GB Notification: Performance of Templates: time 1.098/6.009, allocations: 347.4 MB / 1.688 GB, free: 27.96 MB / 0.573 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