Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.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.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002489/0.002489, allocations: 182.4 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.32/2.32, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.002225/0.002225, allocations: 86.7 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.384/0.384, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.089e-05/6.102e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.194, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5315/0.7256, allocations: 105.3 MB / 0.5756 GB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.7259, allocations: 80.41 kB / 0.5757 GB, free: 14.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3943/1.12, allocations: 91.67 MB / 0.6652 GB, free: 10.58 MB / 474.7 MB Notification: Performance of FrontEnd: time 5.641e-06/1.12, allocations: 4 kB / 0.6652 GB, free: 10.57 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002259/1.121, allocations: 76 kB / 0.6653 GB, free: 10.5 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.01549/1.136, allocations: 3.974 MB / 0.6692 GB, free: 6.461 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/1.136, allocations: 8.031 kB / 0.6692 GB, free: 6.453 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02764/1.164, allocations: 3.55 MB / 0.6727 GB, free: 2.891 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01873/1.183, allocations: 4.44 MB / 0.677 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005652/1.183, allocations: 328.5 kB / 0.6773 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002999/1.186, allocations: 431.5 kB / 0.6777 GB, free: 13.65 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03754/1.224, allocations: 10.85 MB / 0.6883 GB, free: 2.328 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002709/1.224, allocations: 35.66 kB / 0.6884 GB, free: 2.293 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002667/1.227, allocations: 191.9 kB / 0.6885 GB, free: 2.105 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003503/1.23, allocations: 1.259 MB / 0.6898 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03379/1.264, allocations: 10.32 MB / 0.6999 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.44/1.704, allocations: 37.83 MB / 0.7368 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01424/1.718, allocations: 4.559 MB / 0.7413 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005186/1.724, allocations: 2.377 MB / 0.7436 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00166/1.725, allocations: 1.322 MB / 0.7449 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/1.726, allocations: 51.69 kB / 0.7449 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=242): time 8.115e-06/1.726, allocations: 5.906 kB / 0.7449 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=254): time 0.05495/1.781, allocations: 14.6 MB / 0.7592 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/1.781, allocations: 70.81 kB / 0.7592 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005212/1.786, allocations: 2.469 MB / 0.7617 GB, free: 99.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006557/1.787, allocations: 54.47 kB / 0.7617 GB, free: 99.62 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002395/1.789, allocations: 2.839 MB / 0.7645 GB, free: 97.83 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001609/1.791, allocations: 0.9249 MB / 0.7654 GB, free: 97.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008226/1.791, allocations: 103.7 kB / 0.7655 GB, free: 97.06 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005044/1.792, allocations: 0.5458 MB / 0.766 GB, free: 96.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005626/1.798, allocations: 2.262 MB / 0.7682 GB, free: 95.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007718/1.805, allocations: 5.214 MB / 0.7733 GB, free: 91.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007816/1.813, allocations: 3.463 MB / 0.7767 GB, free: 90.31 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001082/1.813, allocations: 29.94 kB / 0.7767 GB, free: 90.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.02332/1.837, allocations: 8.153 MB / 0.7847 GB, free: 87.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001375/1.837, allocations: 48.28 kB / 0.7847 GB, free: 87.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001667/1.837, allocations: 104.2 kB / 0.7848 GB, free: 87.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004902/1.842, allocations: 0.9519 MB / 0.7858 GB, free: 87.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008007/1.85, allocations: 1.241 MB / 0.787 GB, free: 87.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/1.86, allocations: 4.735 MB / 0.7916 GB, free: 85.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005985/1.866, allocations: 303.2 kB / 0.7919 GB, free: 85.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001443/1.868, allocations: 316 kB / 0.7922 GB, free: 85.02 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 472 * Number of states: 0 () * Number of discrete variables: 33 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],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 (664): * Single equations (assignments): 657 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00222/1.87, allocations: 0.5043 MB / 0.7927 GB, free: 84.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000764/1.871, allocations: 279.3 kB / 0.7929 GB, free: 84.45 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01523/1.886, allocations: 5.07 MB / 0.7979 GB, free: 82.81 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001145/1.886, allocations: 46.7 kB / 0.7979 GB, free: 82.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/1.886, allocations: 3.844 kB / 0.7979 GB, free: 82.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.648e-05/1.886, allocations: 14.5 kB / 0.798 GB, free: 82.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03386/1.92, allocations: 11.95 MB / 0.8096 GB, free: 73.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-05/1.92, allocations: 12.94 kB / 0.8096 GB, free: 73.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003476/1.924, allocations: 399 kB / 0.81 GB, free: 73.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004572/1.928, allocations: 0.7763 MB / 0.8108 GB, free: 73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006451/1.929, allocations: 51.19 kB / 0.8108 GB, free: 72.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008413/1.938, allocations: 4.027 MB / 0.8148 GB, free: 69.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.2e-05/1.938, allocations: 11.94 kB / 0.8148 GB, free: 69.37 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01855/1.956, allocations: 8.396 MB / 0.823 GB, free: 61.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002677/1.959, allocations: 0.6932 MB / 0.8236 GB, free: 60.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001075/1.96, allocations: 48.58 kB / 0.8237 GB, free: 60.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003094/1.963, allocations: 136.3 kB / 0.8238 GB, free: 60.82 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008366/1.964, allocations: 158.4 kB / 0.824 GB, free: 60.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002591/1.964, allocations: 68 kB / 0.824 GB, free: 60.64 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004153/1.969, allocations: 1.682 MB / 0.8257 GB, free: 59.16 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.253e-06/1.969, allocations: 4 kB / 0.8257 GB, free: 59.15 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006756/1.975, allocations: 1.007 MB / 0.8267 GB, free: 58.15 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 189 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001011/1.976, allocations: 194.6 kB / 0.8269 GB, free: 57.97 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01246/1.989, allocations: 5.537 MB / 0.8323 GB, free: 52.92 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.526e-05/1.989, allocations: 4.062 kB / 0.8323 GB, free: 52.92 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004872/1.994, allocations: 2.13 MB / 0.8343 GB, free: 50.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002951/1.997, allocations: 345.1 kB / 0.8347 GB, free: 50.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02426/2.021, allocations: 9.152 MB / 0.8436 GB, free: 42.41 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00811/2.029, allocations: 3.545 MB / 0.8471 GB, free: 39.68 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001859/2.031, allocations: 262.5 kB / 0.8473 GB, free: 39.44 MB / 0.4948 GB Notification: Performance of SimCode: time 1.352e-06/2.031, allocations: 0 / 0.8473 GB, free: 39.44 MB / 0.4948 GB Notification: Performance of Templates: time 0.5212/2.553, allocations: 73.56 MB / 0.9192 GB, free: 124.7 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches