Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Torque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001364/0.001364, allocations: 198.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.228/1.228, allocations: 227.2 MB / 245 MB, free: 7.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000893/0.000893, allocations: 100.3 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3403/0.3403, allocations: 45.23 MB / 394.7 MB, free: 31.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000268/0.000268, allocations: 8 kB / 468.4 MB, free: 7.727 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3463, allocations: 63.24 MB / 0.5192 GB, free: 43.66 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1429/0.4893, allocations: 111.7 MB / 0.6283 GB, free: 9.891 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.4896, allocations: 79.95 kB / 0.6284 GB, free: 9.812 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6816/1.171, allocations: 210.5 MB / 0.8339 GB, free: 39.92 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.134e-06/1.171, allocations: 0 / 0.8339 GB, free: 39.92 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006405/1.172, allocations: 220 kB / 0.8341 GB, free: 39.7 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.03532/1.207, allocations: 11.59 MB / 0.8454 GB, free: 28.01 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/1.207, allocations: 8.031 kB / 0.8454 GB, free: 28 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04488/1.252, allocations: 12.43 MB / 0.8576 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02646/1.279, allocations: 10.63 MB / 0.8679 GB, free: 4.832 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009137/1.28, allocations: 0.8223 MB / 0.8687 GB, free: 4.008 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005751/1.285, allocations: 1.093 MB / 0.8698 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06048/1.346, allocations: 25.92 MB / 0.8951 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008364/1.347, allocations: 134.8 kB / 0.8953 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005138/1.352, allocations: 0.5037 MB / 0.8957 GB, free: 6.426 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003852/1.356, allocations: 2.345 MB / 0.898 GB, free: 4.078 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3255/1.681, allocations: 21.3 MB / 0.9188 GB, free: 73.94 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1165/1.798, allocations: 108.5 MB / 1.025 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02771/1.826, allocations: 12.43 MB / 1.037 GB, free: 8.039 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002224/1.828, allocations: 2.335 MB / 1.039 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.752e-05/1.828, allocations: 79.09 kB / 1.039 GB, free: 5.914 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=443): time 6.833e-06/1.828, allocations: 0 / 1.039 GB, free: 5.914 MB / 0.5261 GB Notification: Performance of matching and sorting (n=527): time 0.1381/1.966, allocations: 57.05 MB / 1.095 GB, free: 2.344 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001741/1.966, allocations: 317 kB / 1.095 GB, free: 1.969 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0287/1.995, allocations: 9.783 MB / 1.105 GB, free: 13.62 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001373/1.996, allocations: 101.7 kB / 1.105 GB, free: 13.52 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.005901/2.002, allocations: 7.127 MB / 1.112 GB, free: 7.035 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002832/2.005, allocations: 1.95 MB / 1.114 GB, free: 5.105 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001176/2.006, allocations: 256 kB / 1.114 GB, free: 4.855 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0008452/2.007, allocations: 0.8434 MB / 1.115 GB, free: 4.004 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3056/2.313, allocations: 5.58 MB / 1.12 GB, free: 119.3 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01237/2.325, allocations: 12.58 MB / 1.133 GB, free: 110.3 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01127/2.336, allocations: 8.207 MB / 1.141 GB, free: 110.3 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001665/2.337, allocations: 71.94 kB / 1.141 GB, free: 110.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=1656) (initialization): time 0.0349/2.372, allocations: 20.95 MB / 1.161 GB, free: 109.3 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003716/2.372, allocations: 107.8 kB / 1.161 GB, free: 109.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005251/2.373, allocations: 244.9 kB / 1.161 GB, free: 109.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008711/2.381, allocations: 3.242 MB / 1.165 GB, free: 109.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01201/2.393, allocations: 3.081 MB / 1.168 GB, free: 109 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02486/2.418, allocations: 23.15 MB / 1.19 GB, free: 101 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01154/2.43, allocations: 0.765 MB / 1.191 GB, free: 100.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002897/2.433, allocations: 0.7384 MB / 1.192 GB, free: 100.7 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1116 * 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.torqueArrow.arrowLine.twoHeadedArrow,torque4.torqueArrow.headAtOrigin,torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceArrow.arrowLine.twoHeadedArrow,torque4.forceArrow.headAtOrigin,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.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 (1536): * Single equations (assignments): 1529 * 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.01163/2.444, allocations: 4.873 MB / 1.196 GB, free: 98.61 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001965/2.446, allocations: 0.8701 MB / 1.197 GB, free: 98.61 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02018/2.467, allocations: 12.35 MB / 1.209 GB, free: 94.14 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.82e-05/2.467, allocations: 54.72 kB / 1.209 GB, free: 94.14 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.389e-05/2.467, allocations: 16.47 kB / 1.209 GB, free: 94.14 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.334e-05/2.467, allocations: 28.52 kB / 1.209 GB, free: 94.14 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04782/2.515, allocations: 27.28 MB / 1.236 GB, free: 84.68 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.693e-05/2.515, allocations: 3.375 kB / 1.236 GB, free: 84.68 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004954/2.52, allocations: 0.9794 MB / 1.237 GB, free: 84.53 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006841/2.526, allocations: 2.831 MB / 1.24 GB, free: 82.57 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001193/2.528, allocations: 91.8 kB / 1.24 GB, free: 82.48 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02239/2.55, allocations: 21.67 MB / 1.261 GB, free: 63.35 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/2.55, allocations: 8 kB / 1.261 GB, free: 63.34 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02723/2.577, allocations: 20.48 MB / 1.281 GB, free: 45.57 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00277/2.58, allocations: 0.9395 MB / 1.282 GB, free: 44.66 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002465/2.583, allocations: 90.39 kB / 1.282 GB, free: 44.57 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005047/2.588, allocations: 409.2 kB / 1.282 GB, free: 44.32 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001052/2.589, allocations: 328.2 kB / 1.283 GB, free: 44.11 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006016/2.589, allocations: 137.6 kB / 1.283 GB, free: 43.98 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01081/2.6, allocations: 6.18 MB / 1.289 GB, free: 38.96 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.71e-07/2.6, allocations: 0 / 1.289 GB, free: 38.96 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01333/2.614, allocations: 2.627 MB / 1.292 GB, free: 36.34 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.001254/2.615, allocations: 278.9 kB / 1.292 GB, free: 36.09 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01904/2.634, allocations: 14.06 MB / 1.306 GB, free: 23.73 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/2.634, allocations: 0 / 1.306 GB, free: 23.73 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01026/2.644, allocations: 6.111 MB / 1.311 GB, free: 18.39 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007755/2.652, allocations: 1.174 MB / 1.313 GB, free: 17.42 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3308/2.983, allocations: 29.82 MB / 1.342 GB, free: 96.05 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01151/2.994, allocations: 7.586 MB / 1.349 GB, free: 95.07 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01027/3.005, allocations: 4.222 MB / 1.353 GB, free: 94.98 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002109/3.007, allocations: 0.5829 MB / 1.354 GB, free: 94.98 MB / 0.573 GB Notification: Performance of SimCode: time 7.12e-07/3.007, allocations: 2.875 kB / 1.354 GB, free: 94.98 MB / 0.573 GB Notification: Performance of Templates: time 0.1555/3.162, allocations: 99.61 MB / 1.451 GB, free: 68.46 MB / 0.573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Torque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches