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.001465/0.001465, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.914/1.914, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.001109/0.001109, allocations: 91.25 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5033/0.5033, allocations: 43.55 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006274/0.0006275, allocations: 12 kB / 431.4 MB, free: 6.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.122, allocations: 58.85 MB / 490.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4899/0.6119, allocations: 107 MB / 0.5833 GB, free: 11.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/0.6123, allocations: 87.89 kB / 0.5834 GB, free: 11.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8703/1.483, allocations: 131.5 MB / 0.7118 GB, free: 85.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.726e-06/1.483, allocations: 0 / 0.7118 GB, free: 85.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004537/1.483, allocations: 131.1 kB / 0.7119 GB, free: 85.15 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: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.03118/1.514, allocations: 6.824 MB / 0.7186 GB, free: 82.42 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/1.514, allocations: 9.344 kB / 0.7186 GB, free: 82.42 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05382/1.568, allocations: 7.092 MB / 0.7255 GB, free: 81.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02715/1.595, allocations: 7.291 MB / 0.7326 GB, free: 81.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006637/1.596, allocations: 0.5001 MB / 0.7331 GB, free: 81.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003887/1.6, allocations: 0.6587 MB / 0.7338 GB, free: 81.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05382/1.654, allocations: 16.57 MB / 0.75 GB, free: 74.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005221/1.654, allocations: 81.62 kB / 0.75 GB, free: 74.26 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003809/1.658, allocations: 317.6 kB / 0.7503 GB, free: 74.08 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003568/1.662, allocations: 1.576 MB / 0.7519 GB, free: 73.79 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04552/1.708, allocations: 14.12 MB / 0.7657 GB, free: 69.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1078/1.815, allocations: 66.3 MB / 0.8304 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02904/1.844, allocations: 7.079 MB / 0.8373 GB, free: 5.449 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04211/1.887, allocations: 15.05 MB / 0.852 GB, free: 6.336 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.511e-05/1.887, allocations: 72.5 kB / 0.8521 GB, free: 6.258 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=306): time 7.294e-06/1.887, allocations: 0 / 0.8521 GB, free: 6.258 MB / 0.4949 GB Notification: Performance of matching and sorting (n=348): time 0.4995/2.386, allocations: 30.74 MB / 0.8821 GB, free: 91.54 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/2.386, allocations: 221.8 kB / 0.8823 GB, free: 91.32 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01182/2.398, allocations: 4.731 MB / 0.8869 GB, free: 90.91 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001049/2.399, allocations: 81.33 kB / 0.887 GB, free: 90.88 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003717/2.403, allocations: 4.249 MB / 0.8912 GB, free: 88.58 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002252/2.405, allocations: 1.275 MB / 0.8924 GB, free: 87.83 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001372/2.407, allocations: 165.3 kB / 0.8926 GB, free: 87.83 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.000647/2.407, allocations: 0.6586 MB / 0.8932 GB, free: 87.5 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01025/2.418, allocations: 3.622 MB / 0.8968 GB, free: 87.47 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01464/2.432, allocations: 8.093 MB / 0.9047 GB, free: 80.93 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01484/2.447, allocations: 5.3 MB / 0.9098 GB, free: 79.06 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002693/2.448, allocations: 46.31 kB / 0.9099 GB, free: 79.06 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1071) (initialization): time 0.03806/2.486, allocations: 12.89 MB / 0.9225 GB, free: 74.69 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001471/2.486, allocations: 72.47 kB / 0.9225 GB, free: 74.69 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002634/2.486, allocations: 157.6 kB / 0.9227 GB, free: 74.69 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007274/2.493, allocations: 1.67 MB / 0.9243 GB, free: 74.4 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01337/2.507, allocations: 1.927 MB / 0.9262 GB, free: 74.18 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0223/2.529, allocations: 11.68 MB / 0.9376 GB, free: 67.96 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01057/2.54, allocations: 0.492 MB / 0.9381 GB, free: 67.82 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002262/2.542, allocations: 486.2 kB / 0.9385 GB, free: 67.75 MB / 0.4949 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 () * Number of clocked 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.009342/2.552, allocations: 3.091 MB / 0.9416 GB, free: 66.32 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00158/2.553, allocations: 0.4999 MB / 0.9421 GB, free: 66.04 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02311/2.576, allocations: 7.453 MB / 0.9493 GB, free: 63.26 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.461e-05/2.576, allocations: 37.78 kB / 0.9494 GB, free: 63.26 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.212e-05/2.576, allocations: 7.406 kB / 0.9494 GB, free: 63.26 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.2e-05/2.577, allocations: 19.19 kB / 0.9494 GB, free: 63.26 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05045/2.627, allocations: 16.11 MB / 0.9651 GB, free: 57.49 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.754e-05/2.627, allocations: 4.906 kB / 0.9651 GB, free: 57.49 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0064/2.634, allocations: 0.5957 MB / 0.9657 GB, free: 57.45 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006672/2.64, allocations: 1.419 MB / 0.9671 GB, free: 57.17 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00107/2.641, allocations: 59.83 kB / 0.9672 GB, free: 57.13 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02144/2.663, allocations: 10.85 MB / 0.9778 GB, free: 48.62 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/2.663, allocations: 7.844 kB / 0.9778 GB, free: 48.62 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03131/2.694, allocations: 12.04 MB / 0.9895 GB, free: 38.19 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004574/2.699, allocations: 1.099 MB / 0.9906 GB, free: 37.17 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002405/2.701, allocations: 56 kB / 0.9906 GB, free: 37.12 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006273/2.708, allocations: 256.1 kB / 0.9909 GB, free: 36.96 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001503/2.709, allocations: 201.5 kB / 0.9911 GB, free: 36.83 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007364/2.71, allocations: 91.38 kB / 0.9912 GB, free: 36.75 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.008906/2.719, allocations: 3.334 MB / 0.9944 GB, free: 34.02 MB / 0.4949 GB Notification: Performance of sort global known variables: time 9.72e-07/2.719, allocations: 0 / 0.9944 GB, free: 34.02 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0117/2.731, allocations: 1.618 MB / 0.996 GB, free: 32.41 MB / 0.4949 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 (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.001465/2.732, allocations: 211.4 kB / 0.9962 GB, free: 32.21 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02207/2.754, allocations: 8.971 MB / 1.005 GB, free: 24.3 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/2.754, allocations: 0 / 1.005 GB, free: 24.3 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01125/2.765, allocations: 3.793 MB / 1.009 GB, free: 20.96 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006046/2.772, allocations: 0.622 MB / 1.009 GB, free: 20.44 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04621/2.818, allocations: 18.87 MB / 1.028 GB, free: 3.277 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01407/2.832, allocations: 5.042 MB / 1.033 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003711/2.836, allocations: 435.3 kB / 1.033 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of SimCode: time 1.684e-06/2.836, allocations: 0 / 1.033 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of Templates: time 0.6533/3.489, allocations: 142.4 MB / 1.172 GB, free: 60.55 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