Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002447/0.002447, allocations: 181.8 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.041/2.041, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 100.3 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3003/0.3003, allocations: 43.48 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.689e-05/1.699e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4005, allocations: 58.85 MB / 477.1 MB, free: 5.25 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.244/0.6446, allocations: 106.8 MB / 0.5702 GB, free: 8.492 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004208/0.6451, allocations: 79.95 kB / 0.5703 GB, free: 8.414 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.9136/1.559, allocations: 130.6 MB / 0.6978 GB, free: 101.5 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.164e-06/1.559, allocations: 0 / 0.6978 GB, free: 101.5 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0004142/1.559, allocations: 136.1 kB / 0.6979 GB, free: 101.5 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.02755/1.587, allocations: 6.441 MB / 0.7042 GB, free: 97.65 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/1.587, allocations: 15.06 kB / 0.7042 GB, free: 97.65 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05327/1.64, allocations: 7.126 MB / 0.7112 GB, free: 94.03 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02618/1.666, allocations: 7.248 MB / 0.7182 GB, free: 89.29 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003586/1.667, allocations: 224 kB / 0.7184 GB, free: 89.07 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003373/1.67, allocations: 399.9 kB / 0.7188 GB, free: 88.68 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02303/1.693, allocations: 9.524 MB / 0.7281 GB, free: 79.15 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04156/1.735, allocations: 14.4 MB / 0.7422 GB, free: 63.4 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003479/1.735, allocations: 91.17 kB / 0.7423 GB, free: 63.31 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001883/1.737, allocations: 40 kB / 0.7423 GB, free: 63.27 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002982/1.74, allocations: 1.565 MB / 0.7438 GB, free: 61.71 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.107/1.847, allocations: 67.27 MB / 0.8095 GB, free: 9.043 MB / 491.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0125/1.86, allocations: 5.586 MB / 0.815 GB, free: 3.309 MB / 491.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01133/1.871, allocations: 3.801 MB / 0.8187 GB, free: 15.51 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004453/1.872, allocations: 55.19 kB / 0.8188 GB, free: 15.47 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001113/1.872, allocations: 68.5 kB / 0.8188 GB, free: 15.4 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=290): time 1.315e-05/1.872, allocations: 0 / 0.8188 GB, free: 15.4 MB / 0.4952 GB Notification: Performance of matching and sorting (n=334): time 0.5321/2.404, allocations: 29.32 MB / 0.8475 GB, free: 119.4 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/2.404, allocations: 212.6 kB / 0.8477 GB, free: 119.2 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01271/2.417, allocations: 4.272 MB / 0.8518 GB, free: 118.7 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.001011/2.418, allocations: 26.95 kB / 0.8519 GB, free: 118.7 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.00432/2.422, allocations: 4.613 MB / 0.8564 GB, free: 115.9 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.002307/2.425, allocations: 1.211 MB / 0.8575 GB, free: 115.2 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00141/2.426, allocations: 1.156 kB / 0.8575 GB, free: 115.2 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.000924/2.427, allocations: 0.6895 MB / 0.8582 GB, free: 114.9 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00958/2.437, allocations: 3.628 MB / 0.8618 GB, free: 114.9 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01255/2.449, allocations: 8.652 MB / 0.8702 GB, free: 108.4 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01221/2.461, allocations: 5.508 MB / 0.8756 GB, free: 106.7 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002082/2.462, allocations: 54.12 kB / 0.8756 GB, free: 106.7 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1166) (initialization): time 0.03612/2.498, allocations: 12.54 MB / 0.8879 GB, free: 102.9 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001507/2.498, allocations: 79.25 kB / 0.888 GB, free: 102.9 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002989/2.498, allocations: 184.1 kB / 0.8881 GB, free: 102.9 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007063/2.505, allocations: 1.709 MB / 0.8898 GB, free: 102.6 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01487/2.52, allocations: 2.179 MB / 0.8919 GB, free: 102.3 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02147/2.542, allocations: 10.76 MB / 0.9024 GB, free: 96.61 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01134/2.553, allocations: 373.8 kB / 0.9028 GB, free: 96.59 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002559/2.556, allocations: 0.5259 MB / 0.9033 GB, free: 96.52 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 815 * Number of states: 0 () * Number of discrete variables: 54 (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.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1094): * Single equations (assignments): 1089 * 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%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003963/2.56, allocations: 0.558 MB / 0.9039 GB, free: 96.06 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001736/2.562, allocations: 485.1 kB / 0.9043 GB, free: 95.8 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02178/2.583, allocations: 7.153 MB / 0.9113 GB, free: 93.26 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.833e-05/2.584, allocations: 34.56 kB / 0.9113 GB, free: 93.26 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.349e-05/2.584, allocations: 7.781 kB / 0.9113 GB, free: 93.26 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.394e-05/2.584, allocations: 16.78 kB / 0.9114 GB, free: 93.26 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04548/2.629, allocations: 15.01 MB / 0.926 GB, free: 83.22 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.307e-05/2.629, allocations: 7.641 kB / 0.926 GB, free: 83.21 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006862/2.636, allocations: 0.655 MB / 0.9267 GB, free: 82.71 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006303/2.643, allocations: 1.411 MB / 0.928 GB, free: 81.73 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009484/2.644, allocations: 19.09 kB / 0.9281 GB, free: 81.71 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01831/2.662, allocations: 9.837 MB / 0.9377 GB, free: 72.88 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/2.662, allocations: 4 kB / 0.9377 GB, free: 72.87 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02783/2.69, allocations: 12.34 MB / 0.9497 GB, free: 61.93 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005682/2.696, allocations: 1.088 MB / 0.9508 GB, free: 60.91 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003165/2.699, allocations: 11.38 kB / 0.9508 GB, free: 60.91 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0089/2.708, allocations: 219.7 kB / 0.951 GB, free: 60.79 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001996/2.71, allocations: 199.9 kB / 0.9512 GB, free: 60.66 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001271/2.711, allocations: 91.55 kB / 0.9513 GB, free: 60.57 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.01033/2.722, allocations: 2.86 MB / 0.9541 GB, free: 58.1 MB / 0.4952 GB Notification: Performance of sort global known variables: time 6.81e-07/2.722, allocations: 3.375 kB / 0.9541 GB, free: 58.1 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.01212/2.734, allocations: 1.438 MB / 0.9555 GB, free: 56.66 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (280): * Single equations (assignments): 275 * 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.001279/2.735, allocations: 163.5 kB / 0.9556 GB, free: 56.51 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0211/2.756, allocations: 9.099 MB / 0.9645 GB, free: 48.33 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/2.756, allocations: 0 / 0.9645 GB, free: 48.33 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.009319/2.766, allocations: 3.648 MB / 0.9681 GB, free: 45.04 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005506/2.771, allocations: 0.4909 MB / 0.9686 GB, free: 44.62 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03875/2.81, allocations: 13.94 MB / 0.9822 GB, free: 31.55 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01159/2.822, allocations: 5.005 MB / 0.9871 GB, free: 26.55 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003356/2.825, allocations: 427.3 kB / 0.9875 GB, free: 26.13 MB / 0.4952 GB Notification: Performance of SimCode: time 1.363e-06/2.825, allocations: 0 / 0.9875 GB, free: 26.13 MB / 0.4952 GB Notification: Performance of Templates: time 0.7816/3.607, allocations: 142.4 MB / 1.127 GB, free: 68.05 MB / 0.5108 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches