Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.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.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001641/0.001641, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 226.5 MB / 245.4 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008037/0.0008036, allocations: 98.33 kB / 297.5 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3741/0.3741, allocations: 44.83 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002811/0.0002813, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3808, allocations: 62.96 MB / 0.5184 GB, free: 37.42 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1457/0.5265, allocations: 108 MB / 0.6238 GB, free: 13.32 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003576/0.5269, allocations: 75.95 kB / 0.6239 GB, free: 13.25 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.686/1.213, allocations: 132.6 MB / 0.7534 GB, free: 87.06 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.717e-06/1.213, allocations: 2.625 kB / 0.7534 GB, free: 87.06 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006457/1.214, allocations: 128.4 kB / 0.7535 GB, free: 87.05 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.02999/1.244, allocations: 6.812 MB / 0.7602 GB, free: 82.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/1.244, allocations: 7.375 kB / 0.7602 GB, free: 82.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03044/1.274, allocations: 6.987 MB / 0.767 GB, free: 77.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0193/1.294, allocations: 6.628 MB / 0.7735 GB, free: 71.17 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000708/1.294, allocations: 493.2 kB / 0.7739 GB, free: 70.69 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004174/1.299, allocations: 0.6368 MB / 0.7746 GB, free: 70.05 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03887/1.337, allocations: 15.17 MB / 0.7894 GB, free: 53.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006786/1.338, allocations: 103.3 kB / 0.7895 GB, free: 53.33 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003556/1.342, allocations: 315.8 kB / 0.7898 GB, free: 53.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002068/1.344, allocations: 1.342 MB / 0.7911 GB, free: 51.67 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02659/1.37, allocations: 11.92 MB / 0.8027 GB, free: 39.73 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0872/1.458, allocations: 67.58 MB / 0.8687 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01254/1.47, allocations: 5.226 MB / 0.8738 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00376/1.474, allocations: 2.627 MB / 0.8764 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/1.474, allocations: 32.88 kB / 0.8764 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.099e-05/1.474, allocations: 55.5 kB / 0.8765 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=186): time 6.773e-06/1.474, allocations: 0 / 0.8765 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=204): time 0.4141/1.888, allocations: 19.53 MB / 0.8956 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/1.889, allocations: 252.7 kB / 0.8958 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01167/1.9, allocations: 6.67 MB / 0.9023 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005662/1.901, allocations: 55.36 kB / 0.9024 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003602/1.905, allocations: 4.698 MB / 0.9069 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001289/1.906, allocations: 0.8186 MB / 0.9077 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003661/1.906, allocations: 151.3 kB / 0.9079 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003937/1.907, allocations: 0.6326 MB / 0.9085 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004288/1.911, allocations: 2.468 MB / 0.9109 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007512/1.918, allocations: 7.433 MB / 0.9182 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0137/1.932, allocations: 10.78 MB / 0.9287 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000522/1.933, allocations: 49.31 kB / 0.9288 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1011) (initialization): time 0.02487/1.958, allocations: 10.18 MB / 0.9387 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005722/1.958, allocations: 80.38 kB / 0.9388 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006428/1.959, allocations: 176.4 kB / 0.9389 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00295/1.962, allocations: 0.8074 MB / 0.9397 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007178/1.969, allocations: 1.764 MB / 0.9415 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/1.98, allocations: 8.496 MB / 0.9497 GB, free: 96.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009378/1.989, allocations: 415.2 kB / 0.9501 GB, free: 96.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002351/1.992, allocations: 489.4 kB / 0.9506 GB, free: 96.02 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 801 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.arrowLine.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.arrow.arrowLine.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (945): * Single equations (assignments): 939 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0118/2.004, allocations: 3.054 MB / 0.9536 GB, free: 94.61 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002164/2.006, allocations: 0.5469 MB / 0.9541 GB, free: 94.31 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008038/2.014, allocations: 3.425 MB / 0.9575 GB, free: 93.01 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.966e-05/2.014, allocations: 23.66 kB / 0.9575 GB, free: 93.01 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.132e-05/2.014, allocations: 6.531 kB / 0.9575 GB, free: 93.01 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.734e-05/2.014, allocations: 9.453 kB / 0.9575 GB, free: 93.01 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02613/2.04, allocations: 9.624 MB / 0.9669 GB, free: 89.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.21e-05/2.04, allocations: 0 / 0.9669 GB, free: 89.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001548/2.042, allocations: 302.1 kB / 0.9672 GB, free: 89.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001493/2.043, allocations: 0.5295 MB / 0.9677 GB, free: 89.28 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002666/2.044, allocations: 35.31 kB / 0.9677 GB, free: 89.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00742/2.051, allocations: 7.599 MB / 0.9752 GB, free: 83.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/2.051, allocations: 3.938 kB / 0.9752 GB, free: 83.67 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009406/2.06, allocations: 6.104 MB / 0.9811 GB, free: 81.07 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00256/2.063, allocations: 0.6171 MB / 0.9817 GB, free: 80.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00185/2.065, allocations: 31.94 kB / 0.9818 GB, free: 80.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003005/2.068, allocations: 110.5 kB / 0.9819 GB, free: 80.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004007/2.068, allocations: 121.3 kB / 0.982 GB, free: 80.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/2.069, allocations: 55.89 kB / 0.982 GB, free: 80.54 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009828/2.078, allocations: 4.241 MB / 0.9862 GB, free: 77.79 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.5e-07/2.078, allocations: 4 kB / 0.9862 GB, free: 77.79 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01071/2.089, allocations: 1.383 MB / 0.9875 GB, free: 76.41 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (153): * Single equations (assignments): 147 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000752/2.09, allocations: 176 kB / 0.9877 GB, free: 76.24 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0111/2.101, allocations: 6.291 MB / 0.9938 GB, free: 70.71 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/2.101, allocations: 4 kB / 0.9939 GB, free: 70.71 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002848/2.104, allocations: 1.984 MB / 0.9958 GB, free: 68.94 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008728/2.113, allocations: 0.7761 MB / 0.9965 GB, free: 68.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03233/2.145, allocations: 15.75 MB / 1.012 GB, free: 53.85 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00863/2.154, allocations: 4.663 MB / 1.016 GB, free: 50.32 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007457/2.161, allocations: 2.51 MB / 1.019 GB, free: 48.72 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001383/2.163, allocations: 357 kB / 1.019 GB, free: 48.38 MB / 0.5261 GB Notification: Performance of SimCode: time 1.273e-06/2.163, allocations: 0 / 1.019 GB, free: 48.38 MB / 0.5261 GB Notification: Performance of Templates: time 0.09777/2.26, allocations: 50.82 MB / 1.069 GB, free: 2.738 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches