Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001141/0.001141, allocations: 194.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008999/0.0009, allocations: 101.1 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2066/0.2066, allocations: 45.15 MB / 383.8 MB, free: 240 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.511e-05/1.514e-05, allocations: 4 kB / 453.2 MB, free: 75.8 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1238, allocations: 63.25 MB / 0.5044 GB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4247/0.5486, allocations: 107.1 MB / 0.609 GB, free: 11.79 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.5489, allocations: 80.02 kB / 0.609 GB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3225/0.8714, allocations: 131.7 MB / 0.7377 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8715, allocations: 0 / 0.7377 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002623/0.8718, allocations: 120 kB / 0.7378 GB, free: 15.66 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2169 * Number of variables: 2169 Notification: Performance of Generate backend data structure: time 0.01941/0.8912, allocations: 6.234 MB / 0.7439 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.8912, allocations: 8.031 kB / 0.7439 GB, free: 9.348 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02585/0.9171, allocations: 6.434 MB / 0.7502 GB, free: 2.895 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2951/1.212, allocations: 7.054 MB / 0.7571 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003702/1.213, allocations: 182.8 kB / 0.7572 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002838/1.215, allocations: 342.7 kB / 0.7576 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01856/1.234, allocations: 10.43 MB / 0.7677 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02342/1.258, allocations: 13.56 MB / 0.781 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002418/1.258, allocations: 61.45 kB / 0.781 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008803/1.259, allocations: 22.62 kB / 0.7811 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001878/1.261, allocations: 1.657 MB / 0.7827 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05836/1.319, allocations: 52.57 MB / 0.834 GB, free: 89.08 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006012/1.325, allocations: 6.623 MB / 0.8405 GB, free: 85.78 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004217/1.329, allocations: 4.596 MB / 0.845 GB, free: 83.94 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0014/1.331, allocations: 2.22 MB / 0.8472 GB, free: 81.88 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/1.331, allocations: 64.41 kB / 0.8472 GB, free: 81.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=369): time 6.012e-06/1.331, allocations: 0 / 0.8472 GB, free: 81.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=431): time 0.05822/1.389, allocations: 35.59 MB / 0.882 GB, free: 57.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/1.389, allocations: 116.1 kB / 0.8821 GB, free: 57.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00405/1.393, allocations: 3.458 MB / 0.8855 GB, free: 54.73 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007738/1.394, allocations: 25.7 kB / 0.8855 GB, free: 54.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001529/1.395, allocations: 3.912 MB / 0.8893 GB, free: 51.16 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001731/1.397, allocations: 1.484 MB / 0.8907 GB, free: 49.81 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004371/1.398, allocations: 0 / 0.8907 GB, free: 49.81 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003837/1.398, allocations: 0.6499 MB / 0.8914 GB, free: 49.25 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004186/1.402, allocations: 3.817 MB / 0.8951 GB, free: 45.88 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006561/1.409, allocations: 7.778 MB / 0.9027 GB, free: 36.84 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00643/1.415, allocations: 5.457 MB / 0.908 GB, free: 32.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-05/1.415, allocations: 43.94 kB / 0.9081 GB, free: 32.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1065) (initialization): time 0.02227/1.438, allocations: 13.39 MB / 0.9212 GB, free: 21.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.997e-05/1.438, allocations: 64 kB / 0.9212 GB, free: 21.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001176/1.438, allocations: 139.4 kB / 0.9214 GB, free: 21.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006429/1.444, allocations: 2.607 MB / 0.9239 GB, free: 19.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007569/1.452, allocations: 2.041 MB / 0.9259 GB, free: 17.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01567/1.468, allocations: 12.9 MB / 0.9385 GB, free: 6.457 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006593/1.474, allocations: 340.3 kB / 0.9388 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001796/1.476, allocations: 456 kB / 0.9392 GB, free: 5.781 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * Number of states: 0 () * Number of discrete variables: 50 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (968): * Single equations (assignments): 960 * Array equations: 6 * 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 {(6,69.4%) 32,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001256/1.477, allocations: 482.3 kB / 0.9397 GB, free: 5.305 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008663/1.478, allocations: 458.1 kB / 0.9401 GB, free: 4.852 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01666/1.495, allocations: 10.23 MB / 0.9501 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.68e-05/1.495, allocations: 67.89 kB / 0.9502 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/1.495, allocations: 8 kB / 0.9502 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-05/1.495, allocations: 23.88 kB / 0.9502 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3627/1.858, allocations: 19.64 MB / 0.9694 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-05/1.858, allocations: 18.06 kB / 0.9694 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004462/1.862, allocations: 0.8057 MB / 0.9702 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007644/1.87, allocations: 2.389 MB / 0.9726 GB, free: 117 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001025/1.871, allocations: 30.06 kB / 0.9726 GB, free: 117 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01463/1.886, allocations: 11.69 MB / 0.984 GB, free: 114.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.108e-05/1.886, allocations: 21.56 kB / 0.984 GB, free: 114.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0202/1.906, allocations: 16.11 MB / 0.9997 GB, free: 111.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/1.907, allocations: 484.7 kB / 1 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009427/1.908, allocations: 16.53 kB / 1 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002603/1.911, allocations: 238.9 kB / 1 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005966/1.911, allocations: 273 kB / 1.001 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002726/1.912, allocations: 113.7 kB / 1.001 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00344/1.915, allocations: 2.326 MB / 1.003 GB, free: 111.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.1e-07/1.915, allocations: 0 / 1.003 GB, free: 111.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008498/1.924, allocations: 1.447 MB / 1.005 GB, free: 111.6 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (346): * Single equations (assignments): 338 * Array equations: 6 * 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%) 9,(6,69.4%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009689/1.925, allocations: 186 kB / 1.005 GB, free: 111.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01372/1.938, allocations: 9.455 MB / 1.014 GB, free: 111.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.716e-05/1.938, allocations: 0 / 1.014 GB, free: 111.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006433/1.945, allocations: 4.182 MB / 1.018 GB, free: 109.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003214/1.948, allocations: 0.4906 MB / 1.018 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02112/1.969, allocations: 13.14 MB / 1.031 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005285/1.975, allocations: 4.688 MB / 1.036 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006916/1.982, allocations: 2.849 MB / 1.039 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001561/1.983, allocations: 341.1 kB / 1.039 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of SimCode: time 8.32e-07/1.983, allocations: 0 / 1.039 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of Templates: time 0.08286/2.066, allocations: 59.24 MB / 1.097 GB, free: 65.77 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches