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.001469/0.001468, allocations: 177.8 kB / 8.358 MB, free: 0.7188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.978/1.978, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001122/0.001122, allocations: 82.8 kB / 262.1 MB, free: 13.87 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.2949/0.2949, allocations: 43.48 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.643e-05/1.66e-05, allocations: 4 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3921, allocations: 58.86 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1993/0.5914, allocations: 106.3 MB / 0.5697 GB, free: 8.965 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/0.5918, allocations: 75.97 kB / 0.5698 GB, free: 8.891 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.8501/1.442, allocations: 128.6 MB / 0.6954 GB, free: 102 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.786e-06/1.442, allocations: 0 / 0.6954 GB, free: 102 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0004157/1.442, allocations: 132.8 kB / 0.6955 GB, free: 102 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: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.02779/1.47, allocations: 6.363 MB / 0.7017 GB, free: 98.94 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/1.47, allocations: 10.78 kB / 0.7017 GB, free: 98.94 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05152/1.522, allocations: 7.099 MB / 0.7087 GB, free: 95.73 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02741/1.549, allocations: 7.264 MB / 0.7157 GB, free: 91.74 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004754/1.55, allocations: 217.1 kB / 0.716 GB, free: 91.74 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003841/1.554, allocations: 392.9 kB / 0.7163 GB, free: 91.42 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02405/1.578, allocations: 9.644 MB / 0.7257 GB, free: 81.77 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03895/1.617, allocations: 14.16 MB / 0.7396 GB, free: 66.43 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004559/1.617, allocations: 75.33 kB / 0.7397 GB, free: 66.36 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00345/1.621, allocations: 36 kB / 0.7397 GB, free: 66.32 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003547/1.624, allocations: 1.577 MB / 0.7412 GB, free: 64.75 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1095/1.734, allocations: 63.99 MB / 0.8037 GB, free: 15.42 MB / 491.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01352/1.748, allocations: 5.933 MB / 0.8095 GB, free: 9.344 MB / 491.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009246/1.757, allocations: 4.065 MB / 0.8135 GB, free: 5.262 MB / 491.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/1.758, allocations: 0.5598 MB / 0.814 GB, free: 4.629 MB / 491.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.746e-05/1.758, allocations: 72.56 kB / 0.8141 GB, free: 4.547 MB / 491.1 MB Notification: Performance of pre-optimization done (n=315): time 9.729e-06/1.758, allocations: 0 / 0.8141 GB, free: 4.547 MB / 491.1 MB Notification: Performance of matching and sorting (n=359): time 0.4596/2.218, allocations: 28.68 MB / 0.8421 GB, free: 120.4 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/2.218, allocations: 219.9 kB / 0.8423 GB, free: 120.2 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01117/2.229, allocations: 3.914 MB / 0.8461 GB, free: 119.8 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.001009/2.23, allocations: 25.7 kB / 0.8462 GB, free: 119.8 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.004373/2.235, allocations: 4.381 MB / 0.8504 GB, free: 117.2 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.002425/2.237, allocations: 1.276 MB / 0.8517 GB, free: 116.4 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/2.238, allocations: 1.344 kB / 0.8517 GB, free: 116.4 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.0006583/2.239, allocations: 0.6726 MB / 0.8523 GB, free: 116.1 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009171/2.248, allocations: 3.516 MB / 0.8558 GB, free: 116 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.013/2.261, allocations: 8.172 MB / 0.8638 GB, free: 110 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01172/2.273, allocations: 5.277 MB / 0.8689 GB, free: 110 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002583/2.273, allocations: 46.31 kB / 0.869 GB, free: 110 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1121) (initialization): time 0.04075/2.314, allocations: 12.09 MB / 0.8808 GB, free: 106.4 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002474/2.314, allocations: 77.22 kB / 0.8808 GB, free: 106.4 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004908/2.315, allocations: 163.7 kB / 0.881 GB, free: 106.4 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01005/2.325, allocations: 1.71 MB / 0.8827 GB, free: 106.1 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01775/2.343, allocations: 2.027 MB / 0.8846 GB, free: 105.9 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03006/2.373, allocations: 10.89 MB / 0.8953 GB, free: 100.1 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01474/2.388, allocations: 355.6 kB / 0.8956 GB, free: 100.1 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003191/2.391, allocations: 0.4962 MB / 0.8961 GB, free: 99.99 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 752 * 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 (1049): * Single equations (assignments): 1044 * 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.005448/2.396, allocations: 0.5276 MB / 0.8966 GB, free: 99.55 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002903/2.399, allocations: 468 kB / 0.8971 GB, free: 99.3 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03252/2.432, allocations: 7.19 MB / 0.9041 GB, free: 96.74 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001473/2.432, allocations: 38.92 kB / 0.9041 GB, free: 96.74 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.602e-05/2.432, allocations: 7.625 kB / 0.9041 GB, free: 96.74 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001271/2.432, allocations: 21.12 kB / 0.9041 GB, free: 96.74 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06462/2.497, allocations: 15.03 MB / 0.9188 GB, free: 90.89 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.644e-05/2.497, allocations: 7.375 kB / 0.9188 GB, free: 90.88 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006698/2.504, allocations: 0.6223 MB / 0.9194 GB, free: 90.38 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006652/2.51, allocations: 1.408 MB / 0.9208 GB, free: 89.39 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001143/2.512, allocations: 12 kB / 0.9208 GB, free: 89.38 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01927/2.531, allocations: 9.871 MB / 0.9305 GB, free: 80.54 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-06/2.531, allocations: 6.516 kB / 0.9305 GB, free: 80.53 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02827/2.559, allocations: 11.89 MB / 0.9421 GB, free: 70.11 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004517/2.564, allocations: 1.05 MB / 0.9431 GB, free: 69.14 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00215/2.566, allocations: 4 kB / 0.9431 GB, free: 69.13 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005977/2.572, allocations: 206.2 kB / 0.9433 GB, free: 69.02 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001464/2.574, allocations: 209.9 kB / 0.9435 GB, free: 68.89 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006361/2.574, allocations: 92.52 kB / 0.9436 GB, free: 68.8 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.006971/2.581, allocations: 2.619 MB / 0.9461 GB, free: 66.53 MB / 0.4952 GB Notification: Performance of sort global known variables: time 1.342e-06/2.581, allocations: 0 / 0.9461 GB, free: 66.53 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.01204/2.593, allocations: 1.402 MB / 0.9475 GB, free: 65.13 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (305): * Single equations (assignments): 300 * 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.001353/2.595, allocations: 159.8 kB / 0.9477 GB, free: 64.98 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.02124/2.616, allocations: 8.872 MB / 0.9563 GB, free: 56.98 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/2.616, allocations: 0 / 0.9563 GB, free: 56.98 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.009453/2.626, allocations: 3.685 MB / 0.9599 GB, free: 53.66 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004714/2.63, allocations: 478.4 kB / 0.9604 GB, free: 53.27 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03623/2.667, allocations: 13.62 MB / 0.9737 GB, free: 41.02 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01122/2.678, allocations: 4.943 MB / 0.9785 GB, free: 36.07 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003266/2.681, allocations: 423.3 kB / 0.9789 GB, free: 35.66 MB / 0.4952 GB Notification: Performance of SimCode: time 2.705e-06/2.681, allocations: 0 / 0.9789 GB, free: 35.66 MB / 0.4952 GB Notification: Performance of Templates: time 0.6391/3.32, allocations: 139.3 MB / 1.115 GB, free: 73.81 MB / 0.5108 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