Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001354/0.001354, allocations: 184 kB / 15.76 MB, free: 6.367 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.634/1.634, allocations: 205.4 MB / 221.9 MB, free: 13.85 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.001007/0.001007, allocations: 94.8 kB / 270.2 MB, free: 13.38 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.2238/0.2238, allocations: 43.56 MB / 362 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000318/0.000318, allocations: 15.98 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1295, allocations: 58.85 MB / 490.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.397/0.5266, allocations: 107.5 MB / 0.5838 GB, free: 8.555 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.5269, allocations: 79.95 kB / 0.5838 GB, free: 8.512 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.57/1.097, allocations: 133.4 MB / 0.7142 GB, free: 96.67 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.405e-06/1.097, allocations: 1.469 kB / 0.7142 GB, free: 96.67 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0005641/1.098, allocations: 129.5 kB / 0.7143 GB, free: 96.67 MB / 0.4949 GB 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.03099/1.129, allocations: 6.903 MB / 0.721 GB, free: 94.23 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/1.129, allocations: 10.33 kB / 0.721 GB, free: 94.23 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02952/1.158, allocations: 7.13 MB / 0.728 GB, free: 93.77 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02184/1.18, allocations: 7.277 MB / 0.7351 GB, free: 92.99 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006616/1.181, allocations: 0.5069 MB / 0.7356 GB, free: 92.97 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003489/1.184, allocations: 0.6675 MB / 0.7363 GB, free: 92.96 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03929/1.224, allocations: 16.76 MB / 0.7526 GB, free: 89.31 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005614/1.224, allocations: 84.23 kB / 0.7527 GB, free: 89.3 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003101/1.227, allocations: 324.9 kB / 0.753 GB, free: 89.3 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00215/1.229, allocations: 1.564 MB / 0.7545 GB, free: 89.29 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03013/1.26, allocations: 13.99 MB / 0.7682 GB, free: 89.23 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08763/1.347, allocations: 70.25 MB / 0.8368 GB, free: 40.22 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0182/1.366, allocations: 7.927 MB / 0.8445 GB, free: 35.63 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003056/1.366, allocations: 54.8 kB / 0.8446 GB, free: 35.59 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.751e-05/1.366, allocations: 68.5 kB / 0.8447 GB, free: 35.52 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=290): time 7.254e-06/1.366, allocations: 0 / 0.8447 GB, free: 35.52 MB / 0.4949 GB Notification: Performance of matching and sorting (n=332): time 0.08479/1.451, allocations: 32.74 MB / 0.8766 GB, free: 8.176 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.273e-05/1.451, allocations: 225 kB / 0.8768 GB, free: 7.918 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01252/1.463, allocations: 5.645 MB / 0.8824 GB, free: 3.062 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001153/1.465, allocations: 77.7 kB / 0.8824 GB, free: 2.98 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004386/1.469, allocations: 4.603 MB / 0.8869 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002545/1.472, allocations: 1.236 MB / 0.8881 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001545/1.473, allocations: 174.5 kB / 0.8883 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001085/1.474, allocations: 0.6658 MB / 0.8889 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00781/1.482, allocations: 3.8 MB / 0.8927 GB, free: 8.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3082/1.79, allocations: 8.616 MB / 0.9011 GB, free: 97.63 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0121/1.803, allocations: 5.608 MB / 0.9065 GB, free: 97.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002761/1.803, allocations: 51.47 kB / 0.9066 GB, free: 97.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.03148/1.834, allocations: 13.76 MB / 0.92 GB, free: 97.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001474/1.835, allocations: 76.72 kB / 0.9201 GB, free: 97.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001906/1.835, allocations: 170.8 kB / 0.9203 GB, free: 97.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003884/1.839, allocations: 1.685 MB / 0.9219 GB, free: 97.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007774/1.846, allocations: 2.095 MB / 0.924 GB, free: 97.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/1.86, allocations: 11.69 MB / 0.9354 GB, free: 94.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00935/1.87, allocations: 0.5259 MB / 0.9359 GB, free: 94.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002303/1.872, allocations: 0.5004 MB / 0.9364 GB, free: 94.23 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 773 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1050): * Single equations (assignments): 1045 * 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.00993/1.882, allocations: 3.161 MB / 0.9395 GB, free: 93.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001967/1.884, allocations: 0.5601 MB / 0.94 GB, free: 93.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01545/1.9, allocations: 7.517 MB / 0.9474 GB, free: 93.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.22e-05/1.9, allocations: 36.61 kB / 0.9474 GB, free: 93.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.204e-05/1.9, allocations: 8.688 kB / 0.9474 GB, free: 93.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.881e-05/1.9, allocations: 18.95 kB / 0.9474 GB, free: 93.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04345/1.943, allocations: 16.37 MB / 0.9634 GB, free: 88.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.245e-05/1.943, allocations: 2.875 kB / 0.9634 GB, free: 88.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003882/1.947, allocations: 0.6519 MB / 0.964 GB, free: 88.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003812/1.951, allocations: 1.422 MB / 0.9654 GB, free: 88.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000863/1.952, allocations: 62.34 kB / 0.9655 GB, free: 88.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01391/1.966, allocations: 10.93 MB / 0.9762 GB, free: 82.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/1.966, allocations: 7.562 kB / 0.9762 GB, free: 82.33 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0213/1.987, allocations: 12.85 MB / 0.9887 GB, free: 76.81 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004962/1.992, allocations: 1.203 MB / 0.9899 GB, free: 76.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002341/1.995, allocations: 61.92 kB / 0.9899 GB, free: 76.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004701/1.999, allocations: 271.6 kB / 0.9902 GB, free: 76.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001134/2.001, allocations: 202.5 kB / 0.9904 GB, free: 76.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007283/2.001, allocations: 88.52 kB / 0.9905 GB, free: 76.03 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009049/2.01, allocations: 4.019 MB / 0.9944 GB, free: 74.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.72e-07/2.01, allocations: 0 / 0.9944 GB, free: 74.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01179/2.022, allocations: 1.671 MB / 0.996 GB, free: 74.5 MB / 0.5105 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 273 * 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.001415/2.024, allocations: 214 kB / 0.9962 GB, free: 74.35 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01679/2.041, allocations: 9.334 MB / 1.005 GB, free: 66.85 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.898e-05/2.041, allocations: 4 kB / 1.005 GB, free: 66.85 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007078/2.048, allocations: 3.855 MB / 1.009 GB, free: 63.49 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004997/2.053, allocations: 0.6814 MB / 1.01 GB, free: 62.92 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03449/2.087, allocations: 18.51 MB / 1.028 GB, free: 46.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009339/2.097, allocations: 4.995 MB / 1.033 GB, free: 42.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00939/2.106, allocations: 2.93 MB / 1.036 GB, free: 40.58 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002128/2.108, allocations: 399.8 kB / 1.036 GB, free: 40.21 MB / 0.5105 GB Notification: Performance of SimCode: time 1.733e-06/2.108, allocations: 3.5 kB / 1.036 GB, free: 40.21 MB / 0.5105 GB Notification: Performance of Templates: time 0.362/2.47, allocations: 63.37 MB / 1.098 GB, free: 106.3 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins/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_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches