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.001146/0.001146, allocations: 183 kB / 18.08 MB, free: 3.637 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.265/1.265, allocations: 223.3 MB / 242.1 MB, free: 9.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008344/0.0008343, allocations: 88.41 kB / 293.3 MB, free: 10.57 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.3254/0.3254, allocations: 44.15 MB / 388.5 MB, free: 38.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.000353, allocations: 12 kB / 461.1 MB, free: 1.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3183, allocations: 61.88 MB / 0.5107 GB, free: 37.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1316/0.45, allocations: 110.9 MB / 0.6191 GB, free: 100 kB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.4502, allocations: 79.95 kB / 0.6191 GB, free: 24 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7337/1.184, allocations: 202 MB / 0.8164 GB, free: 29.53 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.817e-06/1.184, allocations: 0 / 0.8164 GB, free: 29.53 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0008508/1.185, allocations: 216 kB / 0.8166 GB, free: 29.32 MB / 490.7 MB 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.03572/1.221, allocations: 10.89 MB / 0.8273 GB, free: 18.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.221, allocations: 16.03 kB / 0.8273 GB, free: 18.31 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03751/1.258, allocations: 9.138 MB / 0.8362 GB, free: 9.141 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02399/1.282, allocations: 10.19 MB / 0.8462 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001015/1.283, allocations: 0.8188 MB / 0.847 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005704/1.289, allocations: 1.101 MB / 0.848 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06646/1.355, allocations: 25.6 MB / 0.873 GB, free: 1.418 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001005/1.356, allocations: 127 kB / 0.8732 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00536/1.362, allocations: 0.5114 MB / 0.8737 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.6126/1.974, allocations: 2.352 MB / 0.876 GB, free: 66.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04525/2.02, allocations: 20.87 MB / 0.8963 GB, free: 66.03 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1302/2.15, allocations: 108.5 MB / 1.002 GB, free: 2.289 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03016/2.18, allocations: 12.25 MB / 1.014 GB, free: 15.25 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009514/2.19, allocations: 7.022 MB / 1.021 GB, free: 12.36 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002567/2.192, allocations: 2.327 MB / 1.023 GB, free: 10.3 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001151/2.193, allocations: 81 kB / 1.023 GB, free: 10.23 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=443): time 7.835e-06/2.193, allocations: 3.938 kB / 1.023 GB, free: 10.22 MB / 0.5262 GB Notification: Performance of matching and sorting (n=527): time 0.1555/2.348, allocations: 56.09 MB / 1.078 GB, free: 15.04 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002081/2.348, allocations: 320 kB / 1.079 GB, free: 14.67 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02259/2.371, allocations: 9.685 MB / 1.088 GB, free: 6.656 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001312/2.372, allocations: 109.2 kB / 1.088 GB, free: 6.547 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.007461/2.38, allocations: 7.126 MB / 1.095 GB, free: 20 kB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.3835/2.763, allocations: 1.942 MB / 1.097 GB, free: 127.8 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001634/2.765, allocations: 263.1 kB / 1.097 GB, free: 127.8 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0008496/2.766, allocations: 0.8472 MB / 1.098 GB, free: 127.4 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009291/2.775, allocations: 5.588 MB / 1.103 GB, free: 127.4 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01557/2.791, allocations: 12.67 MB / 1.116 GB, free: 118.4 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0261/2.817, allocations: 19.82 MB / 1.135 GB, free: 109.4 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005225/2.817, allocations: 73.28 kB / 1.135 GB, free: 109.4 MB / 0.573 GB Notification: Performance of matching and sorting (n=1662) (initialization): time 0.05209/2.869, allocations: 20.99 MB / 1.156 GB, free: 107.8 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006054/2.87, allocations: 111.4 kB / 1.156 GB, free: 107.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008108/2.871, allocations: 252.9 kB / 1.156 GB, free: 107.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008202/2.879, allocations: 3.215 MB / 1.159 GB, free: 107.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01192/2.891, allocations: 3.09 MB / 1.162 GB, free: 107.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02679/2.918, allocations: 22.56 MB / 1.184 GB, free: 95.95 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01285/2.931, allocations: 0.7707 MB / 1.185 GB, free: 95.75 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003735/2.935, allocations: 0.7371 MB / 1.186 GB, free: 95.65 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 () * Number of clocked 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.01547/2.95, allocations: 4.881 MB / 1.191 GB, free: 93.58 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002885/2.953, allocations: 0.8727 MB / 1.191 GB, free: 93.23 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02454/2.978, allocations: 12.36 MB / 1.203 GB, free: 88.76 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.398e-05/2.978, allocations: 51.5 kB / 1.204 GB, free: 88.76 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.967e-05/2.978, allocations: 20.44 kB / 1.204 GB, free: 88.76 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001118/2.978, allocations: 27.38 kB / 1.204 GB, free: 88.76 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05717/3.035, allocations: 27.28 MB / 1.23 GB, free: 70.91 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-05/3.035, allocations: 8 kB / 1.23 GB, free: 70.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005266/3.04, allocations: 0.9764 MB / 1.231 GB, free: 70.14 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006485/3.047, allocations: 2.822 MB / 1.234 GB, free: 68.18 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001298/3.048, allocations: 99.5 kB / 1.234 GB, free: 68.08 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02205/3.07, allocations: 21.08 MB / 1.255 GB, free: 49.25 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/3.07, allocations: 8 kB / 1.255 GB, free: 49.24 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02688/3.097, allocations: 19.13 MB / 1.273 GB, free: 32.75 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003138/3.1, allocations: 0.9376 MB / 1.274 GB, free: 31.83 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003225/3.104, allocations: 99.41 kB / 1.274 GB, free: 31.74 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006105/3.11, allocations: 411.5 kB / 1.275 GB, free: 31.48 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001627/3.111, allocations: 323 kB / 1.275 GB, free: 31.28 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004468/3.112, allocations: 135.3 kB / 1.275 GB, free: 31.15 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01233/3.124, allocations: 6.196 MB / 1.281 GB, free: 26.11 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.91e-07/3.124, allocations: 0.5469 kB / 1.281 GB, free: 26.11 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01528/3.14, allocations: 2.62 MB / 1.284 GB, free: 23.5 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 () * Number of clocked 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.001273/3.141, allocations: 279.6 kB / 1.284 GB, free: 23.24 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0204/3.161, allocations: 14.09 MB / 1.298 GB, free: 10.86 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/3.161, allocations: 0 / 1.298 GB, free: 10.86 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.2875/3.449, allocations: 6.111 MB / 1.304 GB, free: 112.7 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01646/3.465, allocations: 1.249 MB / 1.305 GB, free: 112.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05247/3.518, allocations: 29.5 MB / 1.334 GB, free: 102.3 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01828/3.536, allocations: 7.366 MB / 1.341 GB, free: 101.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0159/3.552, allocations: 4.217 MB / 1.345 GB, free: 101 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00431/3.556, allocations: 0.5898 MB / 1.346 GB, free: 101 MB / 0.573 GB Notification: Performance of SimCode: time 1.816e-05/3.556, allocations: 0 / 1.346 GB, free: 101 MB / 0.573 GB Notification: Performance of Templates: time 0.1757/3.732, allocations: 100.2 MB / 1.443 GB, free: 60.18 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/jenkins1/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