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.0009306/0.0009307, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 221.4 MB / 236 MB, free: 2.977 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.0007511/0.0007511, allocations: 98.88 kB / 287 MB, free: 272 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1773/0.1773, allocations: 44.15 MB / 382 MB, free: 14.71 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.921e-05/2.923e-05, allocations: 4.219 kB / 451.8 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1246, allocations: 61.91 MB / 0.5017 GB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4026/0.5273, allocations: 110.7 MB / 0.6098 GB, free: 10.61 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.5275, allocations: 76.62 kB / 0.6099 GB, free: 10.53 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7522/1.28, allocations: 205.4 MB / 0.8105 GB, free: 95.69 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.004e-06/1.28, allocations: 0 / 0.8105 GB, free: 95.69 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004963/1.28, allocations: 224 kB / 0.8107 GB, free: 95.68 MB / 0.5105 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.03092/1.311, allocations: 10.56 MB / 0.8211 GB, free: 85.28 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/1.311, allocations: 12.03 kB / 0.8211 GB, free: 85.27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0451/1.356, allocations: 12.44 MB / 0.8332 GB, free: 72.79 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0299/1.386, allocations: 11.45 MB / 0.8444 GB, free: 61.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008383/1.387, allocations: 0.8184 MB / 0.8452 GB, free: 60.45 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005823/1.393, allocations: 1.097 MB / 0.8463 GB, free: 59.35 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06335/1.456, allocations: 25.73 MB / 0.8714 GB, free: 31.69 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009216/1.457, allocations: 130.8 kB / 0.8715 GB, free: 31.56 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005037/1.463, allocations: 0.5114 MB / 0.872 GB, free: 31.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003368/1.466, allocations: 2.353 MB / 0.8743 GB, free: 28.69 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04597/1.512, allocations: 20.99 MB / 0.8948 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.736/2.248, allocations: 108.6 MB / 1.001 GB, free: 29.71 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02945/2.277, allocations: 12.37 MB / 1.013 GB, free: 28.98 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008581/2.286, allocations: 6.954 MB / 1.02 GB, free: 28.77 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002092/2.288, allocations: 2.328 MB / 1.022 GB, free: 26.72 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.202e-05/2.288, allocations: 80.25 kB / 1.022 GB, free: 26.65 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=443): time 9.027e-06/2.288, allocations: 3.188 kB / 1.022 GB, free: 26.65 MB / 0.5262 GB Notification: Performance of matching and sorting (n=527): time 0.1372/2.426, allocations: 48.65 MB / 1.07 GB, free: 10.83 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/2.426, allocations: 310.2 kB / 1.07 GB, free: 10.51 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01808/2.444, allocations: 8.551 MB / 1.078 GB, free: 4.586 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001565/2.445, allocations: 109.7 kB / 1.078 GB, free: 4.473 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.005894/2.451, allocations: 7.124 MB / 1.085 GB, free: 14.08 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.003438/2.455, allocations: 1.945 MB / 1.087 GB, free: 12.36 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002277/2.457, allocations: 256 kB / 1.087 GB, free: 12.11 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.001663/2.459, allocations: 0.8483 MB / 1.088 GB, free: 11.41 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01124/2.47, allocations: 5.492 MB / 1.094 GB, free: 6.496 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01736/2.487, allocations: 12.53 MB / 1.106 GB, free: 7.598 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01439/2.502, allocations: 8.208 MB / 1.114 GB, free: 0.7656 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000323/2.502, allocations: 68 kB / 1.114 GB, free: 0.6992 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1662) (initialization): time 0.4014/2.904, allocations: 20.88 MB / 1.134 GB, free: 127.3 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002486/2.904, allocations: 113.5 kB / 1.134 GB, free: 127.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005816/2.904, allocations: 246 kB / 1.135 GB, free: 127.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009591/2.914, allocations: 3.236 MB / 1.138 GB, free: 127.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01294/2.927, allocations: 3.089 MB / 1.141 GB, free: 127.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02779/2.955, allocations: 22.5 MB / 1.163 GB, free: 121.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01291/2.968, allocations: 0.7548 MB / 1.164 GB, free: 121.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003177/2.971, allocations: 0.7408 MB / 1.164 GB, free: 121.9 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1122 * 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 (1542): * Single equations (assignments): 1535 * 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.005163/2.976, allocations: 1.109 MB / 1.165 GB, free: 121.7 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002779/2.979, allocations: 0.8748 MB / 1.166 GB, free: 121.7 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02206/3.001, allocations: 12.26 MB / 1.178 GB, free: 121.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.353e-05/3.001, allocations: 54.39 kB / 1.178 GB, free: 121.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-05/3.001, allocations: 20.22 kB / 1.178 GB, free: 121.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001101/3.001, allocations: 26.53 kB / 1.178 GB, free: 121.4 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05907/3.06, allocations: 27.17 MB / 1.205 GB, free: 114.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.568e-05/3.061, allocations: 5.438 kB / 1.205 GB, free: 114.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005633/3.066, allocations: 0.9755 MB / 1.206 GB, free: 114.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007101/3.073, allocations: 2.831 MB / 1.209 GB, free: 113.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001247/3.075, allocations: 93.16 kB / 1.209 GB, free: 113.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02344/3.098, allocations: 21.02 MB / 1.229 GB, free: 102.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/3.098, allocations: 7.438 kB / 1.229 GB, free: 102.4 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03183/3.13, allocations: 20.34 MB / 1.249 GB, free: 91.92 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003287/3.133, allocations: 0.9395 MB / 1.25 GB, free: 91 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003524/3.137, allocations: 88 kB / 1.25 GB, free: 90.91 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006811/3.144, allocations: 412.7 kB / 1.25 GB, free: 90.66 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002001/3.146, allocations: 333.3 kB / 1.251 GB, free: 90.46 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001225/3.147, allocations: 129.9 kB / 1.251 GB, free: 90.33 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0135/3.16, allocations: 6.106 MB / 1.257 GB, free: 85 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.81e-07/3.161, allocations: 0 / 1.257 GB, free: 85 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0173/3.178, allocations: 2.628 MB / 1.259 GB, free: 82.38 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (435): * Single equations (assignments): 428 * 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.001869/3.18, allocations: 270 kB / 1.26 GB, free: 82.17 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02219/3.202, allocations: 13.91 MB / 1.273 GB, free: 70.09 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/3.202, allocations: 4 kB / 1.273 GB, free: 70.09 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01099/3.213, allocations: 6.033 MB / 1.279 GB, free: 64.7 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009161/3.222, allocations: 1.176 MB / 1.28 GB, free: 63.74 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0462/3.268, allocations: 21.43 MB / 1.301 GB, free: 44.77 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01563/3.284, allocations: 7.588 MB / 1.309 GB, free: 39.2 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01318/3.297, allocations: 4.216 MB / 1.313 GB, free: 35.01 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003565/3.301, allocations: 0.5931 MB / 1.313 GB, free: 34.42 MB / 0.573 GB Notification: Performance of SimCode: time 9.32e-07/3.301, allocations: 0 / 1.313 GB, free: 34.42 MB / 0.573 GB Notification: Performance of Templates: time 0.4833/3.784, allocations: 99.69 MB / 1.411 GB, free: 114.5 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