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.001371/0.001371, allocations: 111.1 kB / 16.41 MB, free: 6.484 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.001423/0.001423, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.616/1.616, 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.2472/0.2472, allocations: 43.53 MB / 314.1 MB, free: 464 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.001539/0.001539, allocations: 64.23 kB / 441.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1572, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01568/0.1729, allocations: 13.92 MB / 0.5015 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.1837, allocations: 4.206 MB / 0.5056 GB, free: 9.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002885/0.1866, allocations: 71.81 kB / 0.5057 GB, free: 9.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004035/0.1907, allocations: 1.829 MB / 0.5075 GB, free: 7.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006976/0.1978, allocations: 1.922 MB / 0.5093 GB, free: 5.746 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.1994, allocations: 0.5498 MB / 0.5099 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005898/0.2053, allocations: 3.968 MB / 0.5137 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003412/0.2088, allocations: 2.72 MB / 0.5164 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002629/0.2114, allocations: 1.413 MB / 0.5178 GB, free: 13.03 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002705/0.2141, allocations: 1.986 MB / 0.5197 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005613/0.2147, allocations: 300 kB / 0.52 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002139/0.2169, allocations: 0.9946 MB / 0.521 GB, free: 9.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001793/0.2187, allocations: 1.812 MB / 0.5227 GB, free: 7.934 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002165/0.2208, allocations: 2.166 MB / 0.5249 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3957/0.6166, allocations: 7.064 MB / 0.5318 GB, free: 13.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.258e-06/0.6167, allocations: 1 kB / 0.5318 GB, free: 13.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.6167, allocations: 0 / 0.5318 GB, free: 13.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003696/0.6171, allocations: 0 / 0.5318 GB, free: 13.39 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.01408/0.6311, allocations: 4.643 MB / 0.5363 GB, free: 11.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.6312, allocations: 8.562 kB / 0.5363 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01319/0.6444, allocations: 3.113 MB / 0.5393 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008082/0.6526, allocations: 2.223 MB / 0.5415 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000308/0.6529, allocations: 223.3 kB / 0.5417 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001999/0.6549, allocations: 293.9 kB / 0.542 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02753/0.6825, allocations: 11.32 MB / 0.5531 GB, free: 8.773 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000126/0.6826, allocations: 31.27 kB / 0.5531 GB, free: 8.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004689/0.6831, allocations: 140.2 kB / 0.5532 GB, free: 8.715 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005153/0.6883, allocations: 2.716 MB / 0.5559 GB, free: 8.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02217/0.7105, allocations: 10.48 MB / 0.5661 GB, free: 4.824 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07015/0.7807, allocations: 37.27 MB / 0.6025 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01064/0.7914, allocations: 4.572 MB / 0.607 GB, free: 11.03 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004576/0.796, allocations: 2.407 MB / 0.6093 GB, free: 8.625 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001562/0.7976, allocations: 1.315 MB / 0.6106 GB, free: 7.102 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.618e-05/0.7977, allocations: 58.97 kB / 0.6107 GB, free: 7.035 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 1.066e-05/0.7977, allocations: 0 / 0.6107 GB, free: 7.035 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.04978/0.8475, allocations: 17.63 MB / 0.6279 GB, free: 5.383 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.681e-05/0.8476, allocations: 73.41 kB / 0.6279 GB, free: 5.301 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006946/0.8546, allocations: 2.796 MB / 0.6307 GB, free: 2.496 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006971/0.8553, allocations: 60.28 kB / 0.6307 GB, free: 2.434 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003174/0.8585, allocations: 2.85 MB / 0.6335 GB, free: 15.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00183/0.8604, allocations: 0.916 MB / 0.6344 GB, free: 14.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002397/0.8628, allocations: 1.09 MB / 0.6355 GB, free: 13.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.8629, allocations: 301.1 kB / 0.6358 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003503/0.8665, allocations: 2.338 MB / 0.638 GB, free: 10.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006256/0.8727, allocations: 5.31 MB / 0.6432 GB, free: 4.234 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/0.8838, allocations: 8.387 MB / 0.6514 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-05/0.8839, allocations: 28 kB / 0.6514 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.0164/0.9003, allocations: 8.381 MB / 0.6596 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.9005, allocations: 52 kB / 0.6597 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002261/0.9008, allocations: 105.7 kB / 0.6598 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003005/0.9038, allocations: 0.9467 MB / 0.6607 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005166/0.909, allocations: 1.248 MB / 0.6619 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007535/0.9165, allocations: 5.144 MB / 0.6669 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004539/0.9211, allocations: 306.9 kB / 0.6672 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001301/0.9224, allocations: 316 kB / 0.6675 GB, free: 10.73 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.008877/0.9313, allocations: 2.191 MB / 0.6697 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001063/0.9324, allocations: 284.3 kB / 0.67 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01062/0.943, allocations: 5.129 MB / 0.675 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001077/0.9432, allocations: 47.98 kB / 0.675 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-05/0.9432, allocations: 4 kB / 0.675 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.3e-05/0.9433, allocations: 7.969 kB / 0.675 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02614/0.9694, allocations: 11.94 MB / 0.6867 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.94e-05/0.9695, allocations: 8 kB / 0.6867 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001683/0.9712, allocations: 403.3 kB / 0.6871 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002358/0.9736, allocations: 0.7813 MB / 0.6878 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002197/0.9738, allocations: 48 kB / 0.6879 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005509/0.9793, allocations: 4.393 MB / 0.6922 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.194e-05/0.9793, allocations: 19.12 kB / 0.6922 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01125/0.9906, allocations: 7.631 MB / 0.6996 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00188/0.9925, allocations: 0.6731 MB / 0.7003 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003751/0.9929, allocations: 54.8 kB / 0.7004 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/0.9941, allocations: 143.8 kB / 0.7005 GB, free: 8.488 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003775/0.9945, allocations: 152.9 kB / 0.7006 GB, free: 8.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001769/0.9947, allocations: 74.33 kB / 0.7007 GB, free: 8.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002741/0.9974, allocations: 1.729 MB / 0.7024 GB, free: 6.535 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9974, allocations: 0 / 0.7024 GB, free: 6.535 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005615/1.003, allocations: 0.9999 MB / 0.7034 GB, free: 5.535 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.0005688/1.004, allocations: 187.2 kB / 0.7036 GB, free: 5.344 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009228/1.013, allocations: 5.719 MB / 0.7091 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.656e-05/1.013, allocations: 4 kB / 0.7091 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003238/1.016, allocations: 2.145 MB / 0.7112 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/1.019, allocations: 398.7 kB / 0.7116 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0216/1.041, allocations: 10.28 MB / 0.7217 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005966/1.047, allocations: 3.436 MB / 0.725 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005871/1.053, allocations: 1.994 MB / 0.727 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008304/1.053, allocations: 221.5 kB / 0.7272 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of SimCode: time 1.523e-06/1.053, allocations: 0 / 0.7272 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of Templates: time 0.4389/1.492, allocations: 31.7 MB / 0.7581 GB, free: 191.4 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