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.001637/0.001642, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.023/2.023, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001171/0.001171, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2875/0.2875, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004569/0.000457, allocations: 15.98 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1162, allocations: 58.86 MB / 490.2 MB, free: 9.336 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.05259/0.1689, allocations: 32.75 MB / 0.5107 GB, free: 8.484 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02298/0.1919, allocations: 8.118 MB / 0.5186 GB, free: 352 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006174/0.1981, allocations: 155.7 kB / 0.5188 GB, free: 196 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.3493/0.5475, allocations: 1.648 MB / 0.5204 GB, free: 10.12 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01875/0.5663, allocations: 4.883 MB / 0.5252 GB, free: 10.05 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003035/0.5694, allocations: 461.4 kB / 0.5256 GB, free: 10.04 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005707/0.5751, allocations: 2.155 MB / 0.5277 GB, free: 10.04 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006781/0.582, allocations: 3.041 MB / 0.5307 GB, free: 9.723 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002808/0.5848, allocations: 0.9778 MB / 0.5316 GB, free: 9.723 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003431/0.5883, allocations: 1.353 MB / 0.533 GB, free: 9.648 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001304/0.5897, allocations: 150.7 kB / 0.5331 GB, free: 9.648 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003239/0.5929, allocations: 0.7505 MB / 0.5338 GB, free: 9.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002897/0.5959, allocations: 1.512 MB / 0.5353 GB, free: 9.203 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001965/0.5979, allocations: 0.8355 MB / 0.5361 GB, free: 9.172 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008457/0.6064, allocations: 5.386 MB / 0.5414 GB, free: 6.281 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.6065, allocations: 0 / 0.5414 GB, free: 6.281 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.6065, allocations: 0 / 0.5414 GB, free: 6.281 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002704/0.6068, allocations: 0 / 0.5414 GB, free: 6.281 MB / 362.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.01166/0.6184, allocations: 3.925 MB / 0.5452 GB, free: 3.867 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.6185, allocations: 9.625 kB / 0.5452 GB, free: 3.867 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02281/0.6413, allocations: 3.761 MB / 0.5489 GB, free: 2.195 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007092/0.6485, allocations: 2.372 MB / 0.5512 GB, free: 1.418 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002615/0.6488, allocations: 222.8 kB / 0.5514 GB, free: 1.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00187/0.6506, allocations: 289.5 kB / 0.5517 GB, free: 1.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03067/0.6813, allocations: 11.39 MB / 0.5628 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002002/0.6816, allocations: 25.22 kB / 0.5629 GB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001471/0.6831, allocations: 138 kB / 0.563 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008849/0.692, allocations: 2.714 MB / 0.5656 GB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03446/0.7265, allocations: 10.55 MB / 0.5759 GB, free: 1.004 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09068/0.8172, allocations: 37.6 MB / 0.6127 GB, free: 11.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01617/0.8334, allocations: 4.569 MB / 0.6171 GB, free: 6.562 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00202/0.8355, allocations: 1.324 MB / 0.6184 GB, free: 5.027 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.579e-05/0.8356, allocations: 52.56 kB / 0.6185 GB, free: 4.969 MB / 426.7 MB Notification: Performance of pre-optimization done (n=242): time 6.963e-06/0.8356, allocations: 0 / 0.6185 GB, free: 4.969 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.095/0.9307, allocations: 18.15 MB / 0.6362 GB, free: 2.668 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.709e-05/0.9308, allocations: 77.34 kB / 0.6363 GB, free: 2.582 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007087/0.9379, allocations: 2.899 MB / 0.6391 GB, free: 15.68 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006408/0.9386, allocations: 56.67 kB / 0.6392 GB, free: 15.62 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003242/0.9418, allocations: 2.843 MB / 0.6419 GB, free: 12.79 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001847/0.9437, allocations: 0.9202 MB / 0.6428 GB, free: 11.88 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009013/0.9447, allocations: 104 kB / 0.6429 GB, free: 11.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007753/0.9455, allocations: 0.5462 MB / 0.6435 GB, free: 11.22 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007054/0.9526, allocations: 2.301 MB / 0.6457 GB, free: 8.914 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01047/0.9631, allocations: 5.259 MB / 0.6508 GB, free: 2.207 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009662/0.9729, allocations: 3.482 MB / 0.6542 GB, free: 14.73 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001092/0.973, allocations: 28 kB / 0.6543 GB, free: 14.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=726) (initialization): time 0.02685/0.9999, allocations: 8.243 MB / 0.6623 GB, free: 6.449 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/1, allocations: 48 kB / 0.6624 GB, free: 6.402 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001937/1, allocations: 104 kB / 0.6625 GB, free: 6.301 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00518/1.005, allocations: 0.9573 MB / 0.6634 GB, free: 5.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008187/1.014, allocations: 1.248 MB / 0.6646 GB, free: 4.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/1.026, allocations: 4.936 MB / 0.6694 GB, free: 15.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005631/1.031, allocations: 303.7 kB / 0.6697 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001367/1.033, allocations: 314.2 kB / 0.67 GB, free: 14.43 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * 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 (665): * Single equations (assignments): 658 * 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.006831/1.04, allocations: 2.192 MB / 0.6722 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007611/1.04, allocations: 280.3 kB / 0.6724 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01665/1.057, allocations: 5.12 MB / 0.6774 GB, free: 6.801 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001281/1.057, allocations: 51.94 kB / 0.6775 GB, free: 6.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/1.057, allocations: 4 kB / 0.6775 GB, free: 6.746 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.98e-05/1.057, allocations: 7.969 kB / 0.6775 GB, free: 6.738 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04996/1.107, allocations: 11.96 MB / 0.6892 GB, free: 10.63 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.833e-05/1.107, allocations: 15.95 kB / 0.6892 GB, free: 10.61 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004612/1.112, allocations: 400.2 kB / 0.6896 GB, free: 10.22 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006057/1.118, allocations: 0.7719 MB / 0.6903 GB, free: 9.449 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008119/1.119, allocations: 51.98 kB / 0.6904 GB, free: 9.398 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01357/1.133, allocations: 4.213 MB / 0.6945 GB, free: 5.059 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.592e-05/1.133, allocations: 15.94 kB / 0.6945 GB, free: 5.043 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02982/1.162, allocations: 8.455 MB / 0.7028 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004018/1.167, allocations: 0.6848 MB / 0.7034 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001515/1.168, allocations: 47.98 kB / 0.7035 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00368/1.172, allocations: 150.8 kB / 0.7036 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001241/1.173, allocations: 152.9 kB / 0.7038 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007145/1.174, allocations: 75.98 kB / 0.7038 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006453/1.18, allocations: 1.784 MB / 0.7056 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.92e-07/1.18, allocations: 0 / 0.7056 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009979/1.19, allocations: 1.022 MB / 0.7066 GB, free: 8.109 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 () * 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.001495/1.192, allocations: 211.7 kB / 0.7068 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02154/1.214, allocations: 5.618 MB / 0.7123 GB, free: 2.293 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/1.214, allocations: 1.875 kB / 0.7123 GB, free: 2.293 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005893/1.22, allocations: 2.141 MB / 0.7144 GB, free: 140 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3249/1.544, allocations: 338.6 kB / 0.7147 GB, free: 185.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02979/1.574, allocations: 12.76 MB / 0.7271 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008983/1.583, allocations: 3.531 MB / 0.7306 GB, free: 179.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00209/1.585, allocations: 263.4 kB / 0.7308 GB, free: 179.1 MB / 0.5105 GB Notification: Performance of SimCode: time 2.515e-06/1.585, allocations: 1.5 kB / 0.7308 GB, free: 179.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.1426/1.728, allocations: 73.98 MB / 0.8031 GB, free: 116.6 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