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.001512/0.001511, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.233/2.233, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001098/0.001098, allocations: 88.19 kB / 262.1 MB, free: 13.86 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.2896/0.2896, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.26e-05/2.259e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.4359, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1965/0.6324, allocations: 104.7 MB / 0.5681 GB, free: 10.62 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/0.6328, allocations: 75.97 kB / 0.5682 GB, free: 10.55 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7129/1.346, allocations: 89.88 MB / 0.656 GB, free: 109.5 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.875e-06/1.346, allocations: 0 / 0.656 GB, free: 109.5 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0002282/1.346, allocations: 79.31 kB / 0.656 GB, free: 109.5 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: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.01594/1.362, allocations: 3.969 MB / 0.6599 GB, free: 107.7 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/1.362, allocations: 11.66 kB / 0.6599 GB, free: 107.7 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02683/1.389, allocations: 3.55 MB / 0.6634 GB, free: 107.4 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01751/1.406, allocations: 4.444 MB / 0.6677 GB, free: 106.8 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002864/1.407, allocations: 135.9 kB / 0.6678 GB, free: 106.8 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002816/1.41, allocations: 248.4 kB / 0.6681 GB, free: 106.8 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01798/1.428, allocations: 7.686 MB / 0.6756 GB, free: 106.8 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02749/1.455, allocations: 10.04 MB / 0.6854 GB, free: 103.5 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002055/1.455, allocations: 31.53 kB / 0.6854 GB, free: 103.5 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00174/1.457, allocations: 14.78 kB / 0.6854 GB, free: 103.5 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002686/1.46, allocations: 1.256 MB / 0.6867 GB, free: 103.3 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07333/1.533, allocations: 35.27 MB / 0.7211 GB, free: 81.89 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006914/1.54, allocations: 4.363 MB / 0.7254 GB, free: 77.66 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004317/1.545, allocations: 2.329 MB / 0.7276 GB, free: 75.54 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001517/1.546, allocations: 1.323 MB / 0.7289 GB, free: 74.11 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/1.546, allocations: 60.59 kB / 0.729 GB, free: 74.04 MB / 475.1 MB Notification: Performance of pre-optimization done (n=244): time 6.913e-06/1.546, allocations: 4 kB / 0.729 GB, free: 74.04 MB / 475.1 MB Notification: Performance of matching and sorting (n=256): time 0.04688/1.593, allocations: 15.66 MB / 0.7443 GB, free: 60.34 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/1.593, allocations: 73.41 kB / 0.7444 GB, free: 60.26 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004736/1.598, allocations: 2.329 MB / 0.7466 GB, free: 58.21 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006124/1.599, allocations: 25.7 kB / 0.7467 GB, free: 58.18 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002453/1.601, allocations: 2.956 MB / 0.7495 GB, free: 55.43 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001431/1.603, allocations: 0.9055 MB / 0.7504 GB, free: 54.52 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006274/1.603, allocations: 0 / 0.7504 GB, free: 54.52 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0004185/1.604, allocations: 0.5588 MB / 0.751 GB, free: 53.95 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004828/1.609, allocations: 2.233 MB / 0.7532 GB, free: 51.71 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007156/1.616, allocations: 5.43 MB / 0.7585 GB, free: 44.68 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007442/1.623, allocations: 3.513 MB / 0.7619 GB, free: 41.16 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001094/1.623, allocations: 32 kB / 0.7619 GB, free: 41.13 MB / 475.1 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.02141/1.645, allocations: 7.784 MB / 0.7695 GB, free: 33.34 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.51e-05/1.645, allocations: 60.2 kB / 0.7696 GB, free: 33.28 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001294/1.645, allocations: 116 kB / 0.7697 GB, free: 33.16 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004756/1.65, allocations: 0.9566 MB / 0.7706 GB, free: 32.2 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008207/1.658, allocations: 1.33 MB / 0.7719 GB, free: 30.87 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009283/1.668, allocations: 4.553 MB / 0.7764 GB, free: 26.2 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006244/1.674, allocations: 207.7 kB / 0.7766 GB, free: 26 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001563/1.675, allocations: 339.8 kB / 0.7769 GB, free: 25.68 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * 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 (711): * Single equations (assignments): 704 * 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 {(4,75.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001175/1.677, allocations: 406.9 kB / 0.7773 GB, free: 25.27 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007609/1.677, allocations: 276.3 kB / 0.7775 GB, free: 25 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/1.691, allocations: 4.934 MB / 0.7824 GB, free: 20 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000118/1.691, allocations: 47.98 kB / 0.7824 GB, free: 19.95 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/1.691, allocations: 4 kB / 0.7824 GB, free: 19.95 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.697e-05/1.691, allocations: 7.969 kB / 0.7824 GB, free: 19.94 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03005/1.721, allocations: 10.82 MB / 0.793 GB, free: 8.965 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.493e-05/1.721, allocations: 12 kB / 0.793 GB, free: 8.953 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003448/1.724, allocations: 400.2 kB / 0.7934 GB, free: 8.562 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004255/1.729, allocations: 0.7614 MB / 0.7941 GB, free: 7.797 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005603/1.729, allocations: 27.92 kB / 0.7941 GB, free: 7.77 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007667/1.737, allocations: 3.868 MB / 0.7979 GB, free: 3.797 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.599e-05/1.737, allocations: 11.94 kB / 0.7979 GB, free: 3.785 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01932/1.756, allocations: 8.323 MB / 0.8061 GB, free: 11.02 MB / 491.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002911/1.759, allocations: 0.6809 MB / 0.8067 GB, free: 10.31 MB / 491.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009295/1.76, allocations: 15.98 kB / 0.8067 GB, free: 10.3 MB / 491.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002836/1.763, allocations: 107.8 kB / 0.8068 GB, free: 10.19 MB / 491.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007378/1.764, allocations: 156.9 kB / 0.807 GB, free: 10.04 MB / 491.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002793/1.764, allocations: 72 kB / 0.8071 GB, free: 9.965 MB / 491.1 MB Notification: Performance of sorting global known variables: time 0.004067/1.768, allocations: 1.525 MB / 0.8086 GB, free: 8.434 MB / 491.1 MB Notification: Performance of sort global known variables: time 7.92e-07/1.768, allocations: 0 / 0.8086 GB, free: 8.434 MB / 491.1 MB Notification: Performance of remove unused functions: time 0.007146/1.776, allocations: 0.8788 MB / 0.8094 GB, free: 7.555 MB / 491.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * 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 (198): * Single equations (assignments): 191 * 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.0008257/1.776, allocations: 166.7 kB / 0.8096 GB, free: 7.383 MB / 491.1 MB Notification: Performance of simCode: created initialization part: time 0.01344/1.79, allocations: 5.437 MB / 0.8149 GB, free: 1.957 MB / 491.1 MB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/1.79, allocations: 0.75 kB / 0.8149 GB, free: 1.957 MB / 491.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005147/1.795, allocations: 2.079 MB / 0.8169 GB, free: 15.88 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/1.798, allocations: 237 kB / 0.8171 GB, free: 15.64 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02608/1.824, allocations: 9.111 MB / 0.826 GB, free: 6.367 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008324/1.832, allocations: 3.528 MB / 0.8295 GB, free: 2.816 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001987/1.834, allocations: 263.4 kB / 0.8297 GB, free: 2.559 MB / 0.4952 GB Notification: Performance of SimCode: time 1.593e-06/1.834, allocations: 0 / 0.8297 GB, free: 2.559 MB / 0.4952 GB Notification: Performance of Templates: time 0.501/2.335, allocations: 72.29 MB / 0.9003 GB, free: 109 MB / 0.4952 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