Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.Torque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009785/0.0009784, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 221.5 MB / 230.7 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009296/0.0009295, allocations: 93.97 kB / 281.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1808/0.1808, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.451e-05/1.454e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1171, allocations: 61.92 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4071/0.5242, allocations: 110.1 MB / 0.6022 GB, free: 2.402 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.5246, allocations: 75.97 kB / 0.6022 GB, free: 2.328 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7125/1.237, allocations: 200.4 MB / 0.7979 GB, free: 80.38 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.653e-06/1.237, allocations: 0 / 0.7979 GB, free: 80.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000702/1.238, allocations: 218.7 kB / 0.7981 GB, free: 80.17 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: 3739 * Number of variables: 3739 Notification: Performance of Generate backend data structure: time 0.03663/1.274, allocations: 10.56 MB / 0.8084 GB, free: 69.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/1.275, allocations: 11.98 kB / 0.8084 GB, free: 69.53 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04745/1.322, allocations: 12.43 MB / 0.8206 GB, free: 57.06 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02784/1.35, allocations: 11.45 MB / 0.8318 GB, free: 45.64 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005383/1.35, allocations: 360 kB / 0.8321 GB, free: 45.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004343/1.355, allocations: 0.6404 MB / 0.8327 GB, free: 44.65 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02727/1.382, allocations: 14.95 MB / 0.8473 GB, free: 29.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04928/1.431, allocations: 22.19 MB / 0.869 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007327/1.432, allocations: 138.7 kB / 0.8691 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00521/1.437, allocations: 56 kB / 0.8692 GB, free: 5.426 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003286/1.441, allocations: 2.351 MB / 0.8715 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4605/1.901, allocations: 102.9 MB / 0.972 GB, free: 34.28 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01018/1.912, allocations: 9.635 MB / 0.9814 GB, free: 32.41 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007152/1.919, allocations: 6.659 MB / 0.9879 GB, free: 29.64 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002204/1.921, allocations: 2.326 MB / 0.9901 GB, free: 27.58 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.62e-05/1.921, allocations: 80.97 kB / 0.9902 GB, free: 27.51 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=425): time 6.643e-06/1.921, allocations: 2.094 kB / 0.9902 GB, free: 27.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=513): time 0.1219/2.043, allocations: 52.15 MB / 1.041 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/2.043, allocations: 314 kB / 1.041 GB, free: 288 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02129/2.065, allocations: 6.725 MB / 1.048 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.00151/2.066, allocations: 29.64 kB / 1.048 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.007512/2.074, allocations: 7.233 MB / 1.055 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.004438/2.078, allocations: 1.848 MB / 1.057 GB, free: 2.746 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002941/2.081, allocations: 0 / 1.057 GB, free: 2.746 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001369/2.082, allocations: 0.8554 MB / 1.058 GB, free: 2.039 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02758/2.11, allocations: 6.371 MB / 1.064 GB, free: 0 / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0173/2.127, allocations: 12.4 MB / 1.076 GB, free: 1.184 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0172/2.145, allocations: 8.198 MB / 1.084 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004154/2.145, allocations: 72 kB / 1.084 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1690) (initialization): time 0.4073/2.552, allocations: 19.18 MB / 1.103 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002606/2.553, allocations: 113.2 kB / 1.103 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007163/2.553, allocations: 250.9 kB / 1.103 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009127/2.563, allocations: 3.251 MB / 1.106 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01498/2.578, allocations: 3.142 MB / 1.109 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02738/2.605, allocations: 21.28 MB / 1.13 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01204/2.617, allocations: 0.5233 MB / 1.131 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003743/2.621, allocations: 0.7523 MB / 1.132 GB, free: 115.1 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1146 * Number of states: 0 () * Number of discrete variables: 126 (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.torqueArrow.arrowLine.twoHeadedArrow,torque4.torqueArrow.headAtOrigin,torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceArrow.arrowLine.twoHeadedArrow,torque4.forceArrow.headAtOrigin,torque4.forceArrow.color[3],torque4.forceArrow.color[2],torque4.forceArrow.color[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueArrow.arrowLine.twoHeadedArrow,torque3.torqueArrow.headAtOrigin,torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceArrow.arrowLine.twoHeadedArrow,torque3.forceArrow.headAtOrigin,torque3.forceArrow.color[3],torque3.forceArrow.color[2],torque3.forceArrow.color[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.torqueArrow.arrowLine.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 (1570): * Single equations (assignments): 1563 * 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.00597/2.627, allocations: 0.7895 MB / 1.132 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003023/2.63, allocations: 0.7421 MB / 1.133 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02596/2.656, allocations: 11.64 MB / 1.144 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.872e-05/2.656, allocations: 64.5 kB / 1.144 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-05/2.656, allocations: 14.47 kB / 1.144 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001449/2.656, allocations: 23.69 kB / 1.144 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06084/2.717, allocations: 24.06 MB / 1.168 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-05/2.717, allocations: 0 / 1.168 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005557/2.723, allocations: 0.9864 MB / 1.169 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007295/2.73, allocations: 2.798 MB / 1.172 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001296/2.731, allocations: 17.55 kB / 1.172 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02387/2.755, allocations: 19.77 MB / 1.191 GB, free: 97.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.361e-06/2.755, allocations: 0.75 kB / 1.191 GB, free: 97.91 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03278/2.788, allocations: 18.33 MB / 1.209 GB, free: 85.78 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003456/2.792, allocations: 0.7399 MB / 1.21 GB, free: 85.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003278/2.795, allocations: 15.14 kB / 1.21 GB, free: 85.03 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006498/2.802, allocations: 328.1 kB / 1.21 GB, free: 84.86 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001742/2.803, allocations: 296.7 kB / 1.21 GB, free: 84.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001097/2.804, allocations: 127.1 kB / 1.21 GB, free: 84.56 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.009546/2.814, allocations: 4.453 MB / 1.215 GB, free: 80.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.01e-07/2.814, allocations: 3.469 kB / 1.215 GB, free: 80.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0193/2.833, allocations: 2.269 MB / 1.217 GB, free: 78.43 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (421): * Single equations (assignments): 414 * 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.001654/2.835, allocations: 170.9 kB / 1.217 GB, free: 78.31 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02512/2.86, allocations: 13.7 MB / 1.23 GB, free: 66.34 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/2.86, allocations: 8 kB / 1.23 GB, free: 66.33 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01083/2.871, allocations: 5.864 MB / 1.236 GB, free: 61.12 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008268/2.879, allocations: 0.9014 MB / 1.237 GB, free: 60.39 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04202/2.921, allocations: 20.9 MB / 1.257 GB, free: 41.87 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0157/2.937, allocations: 7.591 MB / 1.265 GB, free: 36.39 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01356/2.951, allocations: 4.128 MB / 1.269 GB, free: 32.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002992/2.954, allocations: 0.5306 MB / 1.269 GB, free: 32.27 MB / 0.5573 GB Notification: Performance of SimCode: time 1.001e-06/2.954, allocations: 0 / 1.269 GB, free: 32.27 MB / 0.5573 GB Notification: Performance of Templates: time 0.5264/3.48, allocations: 89.31 MB / 1.357 GB, free: 124.6 MB / 0.573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Torque3/Torque3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches