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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 113.2 kB / 17.09 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 199.3 kB / 18.02 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2182/0.2182, allocations: 43.53 MB / 314.8 MB, free: 432 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 69.47 kB / 442.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1156, allocations: 57.79 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01388/0.1295, allocations: 13.92 MB / 0.5022 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008776/0.1383, allocations: 4.202 MB / 0.5063 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002234/0.1406, allocations: 71.81 kB / 0.5063 GB, free: 9.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003818/0.1445, allocations: 1.837 MB / 0.5081 GB, free: 7.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004425/0.1489, allocations: 1.868 MB / 0.5099 GB, free: 5.766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.1503, allocations: 0.5537 MB / 0.5105 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004982/0.1553, allocations: 3.963 MB / 0.5144 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003425/0.1588, allocations: 2.72 MB / 0.517 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002179/0.161, allocations: 1.421 MB / 0.5184 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002775/0.1638, allocations: 1.982 MB / 0.5203 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008152/0.1646, allocations: 296 kB / 0.5206 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002193/0.1668, allocations: 0.9947 MB / 0.5216 GB, free: 9.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001893/0.1687, allocations: 1.808 MB / 0.5234 GB, free: 7.957 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002305/0.171, allocations: 2.166 MB / 0.5255 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2278/0.3989, allocations: 7.066 MB / 0.5324 GB, free: 13.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.056e-06/0.3989, allocations: 0 / 0.5324 GB, free: 13.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3989, allocations: 0 / 0.5324 GB, free: 13.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000262/0.3992, allocations: 0.6875 kB / 0.5324 GB, free: 13.3 MB / 414.1 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.009734/0.4089, allocations: 4.639 MB / 0.5369 GB, free: 11.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.409, allocations: 8.953 kB / 0.5369 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01084/0.4199, allocations: 3.111 MB / 0.54 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00488/0.4248, allocations: 2.219 MB / 0.5421 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/0.4249, allocations: 226.2 kB / 0.5423 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007029/0.4256, allocations: 294.8 kB / 0.5426 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01724/0.4429, allocations: 11.32 MB / 0.5537 GB, free: 8.668 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000101/0.4431, allocations: 33.56 kB / 0.5537 GB, free: 8.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004155/0.4435, allocations: 139.2 kB / 0.5538 GB, free: 8.605 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004101/0.4476, allocations: 2.719 MB / 0.5565 GB, free: 8.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01834/0.4659, allocations: 10.47 MB / 0.5667 GB, free: 4.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05157/0.5176, allocations: 37.28 MB / 0.6031 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009846/0.5275, allocations: 4.579 MB / 0.6076 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003642/0.5311, allocations: 2.4 MB / 0.6099 GB, free: 8.578 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001271/0.5324, allocations: 1.319 MB / 0.6112 GB, free: 7.055 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.5325, allocations: 52.5 kB / 0.6113 GB, free: 6.992 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 5.811e-06/0.5325, allocations: 4 kB / 0.6113 GB, free: 6.988 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.0386/0.5711, allocations: 17.62 MB / 0.6285 GB, free: 5.344 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.5712, allocations: 77.41 kB / 0.6286 GB, free: 5.258 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00389/0.5751, allocations: 2.799 MB / 0.6313 GB, free: 2.449 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004188/0.5755, allocations: 57.7 kB / 0.6313 GB, free: 2.387 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002041/0.5776, allocations: 2.851 MB / 0.6341 GB, free: 15.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00146/0.5791, allocations: 0.9172 MB / 0.635 GB, free: 14.63 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002526/0.5816, allocations: 1.087 MB / 0.6361 GB, free: 13.54 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.5818, allocations: 301.1 kB / 0.6364 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003903/0.5857, allocations: 2.334 MB / 0.6387 GB, free: 10.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0068/0.5925, allocations: 5.314 MB / 0.6438 GB, free: 4.188 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01029/0.6029, allocations: 8.378 MB / 0.652 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.426e-05/0.6029, allocations: 32 kB / 0.6521 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01367/0.6166, allocations: 8.392 MB / 0.6603 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.273e-05/0.6167, allocations: 48 kB / 0.6603 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001058/0.6168, allocations: 105.9 kB / 0.6604 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002605/0.6194, allocations: 0.9419 MB / 0.6613 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003604/0.6231, allocations: 1.248 MB / 0.6625 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006321/0.6294, allocations: 5.149 MB / 0.6676 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003152/0.6326, allocations: 303.7 kB / 0.6679 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006029/0.6332, allocations: 308 kB / 0.6681 GB, free: 10.71 MB / 0.5137 GB 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 (669): * Single equations (assignments): 662 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,10,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003346/0.6365, allocations: 2.193 MB / 0.6703 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000538/0.6371, allocations: 284.3 kB / 0.6706 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008441/0.6455, allocations: 5.132 MB / 0.6756 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.057e-05/0.6456, allocations: 11.97 kB / 0.6756 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.6456, allocations: 0 / 0.6756 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/0.647, allocations: 0.6771 MB / 0.6762 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000403/0.6474, allocations: 32 kB / 0.6763 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.6486, allocations: 145.4 kB / 0.6764 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003891/0.649, allocations: 132.9 kB / 0.6765 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008836/0.6578, allocations: 4.568 MB / 0.681 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008998/0.6669, allocations: 6.729 MB / 0.6876 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002391/0.6693, allocations: 1.866 MB / 0.6894 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003406/0.6727, allocations: 1.709 MB / 0.6911 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of Backend: time 7.82e-07/0.6727, allocations: 0 / 0.6911 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009248/0.682, allocations: 4.246 MB / 0.6952 GB, free: 14.96 MB / 0.545 GB Notification: Performance of SimCode: time 0.01463/0.6966, allocations: 9.139 MB / 0.7041 GB, free: 5.781 MB / 0.545 GB Notification: Performance of Templates: time 0.1018/0.7985, allocations: 44.29 MB / 0.7474 GB, free: 9.637 MB / 0.5919 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches