Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,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",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001057, allocations: 195 kB / 16.79 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 226.5 MB / 244.1 MB, free: 6.371 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000822/0.0008219, allocations: 99.25 kB / 296.1 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3046/0.3046, allocations: 44.82 MB / 392.9 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000265/0.0002652, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2898, allocations: 62.96 MB / 0.5165 GB, free: 37.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.4119, allocations: 108.4 MB / 0.6223 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/0.4121, allocations: 79.95 kB / 0.6224 GB, free: 12.93 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4748/0.8869, allocations: 119.5 MB / 0.7391 GB, free: 93.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.937e-06/0.887, allocations: 0 / 0.7391 GB, free: 93.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003866/0.8874, allocations: 117.1 kB / 0.7392 GB, free: 93.66 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: 2101 * Number of variables: 2101 Notification: Performance of Generate backend data structure: time 0.01789/0.9053, allocations: 6.113 MB / 0.7452 GB, free: 90.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.9054, allocations: 10.91 kB / 0.7452 GB, free: 90.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02082/0.9262, allocations: 5.321 MB / 0.7504 GB, free: 87.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01221/0.9385, allocations: 5.339 MB / 0.7556 GB, free: 84.28 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004502/0.939, allocations: 457.5 kB / 0.756 GB, free: 84.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002725/0.9417, allocations: 0.5869 MB / 0.7566 GB, free: 83.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03025/0.972, allocations: 14.89 MB / 0.7712 GB, free: 70.56 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003572/0.9724, allocations: 79.42 kB / 0.7712 GB, free: 70.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00209/0.9745, allocations: 287.8 kB / 0.7715 GB, free: 70.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001629/0.9761, allocations: 1.373 MB / 0.7729 GB, free: 68.83 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02278/0.9989, allocations: 12.48 MB / 0.785 GB, free: 56.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0586/1.058, allocations: 60.78 MB / 0.8444 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01482/1.072, allocations: 5.993 MB / 0.8502 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004336/1.077, allocations: 3.588 MB / 0.8537 GB, free: 12 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0178/1.095, allocations: 12.76 MB / 0.8662 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.899e-05/1.095, allocations: 60.5 kB / 0.8663 GB, free: 3.016 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=228): time 5.06e-06/1.095, allocations: 0 / 0.8663 GB, free: 3.016 MB / 0.5105 GB Notification: Performance of matching and sorting (n=270): time 0.3143/1.409, allocations: 26.43 MB / 0.8921 GB, free: 129 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/1.409, allocations: 208.5 kB / 0.8923 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006755/1.416, allocations: 4.994 MB / 0.8972 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005231/1.417, allocations: 69.83 kB / 0.8972 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002313/1.419, allocations: 4.038 MB / 0.9012 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001022/1.42, allocations: 1.01 MB / 0.9021 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003667/1.42, allocations: 142.4 kB / 0.9023 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002916/1.421, allocations: 0.6053 MB / 0.9029 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003992/1.425, allocations: 3.01 MB / 0.9058 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005955/1.431, allocations: 7.144 MB / 0.9128 GB, free: 120 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01183/1.442, allocations: 11.03 MB / 0.9236 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002145/1.443, allocations: 41.34 kB / 0.9236 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=939) (initialization): time 0.02255/1.465, allocations: 11.43 MB / 0.9348 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001207/1.465, allocations: 71.3 kB / 0.9348 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000197/1.466, allocations: 145 kB / 0.935 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004244/1.47, allocations: 1.637 MB / 0.9366 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005652/1.475, allocations: 1.667 MB / 0.9382 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0119/1.487, allocations: 11.36 MB / 0.9493 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00598/1.493, allocations: 430 kB / 0.9497 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001478/1.495, allocations: 431.5 kB / 0.9501 GB, free: 102.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 59 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (867): * Single equations (assignments): 862 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006774/1.502, allocations: 2.801 MB / 0.9528 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001162/1.503, allocations: 463.3 kB / 0.9533 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009762/1.513, allocations: 6.069 MB / 0.9592 GB, free: 98.74 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.786e-05/1.513, allocations: 28.97 kB / 0.9592 GB, free: 98.74 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.902e-05/1.513, allocations: 11.05 kB / 0.9593 GB, free: 98.74 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.943e-05/1.513, allocations: 14.11 kB / 0.9593 GB, free: 98.74 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0231/1.536, allocations: 13.51 MB / 0.9725 GB, free: 93.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-05/1.536, allocations: 0 / 0.9725 GB, free: 93.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002199/1.538, allocations: 442 kB / 0.9729 GB, free: 93.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003301/1.542, allocations: 1.419 MB / 0.9743 GB, free: 93.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003528/1.542, allocations: 46.62 kB / 0.9743 GB, free: 93.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01112/1.553, allocations: 10.61 MB / 0.9847 GB, free: 84.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/1.553, allocations: 0 / 0.9847 GB, free: 84.72 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/1.566, allocations: 9.781 MB / 0.9942 GB, free: 76.31 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/1.567, allocations: 0.4964 MB / 0.9947 GB, free: 75.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006641/1.568, allocations: 46.89 kB / 0.9948 GB, free: 75.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00195/1.57, allocations: 213.4 kB / 0.995 GB, free: 75.63 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004271/1.57, allocations: 159.3 kB / 0.9951 GB, free: 75.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001903/1.57, allocations: 67.05 kB / 0.9952 GB, free: 75.47 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004467/1.575, allocations: 3.126 MB / 0.9982 GB, free: 72.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/1.575, allocations: 0 / 0.9982 GB, free: 72.91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006674/1.581, allocations: 1.412 MB / 0.9996 GB, free: 71.51 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (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 (212): * Single equations (assignments): 207 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.0005069/1.582, allocations: 197.7 kB / 0.9998 GB, free: 71.32 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009035/1.591, allocations: 7.52 MB / 1.007 GB, free: 64.71 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/1.591, allocations: 0 / 1.007 GB, free: 64.71 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004204/1.595, allocations: 3.156 MB / 1.01 GB, free: 61.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004129/1.599, allocations: 0.6488 MB / 1.011 GB, free: 61.43 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02337/1.623, allocations: 16.66 MB / 1.027 GB, free: 46.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004194/1.627, allocations: 4.362 MB / 1.031 GB, free: 41.69 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001529/1.628, allocations: 375.4 kB / 1.032 GB, free: 41.32 MB / 0.5261 GB Notification: Performance of SimCode: time 9.12e-07/1.628, allocations: 0 / 1.032 GB, free: 41.32 MB / 0.5261 GB Notification: Performance of Templates: time 0.3817/2.01, allocations: 131 MB / 1.16 GB, free: 101.3 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches