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.001872/0.001872, allocations: 110.7 kB / 17.04 MB, free: 5.812 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.002033/0.002033, allocations: 196 kB / 17.97 MB, free: 5.027 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.462/1.462, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2122/0.2122, allocations: 43.52 MB / 314.7 MB, free: 492 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.001552/0.001552, allocations: 72.45 kB / 384.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0998/0.1014, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01276/0.1142, allocations: 13.92 MB / 455.9 MB, free: 8.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008091/0.1223, allocations: 4.206 MB / 460.1 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00196/0.1243, allocations: 71.81 kB / 460.2 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003269/0.1276, allocations: 1.829 MB / 462 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004187/0.1318, allocations: 1.864 MB / 463.9 MB, free: 180 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.1332, allocations: 0.5576 MB / 464.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004782/0.138, allocations: 3.968 MB / 468.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00314/0.1412, allocations: 2.716 MB / 471.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002573/0.1438, allocations: 1.413 MB / 472.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002819/0.1466, allocations: 1.978 MB / 474.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005757/0.1472, allocations: 296 kB / 474.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002065/0.1493, allocations: 1.002 MB / 475.8 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001613/0.1509, allocations: 1.8 MB / 477.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002061/0.153, allocations: 2.174 MB / 479.8 MB, free: 192 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0076/0.1606, allocations: 7.072 MB / 486.8 MB, free: 9.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1606, allocations: 0 / 486.8 MB, free: 9.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.1606, allocations: 0 / 486.8 MB, free: 9.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001543/0.1608, allocations: 0 / 486.8 MB, free: 9.09 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.008119/0.1689, allocations: 4.642 MB / 491.5 MB, free: 4.379 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.169, allocations: 8.031 kB / 491.5 MB, free: 4.371 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01008/0.1791, allocations: 3.114 MB / 494.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005726/0.1848, allocations: 2.214 MB / 496.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/0.185, allocations: 222 kB / 497 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008508/0.1859, allocations: 299.7 kB / 497.3 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01787/0.2038, allocations: 11.32 MB / 0.4967 GB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001011/0.2039, allocations: 31.72 kB / 0.4967 GB, free: 2.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004368/0.2044, allocations: 139.8 kB / 0.4969 GB, free: 2.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004352/0.2087, allocations: 2.71 MB / 0.4995 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02105/0.2298, allocations: 10.47 MB / 0.5098 GB, free: 5.316 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2834/0.5132, allocations: 37.27 MB / 0.5461 GB, free: 63.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008888/0.5221, allocations: 4.572 MB / 0.5506 GB, free: 62.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003767/0.526, allocations: 2.401 MB / 0.553 GB, free: 62.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001276/0.5273, allocations: 1.316 MB / 0.5542 GB, free: 61.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.5273, allocations: 52.94 kB / 0.5543 GB, free: 61.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=242): time 5.61e-06/0.5273, allocations: 1.469 kB / 0.5543 GB, free: 61.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=254): time 0.03431/0.5616, allocations: 17.63 MB / 0.5715 GB, free: 55.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.5617, allocations: 76.72 kB / 0.5716 GB, free: 55.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002906/0.5646, allocations: 2.792 MB / 0.5743 GB, free: 54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001756/0.5648, allocations: 61.45 kB / 0.5744 GB, free: 53.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001226/0.5661, allocations: 2.854 MB / 0.5772 GB, free: 51.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004981/0.5666, allocations: 0.9164 MB / 0.5781 GB, free: 50.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001058/0.5676, allocations: 1.088 MB / 0.5791 GB, free: 49.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.398e-05/0.5677, allocations: 309.1 kB / 0.5794 GB, free: 48.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002372/0.5701, allocations: 2.334 MB / 0.5817 GB, free: 46.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003248/0.5733, allocations: 5.308 MB / 0.5869 GB, free: 39.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006295/0.5796, allocations: 8.389 MB / 0.5951 GB, free: 29.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.025e-05/0.5797, allocations: 32 kB / 0.5951 GB, free: 29.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01036/0.59, allocations: 8.386 MB / 0.6033 GB, free: 21.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.975e-05/0.5901, allocations: 48 kB / 0.6033 GB, free: 21.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.779e-05/0.5902, allocations: 104 kB / 0.6034 GB, free: 21.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002305/0.5925, allocations: 0.9416 MB / 0.6044 GB, free: 20.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0032/0.5957, allocations: 1.252 MB / 0.6056 GB, free: 19.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005004/0.6007, allocations: 5.141 MB / 0.6106 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002844/0.6036, allocations: 306.7 kB / 0.6109 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003365/0.6039, allocations: 319.9 kB / 0.6112 GB, free: 13.27 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.002503/0.6064, allocations: 2.181 MB / 0.6133 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003286/0.6068, allocations: 288.3 kB / 0.6136 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00679/0.6136, allocations: 5.129 MB / 0.6186 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.377e-05/0.6136, allocations: 47.92 kB / 0.6187 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.6136, allocations: 4.875 kB / 0.6187 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/0.6137, allocations: 11.97 kB / 0.6187 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01877/0.6324, allocations: 11.94 MB / 0.6303 GB, free: 9.484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/0.6325, allocations: 14.3 kB / 0.6303 GB, free: 9.477 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001631/0.6341, allocations: 403.3 kB / 0.6307 GB, free: 9.082 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0025/0.6367, allocations: 0.7789 MB / 0.6315 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000192/0.6369, allocations: 48 kB / 0.6315 GB, free: 8.254 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005745/0.6426, allocations: 4.388 MB / 0.6358 GB, free: 3.734 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.234e-05/0.6426, allocations: 19.88 kB / 0.6358 GB, free: 3.715 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01123/0.6539, allocations: 7.623 MB / 0.6433 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001995/0.6559, allocations: 0.677 MB / 0.6439 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004096/0.6563, allocations: 54.17 kB / 0.644 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.6576, allocations: 143.8 kB / 0.6441 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000366/0.658, allocations: 156.8 kB / 0.6443 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001733/0.6582, allocations: 77.95 kB / 0.6444 GB, free: 10.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002551/0.6607, allocations: 1.722 MB / 0.646 GB, free: 9.082 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6607, allocations: 0 / 0.646 GB, free: 9.082 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004398/0.6651, allocations: 1.002 MB / 0.647 GB, free: 8.086 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.0005406/0.6657, allocations: 188.5 kB / 0.6472 GB, free: 7.898 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008705/0.6744, allocations: 5.717 MB / 0.6528 GB, free: 2.203 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/0.6745, allocations: 8.125 kB / 0.6528 GB, free: 2.195 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003014/0.6775, allocations: 2.148 MB / 0.6549 GB, free: 40 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/0.6797, allocations: 391.4 kB / 0.6553 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01736/0.697, allocations: 10.29 MB / 0.6653 GB, free: 5.25 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004112/0.7012, allocations: 3.434 MB / 0.6687 GB, free: 1.793 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004302/0.7055, allocations: 2.003 MB / 0.6706 GB, free: 15.79 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006963/0.7063, allocations: 219.3 kB / 0.6708 GB, free: 15.58 MB / 478.1 MB Notification: Performance of SimCode: time 8.62e-07/0.7063, allocations: 0 / 0.6708 GB, free: 15.58 MB / 478.1 MB Notification: Performance of Templates: time 0.06152/0.7678, allocations: 29.89 MB / 0.7 GB, free: 1.855 MB / 494.1 MB 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 -s gbode -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