Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001526/0.001525, 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.001/2.001, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001131/0.00113, allocations: 86.64 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.2759/0.2759, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.252e-05/3.254e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1216, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5171/0.6388, allocations: 106.9 MB / 0.5772 GB, free: 13.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.6391, allocations: 77.53 kB / 0.5773 GB, free: 12.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4928/1.132, allocations: 115.1 MB / 0.6897 GB, free: 1.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.054e-06/1.132, allocations: 0 / 0.6897 GB, free: 1.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004288/1.132, allocations: 108 kB / 0.6898 GB, free: 1.414 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: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.02334/1.156, allocations: 5.467 MB / 0.6951 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.046e-05/1.156, allocations: 12.03 kB / 0.6951 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05267/1.209, allocations: 6.95 MB / 0.7019 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3785/1.587, allocations: 6.871 MB / 0.7086 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006173/1.588, allocations: 418.5 kB / 0.709 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003135/1.591, allocations: 0.5439 MB / 0.7095 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04346/1.634, allocations: 13.27 MB / 0.7225 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004552/1.635, allocations: 78.83 kB / 0.7226 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002572/1.637, allocations: 270.4 kB / 0.7228 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003378/1.641, allocations: 1.252 MB / 0.7241 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03237/1.673, allocations: 10.52 MB / 0.7343 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08645/1.76, allocations: 59.77 MB / 0.7927 GB, free: 61.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01829/1.778, allocations: 4.606 MB / 0.7972 GB, free: 59.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004536/1.783, allocations: 2.215 MB / 0.7994 GB, free: 58.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01698/1.8, allocations: 6.485 MB / 0.8057 GB, free: 55.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.963e-05/1.8, allocations: 58.86 kB / 0.8058 GB, free: 55.53 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=183): time 5.761e-06/1.8, allocations: 0 / 0.8058 GB, free: 55.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=195): time 0.06066/1.861, allocations: 14.56 MB / 0.82 GB, free: 49.38 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/1.861, allocations: 229.1 kB / 0.8202 GB, free: 49.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01239/1.873, allocations: 5.17 MB / 0.8252 GB, free: 47.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004976/1.874, allocations: 56.95 kB / 0.8253 GB, free: 47.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003493/1.877, allocations: 3.941 MB / 0.8292 GB, free: 44.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001197/1.878, allocations: 0.7689 MB / 0.8299 GB, free: 43.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007714/1.879, allocations: 143.5 kB / 0.83 GB, free: 43.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004219/1.88, allocations: 0.6158 MB / 0.8306 GB, free: 42.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005656/1.885, allocations: 2.254 MB / 0.8328 GB, free: 41.84 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00827/1.894, allocations: 6.747 MB / 0.8394 GB, free: 33.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008357/1.902, allocations: 3.875 MB / 0.8432 GB, free: 30.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001318/1.902, allocations: 51.95 kB / 0.8433 GB, free: 30.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=937) (initialization): time 0.0231/1.925, allocations: 8.946 MB / 0.852 GB, free: 22.13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/1.926, allocations: 76 kB / 0.8521 GB, free: 22.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002124/1.926, allocations: 171.8 kB / 0.8522 GB, free: 21.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002191/1.928, allocations: 0.6101 MB / 0.8528 GB, free: 21.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009899/1.938, allocations: 1.638 MB / 0.8544 GB, free: 19.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008611/1.947, allocations: 5.731 MB / 0.86 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008453/1.955, allocations: 397.1 kB / 0.8604 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001474/1.957, allocations: 444.8 kB / 0.8608 GB, free: 13.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 731 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (885): * Single equations (assignments): 880 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001566/1.958, allocations: 0.662 MB / 0.8615 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001196/1.959, allocations: 493.6 kB / 0.8619 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008034/1.967, allocations: 3.029 MB / 0.8649 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-05/1.968, allocations: 20 kB / 0.8649 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/1.968, allocations: 8 kB / 0.8649 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.849e-05/1.968, allocations: 7.641 kB / 0.8649 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02337/1.991, allocations: 8.449 MB / 0.8732 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.062e-05/1.991, allocations: 7.938 kB / 0.8732 GB, free: 3.066 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003094/1.994, allocations: 326.2 kB / 0.8735 GB, free: 2.812 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001675/1.996, allocations: 363.1 kB / 0.8739 GB, free: 2.535 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002662/1.996, allocations: 35.56 kB / 0.8739 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008305/2.004, allocations: 5.076 MB / 0.8788 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/2.005, allocations: 3.938 kB / 0.8789 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01366/2.018, allocations: 6.092 MB / 0.8848 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003264/2.022, allocations: 0.8011 MB / 0.8856 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001398/2.023, allocations: 36 kB / 0.8856 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003662/2.027, allocations: 92.83 kB / 0.8857 GB, free: 7.098 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006033/2.027, allocations: 120.1 kB / 0.8858 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002161/2.028, allocations: 51.75 kB / 0.8859 GB, free: 6.973 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01061/2.038, allocations: 3.685 MB / 0.8895 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.163e-06/2.038, allocations: 7.469 kB / 0.8895 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00908/2.047, allocations: 1.231 MB / 0.8907 GB, free: 2.527 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 149 * 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 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008347/2.048, allocations: 167.1 kB / 0.8908 GB, free: 2.363 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01428/2.062, allocations: 5.644 MB / 0.8963 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/2.063, allocations: 4.188 kB / 0.8964 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003969/2.067, allocations: 1.686 MB / 0.898 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00499/2.072, allocations: 0.6061 MB / 0.8986 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03011/2.102, allocations: 10.25 MB / 0.9086 GB, free: 2.004 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3866/2.488, allocations: 4.51 MB / 0.913 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002349/2.491, allocations: 371.6 kB / 0.9134 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.603e-06/2.491, allocations: 4.703 kB / 0.9134 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.2677/2.759, allocations: 118.5 MB / 1.029 GB, free: 69.91 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches