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.0009202/0.0009201, allocations: 175.8 kB / 16.76 MB, free: 5.051 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.414/1.414, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007724/0.0007723, allocations: 101 kB / 271.3 MB, free: 8.242 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.3986/0.3986, allocations: 43.56 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003872, allocations: 12 kB / 432.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1273, allocations: 58.84 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3401/0.4674, allocations: 105.5 MB / 0.583 GB, free: 12.41 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.4676, allocations: 75.95 kB / 0.5831 GB, free: 12.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2324/0.7001, allocations: 90.53 MB / 0.6715 GB, free: 1.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.7002, allocations: 0 / 0.6715 GB, free: 1.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002422/0.7004, allocations: 79.94 kB / 0.6716 GB, free: 1.082 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.2559/0.9563, allocations: 4.002 MB / 0.6755 GB, free: 93.26 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.9564, allocations: 9.594 kB / 0.6755 GB, free: 93.26 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01564/0.972, allocations: 3.521 MB / 0.6789 GB, free: 92.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008849/0.981, allocations: 3.372 MB / 0.6822 GB, free: 92.67 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004395/0.9814, allocations: 325.4 kB / 0.6825 GB, free: 92.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002777/0.9842, allocations: 429.7 kB / 0.6829 GB, free: 92.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02266/1.007, allocations: 10.88 MB / 0.6936 GB, free: 91.33 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001793/1.007, allocations: 32.41 kB / 0.6936 GB, free: 91.33 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001062/1.008, allocations: 200 kB / 0.6938 GB, free: 91.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001463/1.01, allocations: 1.26 MB / 0.695 GB, free: 91.31 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01762/1.027, allocations: 10.38 MB / 0.7052 GB, free: 91.26 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05345/1.081, allocations: 37.8 MB / 0.7421 GB, free: 70.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007559/1.088, allocations: 4.583 MB / 0.7466 GB, free: 68.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002731/1.091, allocations: 2.401 MB / 0.7489 GB, free: 67.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008472/1.092, allocations: 1.319 MB / 0.7502 GB, free: 66.15 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/1.092, allocations: 55.75 kB / 0.7502 GB, free: 66.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 5.33e-06/1.092, allocations: 3.688 kB / 0.7502 GB, free: 66.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.03311/1.125, allocations: 17.42 MB / 0.7673 GB, free: 60.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/1.125, allocations: 74.19 kB / 0.7673 GB, free: 60.37 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003406/1.129, allocations: 2.798 MB / 0.7701 GB, free: 59.31 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002347/1.129, allocations: 56.3 kB / 0.7701 GB, free: 59.26 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001288/1.13, allocations: 2.85 MB / 0.7729 GB, free: 57.08 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000649/1.131, allocations: 0.9196 MB / 0.7738 GB, free: 56.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/1.131, allocations: 111.1 kB / 0.7739 GB, free: 56.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002226/1.131, allocations: 0.5384 MB / 0.7744 GB, free: 55.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002593/1.134, allocations: 2.297 MB / 0.7767 GB, free: 55.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003713/1.138, allocations: 5.269 MB / 0.7818 GB, free: 50.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007069/1.145, allocations: 8.342 MB / 0.79 GB, free: 43.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-05/1.145, allocations: 28 kB / 0.79 GB, free: 43.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.01189/1.157, allocations: 8.298 MB / 0.7981 GB, free: 35.99 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.299e-05/1.157, allocations: 55.88 kB / 0.7981 GB, free: 35.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.562e-05/1.157, allocations: 104 kB / 0.7982 GB, free: 35.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002304/1.159, allocations: 0.9363 MB / 0.7992 GB, free: 35.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003584/1.163, allocations: 1.241 MB / 0.8004 GB, free: 34.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005183/1.168, allocations: 4.743 MB / 0.805 GB, free: 29.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003719/1.172, allocations: 306 kB / 0.8053 GB, free: 29.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009197/1.173, allocations: 315.8 kB / 0.8056 GB, free: 29.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.004111/1.177, allocations: 2.184 MB / 0.8077 GB, free: 27.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006068/1.177, allocations: 284.2 kB / 0.808 GB, free: 27.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007647/1.185, allocations: 5.108 MB / 0.813 GB, free: 23.06 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.335e-05/1.185, allocations: 50.31 kB / 0.813 GB, free: 23.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/1.185, allocations: 0 / 0.813 GB, free: 23.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.566e-05/1.185, allocations: 10.22 kB / 0.813 GB, free: 23.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01664/1.202, allocations: 11.98 MB / 0.8247 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/1.202, allocations: 12 kB / 0.8248 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001453/1.203, allocations: 394.1 kB / 0.8251 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002035/1.205, allocations: 0.7763 MB / 0.8259 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001637/1.206, allocations: 48.59 kB / 0.8259 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004149/1.21, allocations: 4.029 MB / 0.8299 GB, free: 8.555 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/1.21, allocations: 19.88 kB / 0.8299 GB, free: 8.535 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008988/1.219, allocations: 7.592 MB / 0.8373 GB, free: 1.211 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/1.22, allocations: 0.6887 MB / 0.838 GB, free: 0.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000384/1.221, allocations: 54.72 kB / 0.838 GB, free: 460 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/1.222, allocations: 135.9 kB / 0.8382 GB, free: 324 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002954/1.222, allocations: 156.8 kB / 0.8383 GB, free: 168 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/1.222, allocations: 72 kB / 0.8384 GB, free: 96 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002566/1.225, allocations: 1.71 MB / 0.84 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.91e-07/1.225, allocations: 4 kB / 0.84 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004354/1.229, allocations: 1.01 MB / 0.841 GB, free: 13.38 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.000468/1.23, allocations: 196.1 kB / 0.8412 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008084/1.238, allocations: 5.601 MB / 0.8467 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/1.238, allocations: 8.062 kB / 0.8467 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002986/1.241, allocations: 2.143 MB / 0.8488 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005267/1.246, allocations: 383.6 kB / 0.8492 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02034/1.266, allocations: 12.27 MB / 0.8611 GB, free: 8.668 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005691/1.272, allocations: 3.431 MB / 0.8645 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004978/1.277, allocations: 2.008 MB / 0.8665 GB, free: 3.219 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007124/1.278, allocations: 219.4 kB / 0.8667 GB, free: 3.004 MB / 0.5105 GB Notification: Performance of SimCode: time 1.724e-06/1.278, allocations: 0 / 0.8667 GB, free: 3.004 MB / 0.5105 GB Notification: Performance of Templates: time 0.2775/1.556, allocations: 31.78 MB / 0.8977 GB, free: 108.9 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/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_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches