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.001117/0.001117, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00084/0.0008401, allocations: 87.97 kB / 292.1 MB, free: 5.941 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1825/0.1825, allocations: 45.14 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.64e-05/3.643e-05, allocations: 4 kB / 460.4 MB, free: 70.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1067, allocations: 63.25 MB / 0.5114 GB, free: 6.82 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3853/0.4921, allocations: 111.6 MB / 0.6204 GB, free: 14.63 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/0.4923, allocations: 78.27 kB / 0.6205 GB, free: 14.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7568/1.249, allocations: 210.7 MB / 0.8262 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.375e-06/1.249, allocations: 0 / 0.8262 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0006982/1.25, allocations: 222.3 kB / 0.8264 GB, free: 100.5 MB / 0.5261 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.0348/1.285, allocations: 10.73 MB / 0.8369 GB, free: 96.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/1.285, allocations: 20.97 kB / 0.8369 GB, free: 96.68 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04394/1.329, allocations: 12.44 MB / 0.849 GB, free: 95.64 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02517/1.354, allocations: 10.57 MB / 0.8594 GB, free: 90 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007894/1.355, allocations: 0.82 MB / 0.8602 GB, free: 89.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005217/1.36, allocations: 1.103 MB / 0.8612 GB, free: 88.19 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05494/1.415, allocations: 25.72 MB / 0.8864 GB, free: 60.72 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007599/1.416, allocations: 130.8 kB / 0.8865 GB, free: 60.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00385/1.42, allocations: 0.5104 MB / 0.887 GB, free: 60.14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002841/1.422, allocations: 2.354 MB / 0.8893 GB, free: 57.79 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03986/1.462, allocations: 20.99 MB / 0.9098 GB, free: 36.78 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3968/1.859, allocations: 108.5 MB / 1.016 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0286/1.888, allocations: 12.36 MB / 1.028 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006901/1.895, allocations: 6.964 MB / 1.035 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001932/1.897, allocations: 2.321 MB / 1.037 GB, free: 52.47 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/1.897, allocations: 88.64 kB / 1.037 GB, free: 52.43 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=443): time 7.413e-06/1.897, allocations: 0 / 1.037 GB, free: 52.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=527): time 0.1142/2.011, allocations: 48.65 MB / 1.084 GB, free: 42.56 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.829e-05/2.011, allocations: 308.8 kB / 1.085 GB, free: 42.24 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01175/2.023, allocations: 8.525 MB / 1.093 GB, free: 39.41 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001136/2.024, allocations: 110.7 kB / 1.093 GB, free: 39.32 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003793/2.028, allocations: 7.129 MB / 1.1 GB, free: 33.89 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002394/2.03, allocations: 1.953 MB / 1.102 GB, free: 32.44 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007244/2.031, allocations: 258.1 kB / 1.102 GB, free: 32.24 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0005792/2.032, allocations: 0.8384 MB / 1.103 GB, free: 31.71 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006915/2.038, allocations: 5.486 MB / 1.108 GB, free: 29.82 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009864/2.048, allocations: 12.48 MB / 1.121 GB, free: 17.71 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01106/2.059, allocations: 8.184 MB / 1.129 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001908/2.06, allocations: 68 kB / 1.129 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1656) (initialization): time 0.04011/2.1, allocations: 20.76 MB / 1.149 GB, free: 9.91 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003989/2.1, allocations: 109.2 kB / 1.149 GB, free: 9.805 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005644/2.101, allocations: 244 kB / 1.149 GB, free: 9.566 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008059/2.109, allocations: 3.232 MB / 1.152 GB, free: 7.184 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01153/2.12, allocations: 3.086 MB / 1.155 GB, free: 4.605 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02876/2.149, allocations: 22.49 MB / 1.177 GB, free: 396 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01175/2.161, allocations: 0.7613 MB / 1.178 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002874/2.164, allocations: 0.7396 MB / 1.179 GB, free: 15.05 MB / 0.6042 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 () * 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.004521/2.168, allocations: 1.089 MB / 1.18 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002882/2.171, allocations: 0.8677 MB / 1.181 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02593/2.197, allocations: 12.27 MB / 1.193 GB, free: 2.516 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.469e-05/2.197, allocations: 52 kB / 1.193 GB, free: 2.465 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-05/2.197, allocations: 19.38 kB / 1.193 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.202e-05/2.197, allocations: 23.91 kB / 1.193 GB, free: 2.426 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3339/2.531, allocations: 27.18 MB / 1.219 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-05/2.531, allocations: 9.547 kB / 1.219 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00482/2.536, allocations: 0.9704 MB / 1.22 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006341/2.543, allocations: 2.826 MB / 1.223 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008835/2.544, allocations: 92.05 kB / 1.223 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0219/2.565, allocations: 21.02 MB / 1.244 GB, free: 148 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/2.566, allocations: 14.73 kB / 1.244 GB, free: 147.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02762/2.593, allocations: 20.33 MB / 1.264 GB, free: 139.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003213/2.596, allocations: 0.9302 MB / 1.265 GB, free: 139.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002604/2.599, allocations: 96.83 kB / 1.265 GB, free: 139.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005213/2.604, allocations: 408.9 kB / 1.265 GB, free: 139.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00124/2.605, allocations: 325.3 kB / 1.265 GB, free: 139.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004316/2.606, allocations: 142.2 kB / 1.265 GB, free: 139.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.01023/2.616, allocations: 6.085 MB / 1.271 GB, free: 137.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.052e-06/2.616, allocations: 2.344 kB / 1.271 GB, free: 137.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01241/2.629, allocations: 2.62 MB / 1.274 GB, free: 137 MB / 0.6042 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.0008256/2.629, allocations: 271.9 kB / 1.274 GB, free: 136.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01899/2.648, allocations: 13.9 MB / 1.288 GB, free: 132.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/2.649, allocations: 3.906 kB / 1.288 GB, free: 132.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.008737/2.657, allocations: 6.025 MB / 1.294 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00771/2.665, allocations: 1.18 MB / 1.295 GB, free: 129.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03617/2.701, allocations: 21.42 MB / 1.316 GB, free: 111 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01064/2.712, allocations: 7.587 MB / 1.323 GB, free: 105.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.01069/2.723, allocations: 4.215 MB / 1.327 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002636/2.725, allocations: 0.5939 MB / 1.328 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of SimCode: time 1.012e-06/2.725, allocations: 0 / 1.328 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of Templates: time 0.4459/3.171, allocations: 99.6 MB / 1.425 GB, free: 142 MB / 0.6042 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