Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001062/0.001062, allocations: 121 kB / 18.41 MB, free: 4.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001087/0.001087, allocations: 208.5 kB / 19.36 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.203/0.203, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 76.11 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1281, allocations: 62.45 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01406/0.1422, allocations: 13.5 MB / 495 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008485/0.1507, allocations: 4.17 MB / 499.1 MB, free: 2.777 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002717/0.1535, allocations: 71.81 kB / 499.2 MB, free: 2.707 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003924/0.1574, allocations: 1.814 MB / 0.4893 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005519/0.163, allocations: 1.798 MB / 0.491 GB, free: 15.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.1648, allocations: 0.5576 MB / 0.4916 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005606/0.1704, allocations: 3.889 MB / 0.4954 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003896/0.1743, allocations: 2.693 MB / 0.498 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002266/0.1766, allocations: 1.359 MB / 0.4993 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002484/0.1791, allocations: 1.955 MB / 0.5012 GB, free: 4.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005788/0.1797, allocations: 292 kB / 0.5015 GB, free: 4.273 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001729/0.1814, allocations: 0.9869 MB / 0.5025 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001504/0.183, allocations: 1.741 MB / 0.5042 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2387/0.4217, allocations: 2.1 MB / 0.5062 GB, free: 17.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009833/0.4315, allocations: 6.881 MB / 0.513 GB, free: 16.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.4316, allocations: 0 / 0.513 GB, free: 16.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4316, allocations: 1.062 kB / 0.513 GB, free: 16.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003106/0.4319, allocations: 6.016 kB / 0.513 GB, free: 16.5 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01637/0.4483, allocations: 4.521 MB / 0.5174 GB, free: 14.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.494e-05/0.4484, allocations: 9.5 kB / 0.5174 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01085/0.4592, allocations: 3.11 MB / 0.5204 GB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006879/0.4662, allocations: 2.124 MB / 0.5225 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002178/0.4664, allocations: 221.6 kB / 0.5227 GB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001327/0.4677, allocations: 287.5 kB / 0.523 GB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01702/0.4848, allocations: 11.12 MB / 0.5338 GB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.903e-05/0.4849, allocations: 28.53 kB / 0.5339 GB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004437/0.4854, allocations: 134.8 kB / 0.534 GB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003356/0.4887, allocations: 2.618 MB / 0.5366 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01782/0.5066, allocations: 10.37 MB / 0.5467 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05349/0.5601, allocations: 36.47 MB / 0.5823 GB, free: 12.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008484/0.5686, allocations: 4.57 MB / 0.5868 GB, free: 7.562 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00304/0.5717, allocations: 2.396 MB / 0.5891 GB, free: 5.168 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/0.5728, allocations: 1.328 MB / 0.5904 GB, free: 3.629 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.5729, allocations: 56.56 kB / 0.5905 GB, free: 3.566 MB / 430.1 MB Notification: Performance of pre-optimization done (n=242): time 4.689e-06/0.5729, allocations: 0 / 0.5905 GB, free: 3.566 MB / 430.1 MB Notification: Performance of matching and sorting (n=254): time 0.03861/0.6115, allocations: 17.58 MB / 0.6076 GB, free: 1.957 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.429e-05/0.6116, allocations: 73.41 kB / 0.6077 GB, free: 1.871 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004336/0.6159, allocations: 2.737 MB / 0.6104 GB, free: 15.12 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002926/0.6162, allocations: 53.7 kB / 0.6104 GB, free: 15.06 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001694/0.6179, allocations: 2.777 MB / 0.6131 GB, free: 12.28 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008787/0.6188, allocations: 0.916 MB / 0.614 GB, free: 11.37 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001414/0.6203, allocations: 1.073 MB / 0.6151 GB, free: 10.29 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.228e-05/0.6204, allocations: 301.1 kB / 0.6154 GB, free: 9.996 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003069/0.6234, allocations: 2.318 MB / 0.6176 GB, free: 7.672 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005166/0.6286, allocations: 5.225 MB / 0.6227 GB, free: 1.078 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009265/0.6379, allocations: 8.266 MB / 0.6308 GB, free: 7.82 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.986e-05/0.638, allocations: 32 kB / 0.6308 GB, free: 7.789 MB / 478.1 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01474/0.6527, allocations: 8.286 MB / 0.6389 GB, free: 15.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.767e-05/0.6528, allocations: 50.5 kB / 0.639 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001129/0.653, allocations: 100 kB / 0.6391 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0026/0.6556, allocations: 0.945 MB / 0.64 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004498/0.6601, allocations: 1.228 MB / 0.6412 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007303/0.6674, allocations: 5.134 MB / 0.6462 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004131/0.6716, allocations: 298 kB / 0.6465 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009199/0.6725, allocations: 308.9 kB / 0.6468 GB, free: 7.711 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 35 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (657): * Single equations (assignments): 650 * 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.004763/0.6773, allocations: 2.154 MB / 0.6489 GB, free: 5.547 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006316/0.6779, allocations: 284.3 kB / 0.6491 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008722/0.6867, allocations: 5.121 MB / 0.6541 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.428e-05/0.6868, allocations: 50.17 kB / 0.6542 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.6868, allocations: 4 kB / 0.6542 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.938e-05/0.6868, allocations: 7.969 kB / 0.6542 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01916/0.706, allocations: 11.87 MB / 0.6658 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/0.706, allocations: 16.94 kB / 0.6658 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/0.7076, allocations: 395.4 kB / 0.6662 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002279/0.7099, allocations: 0.7767 MB / 0.667 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001781/0.7101, allocations: 51.98 kB / 0.667 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00524/0.7154, allocations: 4.377 MB / 0.6713 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/0.7154, allocations: 15.94 kB / 0.6713 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/0.7256, allocations: 7.626 MB / 0.6787 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008321/0.7264, allocations: 329.6 kB / 0.6791 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003696/0.7268, allocations: 54.28 kB / 0.6791 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/0.728, allocations: 147.8 kB / 0.6792 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003481/0.7284, allocations: 152.9 kB / 0.6794 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001714/0.7285, allocations: 74.09 kB / 0.6795 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002534/0.7311, allocations: 1.693 MB / 0.6811 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7311, allocations: 0 / 0.6811 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004387/0.7355, allocations: 0.9604 MB / 0.6821 GB, free: 3.062 MB / 0.5137 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.0005455/0.7361, allocations: 190.7 kB / 0.6822 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009789/0.7459, allocations: 5.673 MB / 0.6878 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.448e-05/0.7459, allocations: 7.938 kB / 0.6878 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00329/0.7492, allocations: 2.141 MB / 0.6899 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002626/0.7519, allocations: 402.8 kB / 0.6903 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01927/0.7711, allocations: 10.1 MB / 0.7001 GB, free: 416 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003849/0.775, allocations: 3.371 MB / 0.7034 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004113/0.7792, allocations: 1.978 MB / 0.7053 GB, free: 11.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006684/0.7799, allocations: 215.4 kB / 0.7056 GB, free: 10.81 MB / 0.545 GB Notification: Performance of SimCode: time 8.71e-07/0.7799, allocations: 0 / 0.7056 GB, free: 10.81 MB / 0.545 GB Notification: Performance of Templates: time 0.2894/1.069, allocations: 29.65 MB / 0.7345 GB, free: 190.5 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches