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.001488/0.001488, allocations: 186.2 kB / 16.41 MB, free: 5.723 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.954/1.954, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001139/0.001139, allocations: 94.14 kB / 270.9 MB, free: 8.371 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.5055/0.5055, allocations: 43.55 MB / 362.7 MB, free: 52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004717/0.0004717, allocations: 16 kB / 431.4 MB, free: 5.941 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1259, allocations: 58.85 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4921/0.6181, allocations: 105.4 MB / 0.5817 GB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.6184, allocations: 83.94 kB / 0.5817 GB, free: 13.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3877/1.006, allocations: 91.61 MB / 0.6712 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.246e-06/1.006, allocations: 0 / 0.6712 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002408/1.006, allocations: 76 kB / 0.6713 GB, free: 0.6992 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.3605/1.367, allocations: 4.118 MB / 0.6753 GB, free: 93.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/1.367, allocations: 12.86 kB / 0.6753 GB, free: 93.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02784/1.395, allocations: 3.551 MB / 0.6788 GB, free: 93.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0175/1.412, allocations: 4.453 MB / 0.6831 GB, free: 92.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005963/1.413, allocations: 330.3 kB / 0.6834 GB, free: 92.87 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003115/1.416, allocations: 431.5 kB / 0.6838 GB, free: 92.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03509/1.451, allocations: 10.94 MB / 0.6945 GB, free: 91.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003175/1.452, allocations: 29.78 kB / 0.6946 GB, free: 91.53 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002718/1.454, allocations: 200.8 kB / 0.6948 GB, free: 91.53 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002949/1.457, allocations: 1.253 MB / 0.696 GB, free: 91.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03034/1.488, allocations: 10.48 MB / 0.7062 GB, free: 91.46 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08445/1.572, allocations: 37.84 MB / 0.7432 GB, free: 70.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01453/1.587, allocations: 4.6 MB / 0.7477 GB, free: 68.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001559/1.589, allocations: 1.315 MB / 0.7489 GB, free: 67.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/1.589, allocations: 53.03 kB / 0.749 GB, free: 66.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 6.532e-06/1.589, allocations: 0 / 0.749 GB, free: 66.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.06562/1.654, allocations: 17.93 MB / 0.7665 GB, free: 60.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/1.654, allocations: 72.81 kB / 0.7666 GB, free: 60.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005034/1.659, allocations: 2.498 MB / 0.769 GB, free: 59.71 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005852/1.66, allocations: 61.52 kB / 0.7691 GB, free: 59.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002106/1.662, allocations: 2.837 MB / 0.7718 GB, free: 57.45 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001398/1.664, allocations: 0.913 MB / 0.7727 GB, free: 56.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000708/1.664, allocations: 113.3 kB / 0.7728 GB, free: 56.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003982/1.665, allocations: 0.5449 MB / 0.7734 GB, free: 56.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005393/1.67, allocations: 2.294 MB / 0.7756 GB, free: 55.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007562/1.678, allocations: 5.251 MB / 0.7807 GB, free: 50.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007458/1.685, allocations: 3.479 MB / 0.7841 GB, free: 49.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001019/1.685, allocations: 28.81 kB / 0.7842 GB, free: 49.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.02263/1.708, allocations: 8.227 MB / 0.7922 GB, free: 43.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.194e-05/1.708, allocations: 57.52 kB / 0.7923 GB, free: 43.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001184/1.708, allocations: 104 kB / 0.7924 GB, free: 42.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004438/1.713, allocations: 0.9536 MB / 0.7933 GB, free: 42.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007258/1.72, allocations: 1.234 MB / 0.7945 GB, free: 41.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009679/1.73, allocations: 4.866 MB / 0.7992 GB, free: 36.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005403/1.735, allocations: 298.3 kB / 0.7995 GB, free: 36.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001194/1.737, allocations: 317.8 kB / 0.7998 GB, free: 36.39 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.005982/1.743, allocations: 2.189 MB / 0.802 GB, free: 34.49 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007948/1.743, allocations: 280.3 kB / 0.8022 GB, free: 34.21 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01377/1.757, allocations: 5.108 MB / 0.8072 GB, free: 30.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001161/1.757, allocations: 43.42 kB / 0.8073 GB, free: 30.01 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/1.757, allocations: 0 / 0.8073 GB, free: 30.01 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-05/1.757, allocations: 9.562 kB / 0.8073 GB, free: 30.01 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03088/1.788, allocations: 11.98 MB / 0.819 GB, free: 19.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-05/1.788, allocations: 12 kB / 0.819 GB, free: 19.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003279/1.792, allocations: 393.5 kB / 0.8194 GB, free: 19.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004211/1.796, allocations: 0.7807 MB / 0.8201 GB, free: 19.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005482/1.796, allocations: 58.56 kB / 0.8202 GB, free: 19.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00846/1.805, allocations: 4.144 MB / 0.8242 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.226e-05/1.805, allocations: 15.94 kB / 0.8242 GB, free: 15.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01833/1.823, allocations: 8.444 MB / 0.8325 GB, free: 7.207 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002395/1.826, allocations: 0.6848 MB / 0.8332 GB, free: 6.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009321/1.827, allocations: 44 kB / 0.8332 GB, free: 6.457 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002843/1.83, allocations: 147.8 kB / 0.8333 GB, free: 6.312 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007706/1.83, allocations: 160 kB / 0.8335 GB, free: 6.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002537/1.831, allocations: 79.98 kB / 0.8336 GB, free: 6.082 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004016/1.835, allocations: 1.706 MB / 0.8352 GB, free: 4.371 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.31e-07/1.835, allocations: 0 / 0.8352 GB, free: 4.371 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006611/1.841, allocations: 1.001 MB / 0.8362 GB, free: 3.375 MB / 490.7 MB 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.0009656/1.842, allocations: 195.7 kB / 0.8364 GB, free: 3.188 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01345/1.856, allocations: 5.608 MB / 0.8419 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/1.856, allocations: 0.8125 kB / 0.8419 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005672/1.862, allocations: 2.141 MB / 0.844 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/1.865, allocations: 347.3 kB / 0.8443 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03197/1.897, allocations: 12.75 MB / 0.8567 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009003/1.906, allocations: 3.534 MB / 0.8602 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001918/1.908, allocations: 263.4 kB / 0.8604 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of SimCode: time 1.624e-06/1.908, allocations: 0 / 0.8604 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of Templates: time 0.493/2.401, allocations: 73.58 MB / 0.9323 GB, free: 100.8 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