Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.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.Torque2,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.Torque2") translateModel(ModelicaTest.MultiBody.Forces.Torque2,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.Torque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 177.2 kB / 8.005 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.714/1.714, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.0009556/0.0009555, allocations: 82.22 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.2088/0.2088, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.561e-05/1.564e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1261, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4489/0.575, allocations: 110.8 MB / 0.5741 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.5753, allocations: 83.11 kB / 0.5742 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8394/1.415, allocations: 235.4 MB / 0.8041 GB, free: 84.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.704e-06/1.415, allocations: 0 / 0.8041 GB, free: 84.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001168/1.416, allocations: 259.9 kB / 0.8043 GB, free: 84.24 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: 4457 * Number of variables: 4457 Notification: Performance of Generate backend data structure: time 0.0453/1.461, allocations: 12.34 MB / 0.8164 GB, free: 76.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/1.461, allocations: 7.312 kB / 0.8164 GB, free: 76.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0522/1.514, allocations: 12.82 MB / 0.8289 GB, free: 65.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03603/1.55, allocations: 13.29 MB / 0.8419 GB, free: 52.65 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009033/1.551, allocations: 424 kB / 0.8423 GB, free: 52.24 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008303/1.559, allocations: 0.7497 MB / 0.843 GB, free: 51.49 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03988/1.599, allocations: 17.54 MB / 0.8602 GB, free: 33.95 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06246/1.661, allocations: 26.04 MB / 0.8856 GB, free: 5.699 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009035/1.662, allocations: 150.5 kB / 0.8857 GB, free: 5.551 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006047/1.668, allocations: 72 kB / 0.8858 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004178/1.673, allocations: 2.866 MB / 0.8886 GB, free: 2.609 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5467/2.219, allocations: 121.6 MB / 1.007 GB, free: 40.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01197/2.231, allocations: 10.78 MB / 1.018 GB, free: 35.81 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009387/2.241, allocations: 7.541 MB / 1.025 GB, free: 32.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00143/2.242, allocations: 1.093 MB / 1.026 GB, free: 31.79 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.078e-05/2.242, allocations: 96.66 kB / 1.026 GB, free: 31.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=548): time 8.085e-06/2.242, allocations: 2.281 kB / 1.026 GB, free: 31.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=636): time 0.1412/2.383, allocations: 61.7 MB / 1.087 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002285/2.384, allocations: 385.9 kB / 1.087 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01983/2.404, allocations: 8.038 MB / 1.095 GB, free: 4.047 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001928/2.406, allocations: 25.7 kB / 1.095 GB, free: 4.016 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.008491/2.414, allocations: 8.715 MB / 1.103 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004571/2.419, allocations: 2.272 MB / 1.106 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002492/2.421, allocations: 4 kB / 1.106 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001338/2.423, allocations: 0.9813 MB / 1.107 GB, free: 9.309 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01325/2.436, allocations: 6.45 MB / 1.113 GB, free: 3.551 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4094/2.845, allocations: 16.01 MB / 1.129 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01901/2.864, allocations: 9.739 MB / 1.138 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005682/2.865, allocations: 88.66 kB / 1.138 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2084) (initialization): time 0.04776/2.913, allocations: 22.81 MB / 1.16 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003656/2.913, allocations: 141.7 kB / 1.161 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004938/2.914, allocations: 303.8 kB / 1.161 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007841/2.921, allocations: 3.331 MB / 1.164 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01429/2.936, allocations: 3.881 MB / 1.168 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0232/2.959, allocations: 21.38 MB / 1.189 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01335/2.972, allocations: 0.6433 MB / 1.189 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003496/2.976, allocations: 0.9176 MB / 1.19 GB, free: 114.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1400 * Number of states: 0 () * Number of discrete variables: 120 (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],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[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],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (1964): * Single equations (assignments): 1957 * 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.003995/2.98, allocations: 0.9101 MB / 1.191 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002068/2.982, allocations: 0.9047 MB / 1.192 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02254/3.005, allocations: 13.8 MB / 1.206 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.237e-05/3.005, allocations: 66.22 kB / 1.206 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.499e-05/3.005, allocations: 21.36 kB / 1.206 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001089/3.005, allocations: 28.12 kB / 1.206 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05305/3.058, allocations: 28.83 MB / 1.234 GB, free: 95.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.457e-05/3.058, allocations: 8 kB / 1.234 GB, free: 95.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00637/3.064, allocations: 1.22 MB / 1.235 GB, free: 94.85 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006619/3.071, allocations: 2.807 MB / 1.238 GB, free: 92.88 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00137/3.072, allocations: 30.05 kB / 1.238 GB, free: 92.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02123/3.094, allocations: 19.79 MB / 1.257 GB, free: 75.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/3.094, allocations: 11.95 kB / 1.257 GB, free: 75.42 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03122/3.125, allocations: 23.38 MB / 1.28 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005617/3.131, allocations: 1.937 MB / 1.282 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002168/3.133, allocations: 14.91 kB / 1.282 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005321/3.138, allocations: 350.5 kB / 1.282 GB, free: 52.73 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009086/3.139, allocations: 391.7 kB / 1.283 GB, free: 52.48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004299/3.139, allocations: 159.9 kB / 1.283 GB, free: 52.33 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00859/3.148, allocations: 5.441 MB / 1.288 GB, free: 47.65 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.01e-07/3.148, allocations: 7.094 kB / 1.288 GB, free: 47.65 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0171/3.165, allocations: 2.676 MB / 1.291 GB, free: 44.98 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 16 (Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (547): * Single equations (assignments): 540 * 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.001467/3.167, allocations: 207.6 kB / 1.291 GB, free: 44.78 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02348/3.19, allocations: 16.38 MB / 1.307 GB, free: 30.07 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/3.19, allocations: 2.438 kB / 1.307 GB, free: 30.07 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01013/3.2, allocations: 6.825 MB / 1.314 GB, free: 23.97 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006073/3.206, allocations: 0.9695 MB / 1.314 GB, free: 23.15 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3759/3.582, allocations: 25.05 MB / 1.339 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01946/3.602, allocations: 8.915 MB / 1.348 GB, free: 113 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01737/3.619, allocations: 5.109 MB / 1.353 GB, free: 112.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004182/3.624, allocations: 0.6557 MB / 1.353 GB, free: 112.9 MB / 0.5573 GB Notification: Performance of SimCode: time 3.677e-06/3.624, allocations: 0 / 1.353 GB, free: 112.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.1657/3.789, allocations: 101.2 MB / 1.452 GB, free: 65.09 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Torque2/Torque2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches