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.001359/0.001359, allocations: 117.7 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00124/0.00124, allocations: 204.6 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2397/0.2397, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 75.88 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4065, allocations: 62.43 MB / 0.531 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01601/0.4225, allocations: 13.5 MB / 0.5442 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.433, allocations: 4.177 MB / 0.5483 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003528/0.4365, allocations: 71.31 kB / 0.5483 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004182/0.4408, allocations: 1.818 MB / 0.5501 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005579/0.4464, allocations: 1.81 MB / 0.5519 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.448, allocations: 0.542 MB / 0.5524 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00566/0.4537, allocations: 3.901 MB / 0.5562 GB, free: 7.793 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003416/0.4571, allocations: 2.689 MB / 0.5588 GB, free: 5.059 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00242/0.4595, allocations: 1.366 MB / 0.5602 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003656/0.4632, allocations: 1.951 MB / 0.5621 GB, free: 1.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009685/0.4642, allocations: 296 kB / 0.5624 GB, free: 1.441 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002499/0.4667, allocations: 0.9869 MB / 0.5633 GB, free: 464 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00223/0.469, allocations: 1.742 MB / 0.565 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003075/0.472, allocations: 2.1 MB / 0.5671 GB, free: 12.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009614/0.4817, allocations: 6.88 MB / 0.5738 GB, free: 5.691 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.4817, allocations: 0 / 0.5738 GB, free: 5.691 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.4817, allocations: 0 / 0.5738 GB, free: 5.691 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002545/0.482, allocations: 0 / 0.5738 GB, free: 5.691 MB / 430.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.01027/0.4923, allocations: 4.524 MB / 0.5782 GB, free: 1.098 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.4923, allocations: 11.97 kB / 0.5782 GB, free: 1.086 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01054/0.5029, allocations: 3.118 MB / 0.5813 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005121/0.5081, allocations: 2.12 MB / 0.5833 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001735/0.5083, allocations: 217.8 kB / 0.5835 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009398/0.5092, allocations: 299.6 kB / 0.5838 GB, free: 11.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01714/0.5264, allocations: 11.11 MB / 0.5947 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.27e-05/0.5265, allocations: 31.72 kB / 0.5947 GB, free: 15.67 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003897/0.5269, allocations: 135.8 kB / 0.5948 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004692/0.5316, allocations: 2.62 MB / 0.5974 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02258/0.5542, allocations: 10.37 MB / 0.6075 GB, free: 2.523 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05662/0.6109, allocations: 36.47 MB / 0.6431 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0095/0.6205, allocations: 4.567 MB / 0.6476 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003499/0.624, allocations: 2.403 MB / 0.6499 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001328/0.6254, allocations: 1.319 MB / 0.6512 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/0.6254, allocations: 52.5 kB / 0.6513 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 6.733e-06/0.6255, allocations: 4 kB / 0.6513 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.04383/0.6693, allocations: 17.59 MB / 0.6685 GB, free: 2.664 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.611e-05/0.6694, allocations: 73.41 kB / 0.6685 GB, free: 2.582 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005602/0.675, allocations: 2.727 MB / 0.6712 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005652/0.6756, allocations: 57.7 kB / 0.6713 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002318/0.678, allocations: 2.779 MB / 0.674 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001543/0.6795, allocations: 0.9134 MB / 0.6749 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002821/0.6824, allocations: 1.072 MB / 0.6759 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.6825, allocations: 305.1 kB / 0.6762 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004144/0.6867, allocations: 2.314 MB / 0.6785 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006865/0.6936, allocations: 5.218 MB / 0.6836 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01118/0.7048, allocations: 8.276 MB / 0.6916 GB, free: 7.992 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001179/0.7049, allocations: 28 kB / 0.6917 GB, free: 7.965 MB / 0.545 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.0179/0.7229, allocations: 8.297 MB / 0.6998 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001721/0.7231, allocations: 48 kB / 0.6998 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002484/0.7233, allocations: 100 kB / 0.6999 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003129/0.7265, allocations: 0.9416 MB / 0.7008 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004544/0.7311, allocations: 1.22 MB / 0.702 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007131/0.7382, allocations: 5.145 MB / 0.707 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004205/0.7424, allocations: 299.7 kB / 0.7073 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001147/0.7436, allocations: 312 kB / 0.7076 GB, free: 7.457 MB / 0.5606 GB 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.005969/0.7496, allocations: 2.139 MB / 0.7097 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000896/0.7505, allocations: 284.4 kB / 0.71 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4083/1.159, allocations: 5.116 MB / 0.715 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001911/1.159, allocations: 44.94 kB / 0.715 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-05/1.159, allocations: 3.031 kB / 0.715 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.938e-05/1.159, allocations: 19.64 kB / 0.715 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02448/1.184, allocations: 11.86 MB / 0.7266 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-05/1.184, allocations: 7.938 kB / 0.7266 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001574/1.185, allocations: 396.1 kB / 0.727 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002233/1.188, allocations: 0.7783 MB / 0.7278 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002635/1.188, allocations: 50.19 kB / 0.7278 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004546/1.192, allocations: 4.382 MB / 0.7321 GB, free: 156 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-06/1.192, allocations: 15.19 kB / 0.7321 GB, free: 156 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009886/1.202, allocations: 7.622 MB / 0.7396 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009084/1.203, allocations: 329.9 kB / 0.7399 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003393/1.204, allocations: 50.55 kB / 0.7399 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/1.205, allocations: 150.6 kB / 0.7401 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003407/1.205, allocations: 152.8 kB / 0.7402 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000165/1.205, allocations: 74.19 kB / 0.7403 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002135/1.207, allocations: 1.681 MB / 0.7419 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.8e-07/1.207, allocations: 0 / 0.7419 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00379/1.211, allocations: 0.9639 MB / 0.7429 GB, free: 150.8 MB / 0.5606 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.0004322/1.212, allocations: 194.5 kB / 0.7431 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006825/1.219, allocations: 5.674 MB / 0.7486 GB, free: 145 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/1.219, allocations: 0 / 0.7486 GB, free: 145 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002328/1.221, allocations: 2.154 MB / 0.7507 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/1.223, allocations: 407.3 kB / 0.7511 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01429/1.237, allocations: 10.11 MB / 0.761 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002878/1.24, allocations: 3.371 MB / 0.7643 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003577/1.244, allocations: 1.986 MB / 0.7662 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006708/1.245, allocations: 215.4 kB / 0.7664 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of SimCode: time 8.81e-07/1.245, allocations: 0 / 0.7664 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.05484/1.299, allocations: 31.26 MB / 0.7969 GB, free: 95.62 MB / 0.5606 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches