Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009422/0.0009423, allocations: 180.4 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 221.3 MB / 236 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008452/0.0008452, allocations: 94.67 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1709/0.1709, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.889e-05/2.891e-05, allocations: 4.219 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1286, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3748/0.5035, allocations: 106.8 MB / 0.6061 GB, free: 14.44 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.5038, allocations: 75.95 kB / 0.6061 GB, free: 14.37 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2231/0.7269, allocations: 91.14 MB / 0.6951 GB, free: 2.551 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.185e-06/0.727, allocations: 0 / 0.6951 GB, free: 2.551 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001777/0.7271, allocations: 76 kB / 0.6952 GB, free: 2.477 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01143/0.7386, allocations: 3.898 MB / 0.699 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.7386, allocations: 12.03 kB / 0.699 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01448/0.7531, allocations: 3.527 MB / 0.7025 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0111/0.7643, allocations: 4.26 MB / 0.7066 GB, free: 6.648 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003302/0.7647, allocations: 320.3 kB / 0.7069 GB, free: 6.332 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002276/0.7669, allocations: 423.8 kB / 0.7073 GB, free: 5.918 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2927/1.06, allocations: 10.65 MB / 0.7177 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001384/1.06, allocations: 30.3 kB / 0.7178 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006752/1.061, allocations: 187.7 kB / 0.7179 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001651/1.062, allocations: 1.221 MB / 0.7191 GB, free: 125 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02078/1.083, allocations: 10.24 MB / 0.7291 GB, free: 125 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05047/1.133, allocations: 36.98 MB / 0.7653 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00862/1.142, allocations: 4.552 MB / 0.7697 GB, free: 105 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002953/1.145, allocations: 2.385 MB / 0.772 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009424/1.146, allocations: 1.314 MB / 0.7733 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/1.146, allocations: 56.03 kB / 0.7734 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=242): time 6.362e-06/1.146, allocations: 0 / 0.7734 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=254): time 0.03055/1.177, allocations: 14.52 MB / 0.7875 GB, free: 98.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/1.177, allocations: 76.28 kB / 0.7876 GB, free: 98.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004139/1.181, allocations: 2.412 MB / 0.79 GB, free: 97.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004572/1.181, allocations: 62.31 kB / 0.79 GB, free: 97.49 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001574/1.183, allocations: 2.765 MB / 0.7927 GB, free: 95.48 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001109/1.184, allocations: 0.9163 MB / 0.7936 GB, free: 94.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005373/1.185, allocations: 107.7 kB / 0.7937 GB, free: 94.72 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004127/1.185, allocations: 0.5405 MB / 0.7943 GB, free: 94.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003134/1.188, allocations: 2.237 MB / 0.7964 GB, free: 93.61 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00417/1.193, allocations: 5.131 MB / 0.8015 GB, free: 89.01 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004351/1.197, allocations: 3.435 MB / 0.8048 GB, free: 87.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.294e-05/1.197, allocations: 29.53 kB / 0.8048 GB, free: 87.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.01244/1.209, allocations: 8.131 MB / 0.8128 GB, free: 81.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.603e-05/1.21, allocations: 49.09 kB / 0.8128 GB, free: 81.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001508/1.21, allocations: 100 kB / 0.8129 GB, free: 81.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002484/1.212, allocations: 0.9462 MB / 0.8138 GB, free: 80.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003916/1.216, allocations: 1.22 MB / 0.815 GB, free: 79.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005968/1.222, allocations: 4.738 MB / 0.8197 GB, free: 75.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004172/1.226, allocations: 301.6 kB / 0.82 GB, free: 75.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001215/1.228, allocations: 310.5 kB / 0.8202 GB, free: 75.07 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 460 * Number of states: 0 () * Number of discrete variables: 35 (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.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (652): * Single equations (assignments): 645 * 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.001934/1.23, allocations: 0.4964 MB / 0.8207 GB, free: 74.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007824/1.23, allocations: 272.4 kB / 0.821 GB, free: 74.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008512/1.239, allocations: 5.064 MB / 0.8259 GB, free: 70.17 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.404e-05/1.239, allocations: 40.5 kB / 0.826 GB, free: 70.13 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/1.239, allocations: 4 kB / 0.826 GB, free: 70.13 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.451e-05/1.239, allocations: 14.22 kB / 0.826 GB, free: 70.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01975/1.259, allocations: 11.87 MB / 0.8376 GB, free: 60.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.814e-05/1.259, allocations: 8 kB / 0.8376 GB, free: 60.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/1.26, allocations: 402.7 kB / 0.838 GB, free: 59.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002183/1.263, allocations: 0.7749 MB / 0.8387 GB, free: 59.36 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002442/1.263, allocations: 56.45 kB / 0.8388 GB, free: 59.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004467/1.267, allocations: 4.008 MB / 0.8427 GB, free: 55.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/1.267, allocations: 15.94 kB / 0.8427 GB, free: 55.74 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009292/1.277, allocations: 8.372 MB / 0.8509 GB, free: 47.99 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007485/1.277, allocations: 337 kB / 0.8512 GB, free: 47.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005802/1.278, allocations: 52.78 kB / 0.8513 GB, free: 47.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/1.28, allocations: 140.1 kB / 0.8514 GB, free: 47.52 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000331/1.28, allocations: 148.5 kB / 0.8515 GB, free: 47.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001951/1.28, allocations: 77.16 kB / 0.8516 GB, free: 47.34 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002712/1.283, allocations: 1.649 MB / 0.8532 GB, free: 45.88 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.62e-07/1.283, allocations: 0 / 0.8532 GB, free: 45.88 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004638/1.287, allocations: 0.9948 MB / 0.8542 GB, free: 44.89 MB / 0.5105 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 () * 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.0005668/1.288, allocations: 188.3 kB / 0.8544 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007132/1.295, allocations: 5.505 MB / 0.8597 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/1.295, allocations: 448 / 0.8597 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002454/1.298, allocations: 2.128 MB / 0.8618 GB, free: 37.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/1.3, allocations: 359.2 kB / 0.8622 GB, free: 37.28 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01523/1.315, allocations: 8.535 MB / 0.8705 GB, free: 28.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004301/1.319, allocations: 3.466 MB / 0.8739 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00435/1.324, allocations: 1.985 MB / 0.8758 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008245/1.325, allocations: 211.4 kB / 0.876 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of SimCode: time 7.02e-07/1.325, allocations: 0 / 0.876 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of Templates: time 0.0503/1.375, allocations: 31.53 MB / 0.9068 GB, free: 8.004 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches