Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.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_3.2.3_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_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00229/0.00229, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 86.66 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2832/0.2832, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.203e-05/4.259e-05, allocations: 8 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1194, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5128/0.6323, allocations: 107 MB / 0.5773 GB, free: 12.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.6326, allocations: 81.52 kB / 0.5773 GB, free: 12.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5648/1.197, allocations: 131.6 MB / 0.7059 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.074e-06/1.197, allocations: 3.938 kB / 0.7059 GB, free: 0.793 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004915/1.198, allocations: 128 kB / 0.706 GB, free: 0.668 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.3852/1.583, allocations: 6.367 MB / 0.7122 GB, free: 96.85 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/1.583, allocations: 9.375 kB / 0.7122 GB, free: 96.85 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05611/1.639, allocations: 7.101 MB / 0.7192 GB, free: 96.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02917/1.669, allocations: 7.259 MB / 0.7263 GB, free: 95.85 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007926/1.669, allocations: 0.4965 MB / 0.7267 GB, free: 95.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004011/1.673, allocations: 0.6577 MB / 0.7274 GB, free: 95.83 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05507/1.729, allocations: 16.45 MB / 0.7434 GB, free: 92.61 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006111/1.729, allocations: 81.3 kB / 0.7435 GB, free: 92.61 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003936/1.733, allocations: 319.8 kB / 0.7438 GB, free: 92.61 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003741/1.737, allocations: 1.58 MB / 0.7454 GB, free: 92.59 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04587/1.783, allocations: 13.9 MB / 0.7589 GB, free: 92.54 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1098/1.893, allocations: 66.31 MB / 0.8237 GB, free: 47.94 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02844/1.921, allocations: 6.994 MB / 0.8305 GB, free: 44.74 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008345/1.93, allocations: 4.169 MB / 0.8346 GB, free: 40.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04057/1.97, allocations: 15.06 MB / 0.8493 GB, free: 28.08 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.781e-05/1.97, allocations: 68.5 kB / 0.8494 GB, free: 28.01 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=306): time 7.203e-06/1.97, allocations: 0 / 0.8494 GB, free: 28.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=348): time 0.1198/2.09, allocations: 26.06 MB / 0.8748 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/2.09, allocations: 217.4 kB / 0.875 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01172/2.102, allocations: 4.679 MB / 0.8796 GB, free: 1.996 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001054/2.103, allocations: 77.7 kB / 0.8797 GB, free: 1.914 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004231/2.107, allocations: 4.247 MB / 0.8838 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002557/2.11, allocations: 1.274 MB / 0.8851 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001519/2.112, allocations: 160 kB / 0.8852 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0009123/2.113, allocations: 0.6537 MB / 0.8859 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0105/2.123, allocations: 3.543 MB / 0.8893 GB, free: 8.789 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3858/2.509, allocations: 8.005 MB / 0.8971 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01411/2.523, allocations: 5.268 MB / 0.9023 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002094/2.523, allocations: 45 kB / 0.9023 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1071) (initialization): time 0.04136/2.565, allocations: 12.74 MB / 0.9148 GB, free: 100 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001356/2.565, allocations: 69.78 kB / 0.9148 GB, free: 100 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002303/2.565, allocations: 157.1 kB / 0.915 GB, free: 100 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007087/2.572, allocations: 1.669 MB / 0.9166 GB, free: 99.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01325/2.586, allocations: 1.931 MB / 0.9185 GB, free: 99.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02183/2.608, allocations: 11.33 MB / 0.9296 GB, free: 97.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01083/2.618, allocations: 0.4931 MB / 0.9301 GB, free: 97.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002329/2.621, allocations: 486.6 kB / 0.9305 GB, free: 97.06 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 713 * Number of states: 0 () * Number of discrete variables: 51 (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.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],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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (999): * Single equations (assignments): 994 * 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.003968/2.625, allocations: 0.7112 MB / 0.9312 GB, free: 96.79 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00185/2.627, allocations: 0.5077 MB / 0.9317 GB, free: 96.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02453/2.651, allocations: 7.36 MB / 0.9389 GB, free: 96.53 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.425e-05/2.651, allocations: 44.62 kB / 0.9389 GB, free: 96.53 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.081e-05/2.651, allocations: 10.25 kB / 0.9389 GB, free: 96.53 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-05/2.652, allocations: 19.62 kB / 0.939 GB, free: 96.53 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05087/2.702, allocations: 16.01 MB / 0.9546 GB, free: 93.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-05/2.703, allocations: 0 / 0.9546 GB, free: 93.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006478/2.709, allocations: 0.5962 MB / 0.9552 GB, free: 93.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006523/2.716, allocations: 1.421 MB / 0.9566 GB, free: 92.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001076/2.717, allocations: 58.67 kB / 0.9566 GB, free: 92.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02127/2.738, allocations: 10.54 MB / 0.9669 GB, free: 87.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/2.738, allocations: 4.641 kB / 0.9669 GB, free: 87.36 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03133/2.769, allocations: 11.89 MB / 0.9785 GB, free: 82.87 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004603/2.774, allocations: 1.095 MB / 0.9796 GB, free: 82.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002251/2.776, allocations: 60.78 kB / 0.9797 GB, free: 82.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00623/2.783, allocations: 253 kB / 0.9799 GB, free: 82.19 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001475/2.784, allocations: 203.5 kB / 0.9801 GB, free: 82.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005947/2.785, allocations: 89.55 kB / 0.9802 GB, free: 82.13 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008903/2.794, allocations: 3.282 MB / 0.9834 GB, free: 81 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.223e-06/2.794, allocations: 7.25 kB / 0.9834 GB, free: 81 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01089/2.805, allocations: 1.616 MB / 0.985 GB, free: 80.82 MB / 0.5105 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (294): * Single equations (assignments): 289 * 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.001493/2.806, allocations: 211.7 kB / 0.9852 GB, free: 80.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02165/2.828, allocations: 8.831 MB / 0.9938 GB, free: 75.21 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/2.828, allocations: 0 / 0.9938 GB, free: 75.21 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01045/2.838, allocations: 3.734 MB / 0.9974 GB, free: 71.85 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005706/2.844, allocations: 0.6246 MB / 0.998 GB, free: 71.33 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03763/2.882, allocations: 13.73 MB / 1.011 GB, free: 59.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01108/2.893, allocations: 4.942 MB / 1.016 GB, free: 55.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003689/2.897, allocations: 436.8 kB / 1.017 GB, free: 55.14 MB / 0.5105 GB Notification: Performance of SimCode: time 1.432e-06/2.897, allocations: 0 / 1.017 GB, free: 55.14 MB / 0.5105 GB Notification: Performance of Templates: time 0.6726/3.569, allocations: 142.3 MB / 1.156 GB, free: 81.1 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches