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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001252/0.001252, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 215.7 kB / 22.99 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 230.2 MB / 256.2 MB, free: 8.555 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2313/0.2313, allocations: 46.91 MB / 359.4 MB, free: 4.883 MB / 286.1 MB " [Timeout remaining time 179] 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=5002,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=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 75.88 kB / 0.4946 GB, free: 9.012 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3816, allocations: 65.99 MB / 0.5591 GB, free: 34.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01141/0.393, allocations: 13.59 MB / 0.5724 GB, free: 24.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008537/0.4015, allocations: 4.214 MB / 0.5765 GB, free: 21.78 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002437/0.404, allocations: 68.47 kB / 0.5765 GB, free: 21.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003789/0.4078, allocations: 1.855 MB / 0.5784 GB, free: 20.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004888/0.4127, allocations: 1.851 MB / 0.5802 GB, free: 20.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.4146, allocations: 0.548 MB / 0.5807 GB, free: 19.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006752/0.4213, allocations: 3.896 MB / 0.5845 GB, free: 18.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003385/0.4247, allocations: 2.044 MB / 0.5865 GB, free: 17.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002956/0.4277, allocations: 1.373 MB / 0.5878 GB, free: 16.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003662/0.4313, allocations: 2.131 MB / 0.5899 GB, free: 16.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009226/0.4322, allocations: 291.9 kB / 0.5902 GB, free: 16.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002598/0.4348, allocations: 1.027 MB / 0.5912 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002616/0.4375, allocations: 1.783 MB / 0.5929 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003041/0.4405, allocations: 2.101 MB / 0.595 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009358/0.4499, allocations: 6.913 MB / 0.6017 GB, free: 9.207 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.4499, allocations: 1.344 kB / 0.6017 GB, free: 9.207 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4499, allocations: 0 / 0.6017 GB, free: 9.207 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002609/0.4501, allocations: 3.938 kB / 0.6017 GB, free: 9.203 MB / 446.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.01206/0.4622, allocations: 4.645 MB / 0.6063 GB, free: 5.879 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.4622, allocations: 9.062 kB / 0.6063 GB, free: 5.879 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01034/0.4726, allocations: 3.143 MB / 0.6094 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004956/0.4775, allocations: 2.132 MB / 0.6114 GB, free: 1.535 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.4776, allocations: 217.8 kB / 0.6117 GB, free: 1.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007039/0.4783, allocations: 287.7 kB / 0.6119 GB, free: 1.039 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02133/0.4997, allocations: 11.11 MB / 0.6228 GB, free: 5.453 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001125/0.4998, allocations: 35.73 kB / 0.6228 GB, free: 5.418 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005008/0.5003, allocations: 135.8 kB / 0.6229 GB, free: 5.285 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004849/0.5051, allocations: 2.62 MB / 0.6255 GB, free: 2.656 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02321/0.5283, allocations: 10.37 MB / 0.6356 GB, free: 8.27 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06527/0.5936, allocations: 36.56 MB / 0.6713 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/0.6038, allocations: 4.383 MB / 0.6756 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004081/0.6079, allocations: 2.224 MB / 0.6778 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001625/0.6095, allocations: 1.315 MB / 0.6791 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.08e-05/0.6096, allocations: 56.5 kB / 0.6791 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 5.39e-06/0.6096, allocations: 0 / 0.6791 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.04481/0.6544, allocations: 17.65 MB / 0.6964 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.6545, allocations: 73.41 kB / 0.6964 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0044/0.6589, allocations: 2.739 MB / 0.6991 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004045/0.6593, allocations: 61.7 kB / 0.6992 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002395/0.6617, allocations: 2.874 MB / 0.702 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001262/0.663, allocations: 0.961 MB / 0.7029 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001621/0.6646, allocations: 1.076 MB / 0.704 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.6647, allocations: 305.1 kB / 0.7042 GB, free: 500 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003566/0.6683, allocations: 2.326 MB / 0.7065 GB, free: 14.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006116/0.6744, allocations: 5.218 MB / 0.7116 GB, free: 7.516 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01168/0.6861, allocations: 8.273 MB / 0.7197 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.332e-05/0.6862, allocations: 28 kB / 0.7197 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01741/0.7036, allocations: 8.295 MB / 0.7278 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.111e-05/0.7036, allocations: 51.98 kB / 0.7279 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001337/0.7038, allocations: 104 kB / 0.728 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002889/0.7067, allocations: 0.9413 MB / 0.7289 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004641/0.7113, allocations: 1.224 MB / 0.7301 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007568/0.7189, allocations: 5.146 MB / 0.7351 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004565/0.7234, allocations: 299.8 kB / 0.7354 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001082/0.7245, allocations: 316 kB / 0.7357 GB, free: 13.29 MB / 0.5762 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.005157/0.7297, allocations: 2.146 MB / 0.7378 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006765/0.7304, allocations: 294 kB / 0.7381 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009388/0.7397, allocations: 5.117 MB / 0.7431 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.76e-05/0.7398, allocations: 47.98 kB / 0.7431 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/0.7398, allocations: 4 kB / 0.7431 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.462e-05/0.7399, allocations: 11.95 kB / 0.7431 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02341/0.7633, allocations: 11.86 MB / 0.7547 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.02e-05/0.7633, allocations: 12 kB / 0.7547 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002193/0.7655, allocations: 403.3 kB / 0.7551 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002763/0.7683, allocations: 0.7734 MB / 0.7559 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004743/0.7687, allocations: 55.97 kB / 0.7559 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006389/0.7751, allocations: 4.374 MB / 0.7602 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.501e-05/0.7751, allocations: 15.94 kB / 0.7602 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3957/1.171, allocations: 7.629 MB / 0.7677 GB, free: 168.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/1.172, allocations: 344.3 kB / 0.768 GB, free: 168 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006317/1.173, allocations: 44 kB / 0.768 GB, free: 168 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/1.174, allocations: 148 kB / 0.7682 GB, free: 167.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004523/1.174, allocations: 155.9 kB / 0.7683 GB, free: 167.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001815/1.175, allocations: 72.16 kB / 0.7684 GB, free: 167.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002651/1.177, allocations: 1.687 MB / 0.77 GB, free: 167.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.177, allocations: 0 / 0.77 GB, free: 167.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004694/1.182, allocations: 0.9673 MB / 0.771 GB, free: 167.2 MB / 0.5919 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.0004928/1.182, allocations: 193.2 kB / 0.7712 GB, free: 167.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00921/1.192, allocations: 5.433 MB / 0.7765 GB, free: 165.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/1.192, allocations: 1.312 kB / 0.7765 GB, free: 165.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003082/1.195, allocations: 1.997 MB / 0.7784 GB, free: 164.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/1.197, allocations: 395.4 kB / 0.7788 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02028/1.217, allocations: 10.37 MB / 0.7889 GB, free: 160 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004722/1.222, allocations: 3.371 MB / 0.7922 GB, free: 158.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007299/1.23, allocations: 1.981 MB / 0.7942 GB, free: 158.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/1.231, allocations: 209.5 kB / 0.7944 GB, free: 158.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.583e-06/1.231, allocations: 4 kB / 0.7944 GB, free: 158.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.06027/1.291, allocations: 33.24 MB / 0.8268 GB, free: 138.4 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.416206622496247]