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.00155/0.00155, allocations: 180.5 kB / 17.41 MB, free: 4.406 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.491/2.491, allocations: 205.4 MB / 223.6 MB, free: 8.93 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.000974/0.0009738, allocations: 90.28 kB / 271.9 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4698/0.4698, allocations: 43.55 MB / 363.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004843/0.0004844, allocations: 23.92 kB / 432.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.138, allocations: 58.85 MB / 491.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3919/0.5299, allocations: 105.5 MB / 0.583 GB, free: 12.81 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/0.5302, allocations: 79.95 kB / 0.5831 GB, free: 12.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.237/0.7672, allocations: 90.51 MB / 0.6715 GB, free: 1.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.558e-06/0.7673, allocations: 0 / 0.6715 GB, free: 1.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001877/0.7675, allocations: 79.94 kB / 0.6715 GB, free: 1.492 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: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.2603/1.028, allocations: 4.012 MB / 0.6755 GB, free: 92.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/1.028, allocations: 9.438 kB / 0.6755 GB, free: 92.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01639/1.044, allocations: 3.516 MB / 0.6789 GB, free: 92.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009409/1.054, allocations: 3.372 MB / 0.6822 GB, free: 92.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005231/1.054, allocations: 330.4 kB / 0.6825 GB, free: 92.22 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002852/1.057, allocations: 432.7 kB / 0.6829 GB, free: 92.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02732/1.085, allocations: 10.87 MB / 0.6935 GB, free: 90.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002064/1.085, allocations: 36.81 kB / 0.6936 GB, free: 90.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001456/1.086, allocations: 199.3 kB / 0.6938 GB, free: 90.88 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001667/1.088, allocations: 1.255 MB / 0.695 GB, free: 90.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02029/1.108, allocations: 10.38 MB / 0.7051 GB, free: 90.82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05897/1.167, allocations: 37.79 MB / 0.742 GB, free: 70.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00845/1.176, allocations: 4.592 MB / 0.7465 GB, free: 67.88 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003012/1.179, allocations: 2.4 MB / 0.7489 GB, free: 66.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009188/1.18, allocations: 1.319 MB / 0.7502 GB, free: 65.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/1.18, allocations: 61.5 kB / 0.7502 GB, free: 65.71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 5.45e-06/1.18, allocations: 0 / 0.7502 GB, free: 65.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.0384/1.218, allocations: 17.41 MB / 0.7672 GB, free: 60.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/1.218, allocations: 72.56 kB / 0.7673 GB, free: 59.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005138/1.223, allocations: 2.799 MB / 0.77 GB, free: 58.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005266/1.224, allocations: 64.91 kB / 0.7701 GB, free: 58.87 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001566/1.226, allocations: 2.844 MB / 0.7729 GB, free: 56.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00124/1.227, allocations: 0.9194 MB / 0.7738 GB, free: 56.01 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005741/1.227, allocations: 110.8 kB / 0.7739 GB, free: 55.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004319/1.228, allocations: 0.5387 MB / 0.7744 GB, free: 55.53 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003476/1.231, allocations: 2.293 MB / 0.7766 GB, free: 54.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005149/1.237, allocations: 5.273 MB / 0.7818 GB, free: 50.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008938/1.246, allocations: 8.346 MB / 0.7899 GB, free: 42.97 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001695/1.246, allocations: 28 kB / 0.79 GB, free: 42.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.01566/1.261, allocations: 8.291 MB / 0.7981 GB, free: 35.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001325/1.262, allocations: 51.94 kB / 0.7981 GB, free: 35.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001745/1.262, allocations: 104 kB / 0.7982 GB, free: 35.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002645/1.264, allocations: 0.9393 MB / 0.7991 GB, free: 35.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004301/1.269, allocations: 1.244 MB / 0.8003 GB, free: 33.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005802/1.275, allocations: 4.75 MB / 0.805 GB, free: 29.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004166/1.279, allocations: 306 kB / 0.8053 GB, free: 29.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001215/1.28, allocations: 310.8 kB / 0.8056 GB, free: 29.21 MB / 490.7 MB 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 () * Number of clocked 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.005258/1.285, allocations: 2.187 MB / 0.8077 GB, free: 27.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007519/1.286, allocations: 284.2 kB / 0.808 GB, free: 27.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01026/1.296, allocations: 5.101 MB / 0.813 GB, free: 22.88 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.43e-05/1.296, allocations: 51.33 kB / 0.813 GB, free: 22.83 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.032e-05/1.297, allocations: 4 kB / 0.813 GB, free: 22.83 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.353e-05/1.297, allocations: 10.64 kB / 0.813 GB, free: 22.83 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02286/1.319, allocations: 11.98 MB / 0.8247 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.06e-05/1.319, allocations: 12.22 kB / 0.8247 GB, free: 12.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/1.321, allocations: 400.5 kB / 0.8251 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002286/1.324, allocations: 0.7691 MB / 0.8259 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003857/1.324, allocations: 55.2 kB / 0.8259 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004732/1.329, allocations: 4.033 MB / 0.8298 GB, free: 8.367 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/1.329, allocations: 15.88 kB / 0.8299 GB, free: 8.352 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01123/1.34, allocations: 7.586 MB / 0.8373 GB, free: 1.191 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001859/1.342, allocations: 0.6848 MB / 0.8379 GB, free: 496 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009332/1.343, allocations: 51.98 kB / 0.838 GB, free: 444 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001836/1.345, allocations: 142.9 kB / 0.8381 GB, free: 304 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004767/1.345, allocations: 160.2 kB / 0.8383 GB, free: 148 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002533/1.345, allocations: 75.38 kB / 0.8384 GB, free: 76 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003825/1.349, allocations: 1.71 MB / 0.84 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.296e-06/1.349, allocations: 112 / 0.84 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006179/1.356, allocations: 1.015 MB / 0.841 GB, free: 13.35 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 () * Number of clocked 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.0008506/1.356, allocations: 194.5 kB / 0.8412 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009825/1.366, allocations: 5.6 MB / 0.8467 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/1.366, allocations: 4 kB / 0.8467 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003569/1.37, allocations: 2.141 MB / 0.8488 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006249/1.376, allocations: 377.7 kB / 0.8491 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02341/1.4, allocations: 12.77 MB / 0.8616 GB, free: 8.152 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004907/1.405, allocations: 3.447 MB / 0.865 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001241/1.406, allocations: 263.4 kB / 0.8652 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of SimCode: time 2.916e-06/1.406, allocations: 4 kB / 0.8652 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of Templates: time 0.3364/1.742, allocations: 75.74 MB / 0.9392 GB, free: 97.78 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