Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001111/0.001111, allocations: 184 kB / 13.19 MB, free: 2.129 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.311/1.311, allocations: 205.2 MB / 218.9 MB, free: 9.137 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.000707/0.000707, allocations: 93.02 kB / 267.1 MB, free: 9.254 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.3096/0.3096, allocations: 43.46 MB / 358.6 MB, free: 52.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.186e-05/2.187e-05, allocations: 0 / 425.3 MB, free: 8.871 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1056, allocations: 58.85 MB / 484.2 MB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3354/0.4411, allocations: 105.3 MB / 0.5756 GB, free: 15.66 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.4413, allocations: 81.73 kB / 0.5757 GB, free: 15.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.218/0.6593, allocations: 91.68 MB / 0.6653 GB, free: 3.242 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.6593, allocations: 4 kB / 0.6653 GB, free: 3.238 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001251/0.6595, allocations: 79.94 kB / 0.6653 GB, free: 3.16 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.2356/0.8951, allocations: 3.967 MB / 0.6692 GB, free: 92.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.8951, allocations: 9.469 kB / 0.6692 GB, free: 92.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01489/0.91, allocations: 3.551 MB / 0.6727 GB, free: 91.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01056/0.9206, allocations: 4.439 MB / 0.677 GB, free: 91.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/0.9209, allocations: 329.9 kB / 0.6773 GB, free: 91.56 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001318/0.9222, allocations: 428.6 kB / 0.6777 GB, free: 91.56 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01769/0.9399, allocations: 10.85 MB / 0.6883 GB, free: 90.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.554e-05/0.94, allocations: 28.06 kB / 0.6884 GB, free: 90.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005355/0.9406, allocations: 193.4 kB / 0.6885 GB, free: 90.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001301/0.9419, allocations: 1.258 MB / 0.6898 GB, free: 90.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01433/0.9562, allocations: 10.33 MB / 0.6999 GB, free: 90.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04614/1.002, allocations: 37.84 MB / 0.7368 GB, free: 69.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007178/1.01, allocations: 4.562 MB / 0.7413 GB, free: 67.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002346/1.012, allocations: 2.377 MB / 0.7436 GB, free: 66.33 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008327/1.013, allocations: 1.322 MB / 0.7449 GB, free: 65.15 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/1.013, allocations: 50.94 kB / 0.7449 GB, free: 65.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 4.028e-06/1.013, allocations: 0 / 0.7449 GB, free: 65.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.02674/1.04, allocations: 14.6 MB / 0.7592 GB, free: 60.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/1.04, allocations: 76.69 kB / 0.7593 GB, free: 60.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002666/1.042, allocations: 2.466 MB / 0.7617 GB, free: 59.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001361/1.043, allocations: 58.2 kB / 0.7617 GB, free: 59.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001028/1.044, allocations: 2.852 MB / 0.7645 GB, free: 57.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005228/1.044, allocations: 0.9234 MB / 0.7654 GB, free: 56.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/1.044, allocations: 105.2 kB / 0.7655 GB, free: 56.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000216/1.045, allocations: 0.5412 MB / 0.766 GB, free: 56.26 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002346/1.047, allocations: 2.252 MB / 0.7682 GB, free: 55.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003393/1.05, allocations: 5.216 MB / 0.7733 GB, free: 50.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003502/1.054, allocations: 3.47 MB / 0.7767 GB, free: 49.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-05/1.054, allocations: 27.62 kB / 0.7768 GB, free: 49.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.01106/1.065, allocations: 8.218 MB / 0.7848 GB, free: 43.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.853e-05/1.065, allocations: 56.92 kB / 0.7848 GB, free: 43.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.281e-05/1.065, allocations: 104 kB / 0.7849 GB, free: 43.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00233/1.067, allocations: 0.95 MB / 0.7859 GB, free: 42.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003541/1.071, allocations: 1.241 MB / 0.7871 GB, free: 41.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00498/1.076, allocations: 4.747 MB / 0.7917 GB, free: 37.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00328/1.079, allocations: 300.8 kB / 0.792 GB, free: 37.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004157/1.08, allocations: 306.4 kB / 0.7923 GB, free: 37.01 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 () * 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.0006645/1.08, allocations: 0.5119 MB / 0.7928 GB, free: 36.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003056/1.081, allocations: 280.3 kB / 0.7931 GB, free: 36.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007061/1.088, allocations: 5.07 MB / 0.798 GB, free: 32.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-05/1.088, allocations: 47.94 kB / 0.7981 GB, free: 32.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/1.088, allocations: 0 / 0.7981 GB, free: 32.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/1.088, allocations: 10.12 kB / 0.7981 GB, free: 32.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01541/1.103, allocations: 11.94 MB / 0.8097 GB, free: 22.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/1.103, allocations: 8 kB / 0.8097 GB, free: 22.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/1.105, allocations: 400.8 kB / 0.8101 GB, free: 21.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002051/1.107, allocations: 0.7746 MB / 0.8109 GB, free: 21.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001507/1.107, allocations: 49.98 kB / 0.8109 GB, free: 21.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004206/1.111, allocations: 4.026 MB / 0.8148 GB, free: 17.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/1.111, allocations: 11.94 kB / 0.8149 GB, free: 17.61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008804/1.12, allocations: 8.395 MB / 0.8231 GB, free: 9.848 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001498/1.122, allocations: 0.6804 MB / 0.8237 GB, free: 9.199 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002917/1.122, allocations: 51.75 kB / 0.8238 GB, free: 9.152 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/1.123, allocations: 144.2 kB / 0.8239 GB, free: 9.062 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002574/1.123, allocations: 156.5 kB / 0.8241 GB, free: 8.957 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/1.123, allocations: 72 kB / 0.8241 GB, free: 8.887 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002015/1.125, allocations: 1.682 MB / 0.8258 GB, free: 7.398 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.125, allocations: 0 / 0.8258 GB, free: 7.398 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003343/1.129, allocations: 1.008 MB / 0.8268 GB, free: 6.398 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 () * 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.0003625/1.129, allocations: 200.8 kB / 0.8269 GB, free: 6.211 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006174/1.135, allocations: 5.547 MB / 0.8324 GB, free: 1.156 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.135, allocations: 4 kB / 0.8324 GB, free: 1.152 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00446/1.14, allocations: 2.288 MB / 0.8346 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/1.142, allocations: 344.7 kB / 0.8349 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/1.156, allocations: 8.673 MB / 0.8434 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003566/1.159, allocations: 3.532 MB / 0.8468 GB, free: 3.281 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004618/1.164, allocations: 2 MB / 0.8488 GB, free: 1.285 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006646/1.164, allocations: 219.4 kB / 0.849 GB, free: 1.07 MB / 0.4948 GB Notification: Performance of SimCode: time 6.12e-07/1.164, allocations: 0 / 0.849 GB, free: 1.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.2957/1.46, allocations: 31.68 MB / 0.88 GB, free: 106.2 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/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_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches