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.001739/0.001739, allocations: 101.1 kB / 16.26 MB, free: 5.93 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.001785/0.001785, allocations: 190.9 kB / 17.2 MB, free: 5.574 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.504/1.504, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2238/0.2238, allocations: 43.52 MB / 313.9 MB, free: 0.5195 MB / 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.002561/0.002561, allocations: 76.86 kB / 382.7 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1563, allocations: 57.79 MB / 440.5 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01462/0.171, allocations: 13.91 MB / 454.4 MB, free: 8.895 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.011/0.182, allocations: 4.21 MB / 458.6 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002923/0.185, allocations: 67.88 kB / 458.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003801/0.1888, allocations: 1.826 MB / 460.5 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0055/0.1944, allocations: 1.868 MB / 462.4 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.196, allocations: 0.5615 MB / 463 MB, free: 344 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006079/0.2021, allocations: 3.956 MB / 466.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003711/0.2058, allocations: 2.728 MB / 469.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002649/0.2085, allocations: 1.409 MB / 471.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002946/0.2114, allocations: 1.974 MB / 473 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007432/0.2122, allocations: 299.9 kB / 473.3 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00228/0.2145, allocations: 1.002 MB / 474.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001836/0.2163, allocations: 1.808 MB / 476.1 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002317/0.2186, allocations: 2.17 MB / 478.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008226/0.2269, allocations: 6.76 MB / 485.1 MB, free: 10.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.557e-06/0.2269, allocations: 0 / 485.1 MB, free: 10.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.2269, allocations: 0 / 485.1 MB, free: 10.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002123/0.2272, allocations: 0 / 485.1 MB, free: 10.13 MB / 366.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.01048/0.2376, allocations: 4.641 MB / 489.7 MB, free: 5.418 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.2377, allocations: 12.03 kB / 489.7 MB, free: 5.406 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01098/0.2487, allocations: 3.114 MB / 492.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005485/0.2542, allocations: 2.186 MB / 495 MB, free: 48 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002115/0.2545, allocations: 222 kB / 495.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000762/0.2552, allocations: 303.7 kB / 495.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02/0.2752, allocations: 11.32 MB / 0.495 GB, free: 3.746 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001303/0.2755, allocations: 31.72 kB / 0.495 GB, free: 3.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000434/0.2759, allocations: 135.8 kB / 0.4951 GB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004949/0.2809, allocations: 2.71 MB / 0.4978 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02441/0.3053, allocations: 10.48 MB / 0.508 GB, free: 6.371 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4257/0.7311, allocations: 37.49 MB / 0.5446 GB, free: 65.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01229/0.7435, allocations: 4.581 MB / 0.5491 GB, free: 64.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005041/0.7486, allocations: 2.401 MB / 0.5515 GB, free: 64.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001555/0.7501, allocations: 1.318 MB / 0.5527 GB, free: 62.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.225e-05/0.7502, allocations: 56.84 kB / 0.5528 GB, free: 62.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=242): time 8.155e-06/0.7502, allocations: 0 / 0.5528 GB, free: 62.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=254): time 0.04065/0.7909, allocations: 17.63 MB / 0.57 GB, free: 57.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.791, allocations: 70.44 kB / 0.5701 GB, free: 57.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005415/0.7964, allocations: 2.798 MB / 0.5728 GB, free: 55.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002247/0.7967, allocations: 53.7 kB / 0.5729 GB, free: 55.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001873/0.7986, allocations: 2.859 MB / 0.5757 GB, free: 52.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00119/0.7998, allocations: 0.9132 MB / 0.5765 GB, free: 51.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001905/0.8017, allocations: 1.087 MB / 0.5776 GB, free: 50.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.243e-05/0.8018, allocations: 305.1 kB / 0.5779 GB, free: 50.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002662/0.8045, allocations: 2.33 MB / 0.5802 GB, free: 47.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003966/0.8084, allocations: 5.313 MB / 0.5854 GB, free: 40.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008113/0.8166, allocations: 8.383 MB / 0.5935 GB, free: 31.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.226e-05/0.8167, allocations: 28 kB / 0.5936 GB, free: 31.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=730) (initialization): time 0.0148/0.8315, allocations: 8.394 MB / 0.6018 GB, free: 22.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001152/0.8316, allocations: 51.28 kB / 0.6018 GB, free: 22.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002514/0.8319, allocations: 104 kB / 0.6019 GB, free: 22.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002765/0.8347, allocations: 0.9512 MB / 0.6029 GB, free: 21.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004044/0.8388, allocations: 1.252 MB / 0.6041 GB, free: 20.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006126/0.8449, allocations: 5.146 MB / 0.6091 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005158/0.8501, allocations: 303.8 kB / 0.6094 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001292/0.8514, allocations: 311.9 kB / 0.6097 GB, free: 14.5 MB / 414.1 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 (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.005056/0.8565, allocations: 2.191 MB / 0.6118 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009949/0.8575, allocations: 280.3 kB / 0.6121 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009274/0.8668, allocations: 5.133 MB / 0.6171 GB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.49e-05/0.8669, allocations: 48 kB / 0.6172 GB, free: 6.809 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.201e-05/0.8669, allocations: 0 / 0.6172 GB, free: 6.809 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.511e-05/0.867, allocations: 11.95 kB / 0.6172 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02627/0.8933, allocations: 11.98 MB / 0.6289 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-05/0.8934, allocations: 8 kB / 0.6289 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001854/0.8952, allocations: 399.3 kB / 0.6293 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002627/0.8979, allocations: 0.7781 MB / 0.63 GB, free: 9.496 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000327/0.8982, allocations: 51.66 kB / 0.6301 GB, free: 9.449 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006778/0.905, allocations: 4.383 MB / 0.6343 GB, free: 4.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.539e-05/0.9051, allocations: 11.94 kB / 0.6344 GB, free: 4.918 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01562/0.9207, allocations: 7.632 MB / 0.6418 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002821/0.9236, allocations: 0.6848 MB / 0.6425 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001327/0.925, allocations: 44 kB / 0.6425 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002545/0.9276, allocations: 147.8 kB / 0.6427 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005873/0.9282, allocations: 153.7 kB / 0.6428 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002635/0.9285, allocations: 75.52 kB / 0.6429 GB, free: 12.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004685/0.9332, allocations: 1.725 MB / 0.6446 GB, free: 10.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9332, allocations: 3.938 kB / 0.6446 GB, free: 10.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007096/0.9403, allocations: 1.003 MB / 0.6455 GB, free: 9.281 MB / 446.1 MB 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.000705/0.941, allocations: 189.3 kB / 0.6457 GB, free: 9.094 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01821/0.9593, allocations: 9.148 MB / 0.6547 GB, free: 15.97 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.132e-05/0.9594, allocations: 0 / 0.6547 GB, free: 15.97 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004189/0.9636, allocations: 2.152 MB / 0.6568 GB, free: 13.81 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005167/0.9688, allocations: 394.3 kB / 0.6571 GB, free: 13.44 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02909/0.9979, allocations: 10.42 MB / 0.6673 GB, free: 2.891 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00654/1.005, allocations: 3.436 MB / 0.6707 GB, free: 15.42 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005638/1.01, allocations: 1.994 MB / 0.6726 GB, free: 13.42 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008705/1.011, allocations: 223.4 kB / 0.6728 GB, free: 13.2 MB / 478.1 MB Notification: Performance of SimCode: time 1.543e-06/1.011, allocations: 0 / 0.6728 GB, free: 13.2 MB / 478.1 MB Notification: Performance of Templates: time 0.08445/1.096, allocations: 34.02 MB / 0.706 GB, free: 11.28 MB / 0.4981 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