Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,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.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001159/0.001159, allocations: 191 kB / 16.78 MB, free: 4.926 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 226.5 MB / 244.1 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000776/0.0007762, allocations: 105.9 kB / 296.1 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3176/0.3176, allocations: 44.83 MB / 393 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000247/0.000247, allocations: 8 kB / 465.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2975, allocations: 62.96 MB / 0.5165 GB, free: 37.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1255/0.4231, allocations: 108.9 MB / 0.6228 GB, free: 12.45 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.4233, allocations: 83.97 kB / 0.6229 GB, free: 12.36 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4753/0.8987, allocations: 121.4 MB / 0.7415 GB, free: 93.28 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.8987, allocations: 0 / 0.7415 GB, free: 93.28 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002981/0.899, allocations: 117.4 kB / 0.7416 GB, free: 93.28 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: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 0.01713/0.9162, allocations: 6.191 MB / 0.7476 GB, free: 89.22 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.9162, allocations: 11.31 kB / 0.7476 GB, free: 89.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02066/0.9369, allocations: 5.359 MB / 0.7529 GB, free: 86.37 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01165/0.9486, allocations: 5.334 MB / 0.7581 GB, free: 83.19 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004053/0.949, allocations: 462.5 kB / 0.7585 GB, free: 82.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00246/0.9515, allocations: 0.604 MB / 0.7591 GB, free: 82.76 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0316/0.9831, allocations: 15.09 MB / 0.7738 GB, free: 67.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004712/0.9836, allocations: 87.42 kB / 0.7739 GB, free: 67.72 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002359/0.986, allocations: 291.8 kB / 0.7742 GB, free: 67.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001724/0.9877, allocations: 1.357 MB / 0.7755 GB, free: 66.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02318/1.011, allocations: 12.4 MB / 0.7876 GB, free: 53.65 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06963/1.081, allocations: 64.76 MB / 0.8509 GB, free: 2.941 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01732/1.098, allocations: 6.977 MB / 0.8577 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004263/1.102, allocations: 3.33 MB / 0.8609 GB, free: 8.473 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/1.102, allocations: 37.27 kB / 0.861 GB, free: 8.434 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.277e-05/1.103, allocations: 63.81 kB / 0.861 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=218): time 5.51e-06/1.103, allocations: 3.938 kB / 0.861 GB, free: 8.359 MB / 0.5105 GB Notification: Performance of matching and sorting (n=260): time 0.3245/1.427, allocations: 28.77 MB / 0.8891 GB, free: 130 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.705e-05/1.427, allocations: 214.7 kB / 0.8893 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009934/1.437, allocations: 6.021 MB / 0.8952 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000711/1.438, allocations: 63.39 kB / 0.8953 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003288/1.441, allocations: 4.209 MB / 0.8994 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001468/1.443, allocations: 0.9902 MB / 0.9004 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000583/1.443, allocations: 148.3 kB / 0.9005 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000381/1.444, allocations: 0.6274 MB / 0.9011 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00456/1.448, allocations: 3.192 MB / 0.9042 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007787/1.456, allocations: 7.677 MB / 0.9117 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01412/1.47, allocations: 11.78 MB / 0.9232 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002954/1.471, allocations: 45.47 kB / 0.9233 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=990) (initialization): time 0.02368/1.494, allocations: 12.12 MB / 0.9351 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001686/1.494, allocations: 72.44 kB / 0.9352 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002737/1.495, allocations: 158.5 kB / 0.9353 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00406/1.499, allocations: 1.654 MB / 0.937 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006569/1.505, allocations: 1.83 MB / 0.9387 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/1.518, allocations: 11.38 MB / 0.9499 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007405/1.526, allocations: 463.7 kB / 0.9503 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001883/1.528, allocations: 467.7 kB / 0.9507 GB, free: 101.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 719 * Number of states: 0 () * Number of discrete variables: 62 (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],fixed2.color[3],fixed2.color[2],fixed2.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 (918): * Single equations (assignments): 913 * 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.008052/1.536, allocations: 2.875 MB / 0.9535 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001842/1.538, allocations: 0.5075 MB / 0.954 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01242/1.55, allocations: 6.211 MB / 0.9601 GB, free: 98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.248e-05/1.55, allocations: 27.97 kB / 0.9601 GB, free: 98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-05/1.55, allocations: 7.156 kB / 0.9601 GB, free: 98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.405e-05/1.55, allocations: 14.73 kB / 0.9602 GB, free: 98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02732/1.578, allocations: 13.75 MB / 0.9736 GB, free: 93.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/1.578, allocations: 0 / 0.9736 GB, free: 93.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002367/1.58, allocations: 497.8 kB / 0.9741 GB, free: 93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003261/1.583, allocations: 1.414 MB / 0.9754 GB, free: 92.01 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003767/1.584, allocations: 46.62 kB / 0.9755 GB, free: 91.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01139/1.595, allocations: 10.61 MB / 0.9858 GB, free: 82.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.595, allocations: 4 kB / 0.9859 GB, free: 82.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01379/1.609, allocations: 10.1 MB / 0.9957 GB, free: 73.81 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001906/1.611, allocations: 0.5893 MB / 0.9963 GB, free: 73.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001376/1.612, allocations: 41.25 kB / 0.9963 GB, free: 73.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002865/1.615, allocations: 220.3 kB / 0.9965 GB, free: 73.05 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005969/1.616, allocations: 150.2 kB / 0.9967 GB, free: 72.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002205/1.616, allocations: 74.12 kB / 0.9968 GB, free: 72.89 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006871/1.623, allocations: 3.826 MB / 1 GB, free: 69.74 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.01e-07/1.623, allocations: 0 / 1 GB, free: 69.74 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00806/1.631, allocations: 1.477 MB / 1.002 GB, free: 68.27 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 (202): * Single equations (assignments): 197 * 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.0007177/1.632, allocations: 194.9 kB / 1.002 GB, free: 68.09 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01099/1.643, allocations: 7.896 MB / 1.01 GB, free: 61.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/1.643, allocations: 0 / 1.01 GB, free: 61.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004821/1.648, allocations: 3.207 MB / 1.013 GB, free: 58.36 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005743/1.653, allocations: 0.6917 MB / 1.014 GB, free: 57.78 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02783/1.681, allocations: 16.94 MB / 1.03 GB, free: 41.74 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007556/1.689, allocations: 4.424 MB / 1.035 GB, free: 37.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001747/1.691, allocations: 403.3 kB / 1.035 GB, free: 36.91 MB / 0.5261 GB Notification: Performance of SimCode: time 8.01e-07/1.691, allocations: 5.5 kB / 1.035 GB, free: 36.91 MB / 0.5261 GB Notification: Performance of Templates: time 0.3929/2.084, allocations: 136.8 MB / 1.168 GB, free: 93.55 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches