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.0009189/0.000919, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.3 MB / 213.7 MB, free: 1.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009399/0.0009396, allocations: 84.03 kB / 261.7 MB, free: 1.617 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.214/0.214, allocations: 43.49 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.336e-05/1.338e-05, allocations: 4 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1191, allocations: 58.86 MB / 477.1 MB, free: 1.629 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4231/0.5423, allocations: 104.6 MB / 0.5681 GB, free: 7.055 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.5426, allocations: 74.53 kB / 0.5682 GB, free: 7.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2239/0.7665, allocations: 89.89 MB / 0.656 GB, free: 5.062 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.7666, allocations: 0 / 0.656 GB, free: 5.062 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001557/0.7667, allocations: 83.94 kB / 0.6561 GB, free: 4.98 MB / 458.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.01197/0.7787, allocations: 3.973 MB / 0.6599 GB, free: 0.9414 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.7788, allocations: 8.031 kB / 0.66 GB, free: 0.9336 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01556/0.7943, allocations: 3.547 MB / 0.6634 GB, free: 13.38 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01225/0.8066, allocations: 4.436 MB / 0.6678 GB, free: 8.883 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002364/0.8069, allocations: 140 kB / 0.6679 GB, free: 8.746 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002248/0.8092, allocations: 247.9 kB / 0.6681 GB, free: 8.504 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01386/0.823, allocations: 7.686 MB / 0.6756 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02219/0.8453, allocations: 10.05 MB / 0.6854 GB, free: 6.289 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000153/0.8454, allocations: 27.72 kB / 0.6855 GB, free: 6.262 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009306/0.8464, allocations: 15.94 kB / 0.6855 GB, free: 6.246 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002262/0.8487, allocations: 1.255 MB / 0.6867 GB, free: 4.988 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3198/1.168, allocations: 35.25 MB / 0.7211 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005044/1.174, allocations: 4.357 MB / 0.7254 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003569/1.177, allocations: 2.345 MB / 0.7277 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001261/1.178, allocations: 1.317 MB / 0.729 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/1.179, allocations: 51.56 kB / 0.729 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=244): time 5.42e-06/1.179, allocations: 1.562 kB / 0.729 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=256): time 0.04291/1.221, allocations: 15.65 MB / 0.7443 GB, free: 109 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/1.222, allocations: 73.94 kB / 0.7444 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004413/1.226, allocations: 2.335 MB / 0.7467 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004655/1.226, allocations: 29.58 kB / 0.7467 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001577/1.228, allocations: 2.945 MB / 0.7496 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000967/1.229, allocations: 0.9006 MB / 0.7504 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003191/1.229, allocations: 9.188 kB / 0.7504 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003705/1.23, allocations: 0.5574 MB / 0.751 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00366/1.233, allocations: 2.233 MB / 0.7532 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005721/1.239, allocations: 5.432 MB / 0.7585 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006061/1.245, allocations: 3.502 MB / 0.7619 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-05/1.245, allocations: 31.59 kB / 0.7619 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01964/1.265, allocations: 7.839 MB / 0.7696 GB, free: 98.96 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.932e-05/1.265, allocations: 58.36 kB / 0.7696 GB, free: 98.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001456/1.265, allocations: 115.1 kB / 0.7697 GB, free: 98.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003838/1.269, allocations: 0.9583 MB / 0.7707 GB, free: 98.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006817/1.276, allocations: 1.328 MB / 0.772 GB, free: 98.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0058/1.282, allocations: 4.561 MB / 0.7764 GB, free: 96.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003957/1.286, allocations: 198.9 kB / 0.7766 GB, free: 96.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00108/1.287, allocations: 342.3 kB / 0.7769 GB, free: 96.34 MB / 0.4948 GB 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.0008654/1.288, allocations: 399.4 kB / 0.7773 GB, free: 96 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004405/1.288, allocations: 275.7 kB / 0.7776 GB, free: 95.85 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007383/1.296, allocations: 4.933 MB / 0.7824 GB, free: 94.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.094e-05/1.296, allocations: 50.58 kB / 0.7825 GB, free: 94.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/1.296, allocations: 3.469 kB / 0.7825 GB, free: 94.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.169e-05/1.296, allocations: 10.36 kB / 0.7825 GB, free: 94.25 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01639/1.312, allocations: 10.83 MB / 0.7931 GB, free: 90.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/1.312, allocations: 8 kB / 0.7931 GB, free: 90.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001549/1.314, allocations: 408.2 kB / 0.7934 GB, free: 89.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002197/1.316, allocations: 0.7618 MB / 0.7942 GB, free: 89.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001928/1.316, allocations: 23.8 kB / 0.7942 GB, free: 89.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004036/1.32, allocations: 3.856 MB / 0.798 GB, free: 85.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.809e-06/1.32, allocations: 15.94 kB / 0.798 GB, free: 85.92 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009133/1.329, allocations: 8.316 MB / 0.8061 GB, free: 78.22 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001695/1.331, allocations: 0.676 MB / 0.8068 GB, free: 77.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004701/1.332, allocations: 16 kB / 0.8068 GB, free: 77.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/1.333, allocations: 113.1 kB / 0.8069 GB, free: 77.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002808/1.333, allocations: 156.4 kB / 0.807 GB, free: 77.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/1.334, allocations: 75.3 kB / 0.8071 GB, free: 77.33 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002025/1.336, allocations: 1.527 MB / 0.8086 GB, free: 76 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/1.336, allocations: 0 / 0.8086 GB, free: 76 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004959/1.341, allocations: 0.8833 MB / 0.8095 GB, free: 75.13 MB / 0.4948 GB 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.0004455/1.341, allocations: 166.6 kB / 0.8096 GB, free: 74.97 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006541/1.348, allocations: 5.43 MB / 0.8149 GB, free: 70.08 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/1.348, allocations: 7.938 kB / 0.8149 GB, free: 70.07 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00206/1.35, allocations: 2.072 MB / 0.817 GB, free: 68.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/1.351, allocations: 240.9 kB / 0.8172 GB, free: 67.98 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/1.366, allocations: 8.622 MB / 0.8256 GB, free: 60.15 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003123/1.369, allocations: 3.519 MB / 0.8291 GB, free: 57.44 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004301/1.373, allocations: 2.117 MB / 0.8311 GB, free: 56.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006158/1.374, allocations: 217.8 kB / 0.8313 GB, free: 55.88 MB / 0.4948 GB Notification: Performance of SimCode: time 9.52e-07/1.374, allocations: 0 / 0.8313 GB, free: 55.88 MB / 0.4948 GB Notification: Performance of Templates: time 0.04353/1.417, allocations: 27.96 MB / 0.8586 GB, free: 32.81 MB / 0.4948 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