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.001534/0.001534, allocations: 105.5 kB / 16.41 MB, free: 6.449 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.001588/0.001588, allocations: 188.2 kB / 17.34 MB, free: 5.715 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.617/1.617, allocations: 205.1 MB / 223.2 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.2736/0.2736, allocations: 43.52 MB / 314.1 MB, free: 448 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.001456/0.001456, allocations: 73.47 kB / 441.8 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1552, allocations: 57.79 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01605/0.1714, allocations: 13.93 MB / 0.5015 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.184, allocations: 4.198 MB / 0.5056 GB, free: 9.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004095/0.1881, allocations: 71.81 kB / 0.5057 GB, free: 9.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004805/0.193, allocations: 1.833 MB / 0.5075 GB, free: 7.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008221/0.2013, allocations: 1.919 MB / 0.5093 GB, free: 5.715 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002508/0.2039, allocations: 0.5537 MB / 0.5099 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008609/0.2125, allocations: 3.968 MB / 0.5137 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005701/0.2182, allocations: 2.716 MB / 0.5164 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00341/0.2217, allocations: 1.421 MB / 0.5178 GB, free: 12.99 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003968/0.2257, allocations: 1.982 MB / 0.5197 GB, free: 11 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001492/0.2272, allocations: 296 kB / 0.52 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00317/0.2304, allocations: 0.9947 MB / 0.521 GB, free: 9.715 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00283/0.2332, allocations: 1.804 MB / 0.5227 GB, free: 7.906 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003137/0.2364, allocations: 2.166 MB / 0.5248 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3947/0.6311, allocations: 7.076 MB / 0.5318 GB, free: 13.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.387e-06/0.6311, allocations: 0 / 0.5318 GB, free: 13.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6312, allocations: 0 / 0.5318 GB, free: 13.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003414/0.6315, allocations: 0 / 0.5318 GB, free: 13.32 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.01551/0.647, allocations: 4.633 MB / 0.5363 GB, free: 11.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/0.6471, allocations: 10.56 kB / 0.5363 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01463/0.6617, allocations: 3.115 MB / 0.5393 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009109/0.6709, allocations: 2.219 MB / 0.5415 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004289/0.6714, allocations: 225.2 kB / 0.5417 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002713/0.6741, allocations: 295.1 kB / 0.542 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03389/0.7081, allocations: 11.33 MB / 0.5531 GB, free: 8.715 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003298/0.7084, allocations: 31.39 kB / 0.5531 GB, free: 8.711 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001697/0.7102, allocations: 137.3 kB / 0.5532 GB, free: 8.656 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005565/0.7157, allocations: 2.711 MB / 0.5559 GB, free: 8.211 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02813/0.7439, allocations: 10.48 MB / 0.5661 GB, free: 4.785 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07665/0.8206, allocations: 37.27 MB / 0.6025 GB, free: 15.76 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01101/0.8317, allocations: 4.576 MB / 0.607 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004493/0.8362, allocations: 2.408 MB / 0.6093 GB, free: 8.559 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001692/0.838, allocations: 1.316 MB / 0.6106 GB, free: 7.035 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.504e-05/0.8381, allocations: 52.5 kB / 0.6107 GB, free: 6.973 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 9.678e-06/0.8381, allocations: 4 kB / 0.6107 GB, free: 6.969 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.05077/0.8889, allocations: 17.63 MB / 0.6279 GB, free: 5.32 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.68e-05/0.889, allocations: 76.97 kB / 0.6279 GB, free: 5.238 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005191/0.8942, allocations: 2.795 MB / 0.6307 GB, free: 2.434 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004814/0.8947, allocations: 57.7 kB / 0.6307 GB, free: 2.371 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002244/0.897, allocations: 2.854 MB / 0.6335 GB, free: 15.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00139/0.8984, allocations: 0.9167 MB / 0.6344 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001575/0.9, allocations: 1.089 MB / 0.6355 GB, free: 13.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.9001, allocations: 309.1 kB / 0.6358 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003484/0.9036, allocations: 2.334 MB / 0.6381 GB, free: 10.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005954/0.9096, allocations: 5.304 MB / 0.6432 GB, free: 4.172 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0114/0.921, allocations: 8.388 MB / 0.6514 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001082/0.9212, allocations: 32 kB / 0.6515 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.0161/0.9373, allocations: 8.384 MB / 0.6596 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.689e-05/0.9374, allocations: 52.06 kB / 0.6597 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001233/0.9376, allocations: 104 kB / 0.6598 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002738/0.9403, allocations: 0.938 MB / 0.6607 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004524/0.9448, allocations: 1.256 MB / 0.6619 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00722/0.9521, allocations: 5.149 MB / 0.667 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00478/0.9569, allocations: 298.9 kB / 0.6672 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007737/0.9577, allocations: 316 kB / 0.6675 GB, free: 10.69 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.004292/0.962, allocations: 2.195 MB / 0.6697 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005881/0.9626, allocations: 284.3 kB / 0.67 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008915/0.9715, allocations: 5.128 MB / 0.675 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.357e-05/0.9716, allocations: 47.98 kB / 0.675 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.9716, allocations: 4 kB / 0.675 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-05/0.9716, allocations: 7.969 kB / 0.675 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02236/0.994, allocations: 11.94 MB / 0.6867 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-05/0.9941, allocations: 12.03 kB / 0.6867 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0017/0.9958, allocations: 396.8 kB / 0.6871 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002509/0.9983, allocations: 0.7731 MB / 0.6878 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002063/0.9985, allocations: 54.08 kB / 0.6879 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006961/1.006, allocations: 4.388 MB / 0.6922 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.595e-05/1.006, allocations: 15.94 kB / 0.6922 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01209/1.018, allocations: 7.627 MB / 0.6996 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00187/1.02, allocations: 0.6809 MB / 0.7003 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003966/1.02, allocations: 50.33 kB / 0.7003 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/1.021, allocations: 147.8 kB / 0.7005 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004173/1.022, allocations: 156.9 kB / 0.7006 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001831/1.022, allocations: 74.64 kB / 0.7007 GB, free: 8.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002871/1.025, allocations: 1.725 MB / 0.7024 GB, free: 6.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/1.025, allocations: 0 / 0.7024 GB, free: 6.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005157/1.03, allocations: 1.008 MB / 0.7034 GB, free: 5.492 MB / 0.545 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 (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 {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000634/1.031, allocations: 187.4 kB / 0.7036 GB, free: 5.301 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009234/1.04, allocations: 5.708 MB / 0.7091 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.501e-05/1.04, allocations: 4 kB / 0.7091 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003036/1.043, allocations: 2.153 MB / 0.7112 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002496/1.045, allocations: 401.5 kB / 0.7116 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01922/1.065, allocations: 10.28 MB / 0.7217 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004194/1.069, allocations: 3.437 MB / 0.725 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004532/1.074, allocations: 1.998 MB / 0.727 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006682/1.074, allocations: 215.4 kB / 0.7272 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of SimCode: time 8.92e-07/1.074, allocations: 3.938 kB / 0.7272 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of Templates: time 0.4219/1.496, allocations: 31.7 MB / 0.7581 GB, free: 211 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins/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