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.001327/0.001327, allocations: 114 kB / 19.12 MB, free: 4.027 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.001441/0.001441, allocations: 208.9 kB / 22.07 MB, free: 1.078 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.495/1.495, allocations: 227.4 MB / 252.3 MB, free: 100 kB / 190.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.2279/0.2279, allocations: 46.18 MB / 351.8 MB, free: 14.3 MB / 286.1 MB " [Timeout remaining time 180] 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.002297/0.002297, allocations: 77.42 kB / 490.9 MB, free: 28.14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1194, allocations: 62.46 MB / 0.5404 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01534/0.1347, allocations: 13.5 MB / 0.5535 GB, free: 6.695 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008923/0.1437, allocations: 4.164 MB / 0.5576 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001955/0.1457, allocations: 71.88 kB / 0.5577 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00379/0.1495, allocations: 1.822 MB / 0.5594 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004551/0.1541, allocations: 1.81 MB / 0.5612 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.1556, allocations: 0.5459 MB / 0.5617 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005067/0.1607, allocations: 3.903 MB / 0.5656 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003469/0.1641, allocations: 2.693 MB / 0.5682 GB, free: 7.602 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00224/0.1664, allocations: 1.355 MB / 0.5695 GB, free: 6.242 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00245/0.1689, allocations: 1.947 MB / 0.5714 GB, free: 4.289 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005559/0.1694, allocations: 292 kB / 0.5717 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001866/0.1713, allocations: 0.9869 MB / 0.5727 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001596/0.1729, allocations: 1.745 MB / 0.5744 GB, free: 1.266 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002079/0.175, allocations: 2.112 MB / 0.5764 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007353/0.1824, allocations: 6.909 MB / 0.5832 GB, free: 8.203 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1824, allocations: 0 / 0.5832 GB, free: 8.203 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.1824, allocations: 0 / 0.5832 GB, free: 8.203 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001137/0.1825, allocations: 3.938 kB / 0.5832 GB, free: 8.199 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.007733/0.1903, allocations: 4.645 MB / 0.5877 GB, free: 3.477 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1903, allocations: 8.031 kB / 0.5877 GB, free: 3.469 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/0.2008, allocations: 3.145 MB / 0.5908 GB, free: 324 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004162/0.205, allocations: 2.125 MB / 0.5929 GB, free: 14.14 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001919/0.2052, allocations: 213.8 kB / 0.5931 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008982/0.2061, allocations: 299.7 kB / 0.5934 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0185/0.2246, allocations: 11.11 MB / 0.6042 GB, free: 2.066 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/0.2247, allocations: 39.69 kB / 0.6042 GB, free: 2.027 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00041/0.2252, allocations: 131.8 kB / 0.6044 GB, free: 1.898 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3164/0.5416, allocations: 2.613 MB / 0.6069 GB, free: 54.85 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02441/0.5661, allocations: 10.38 MB / 0.617 GB, free: 52 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0462/0.6123, allocations: 36.55 MB / 0.6527 GB, free: 26.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007711/0.6201, allocations: 4.566 MB / 0.6572 GB, free: 21.52 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002627/0.6227, allocations: 2.4 MB / 0.6595 GB, free: 19.12 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008792/0.6236, allocations: 1.317 MB / 0.6608 GB, free: 17.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.6237, allocations: 56.5 kB / 0.6609 GB, free: 17.53 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 5.61e-06/0.6237, allocations: 0 / 0.6609 GB, free: 17.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.03506/0.6588, allocations: 17.66 MB / 0.6781 GB, free: 48 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.96e-05/0.6589, allocations: 73.41 kB / 0.6782 GB, free: 15.96 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004866/0.6638, allocations: 2.745 MB / 0.6809 GB, free: 13.26 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000512/0.6643, allocations: 59.02 kB / 0.6809 GB, free: 13.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002669/0.667, allocations: 2.885 MB / 0.6837 GB, free: 10.36 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001499/0.6685, allocations: 0.9537 MB / 0.6847 GB, free: 9.422 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002571/0.6711, allocations: 1.084 MB / 0.6857 GB, free: 8.332 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002438/0.6714, allocations: 305.1 kB / 0.686 GB, free: 8.031 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004101/0.6755, allocations: 2.314 MB / 0.6883 GB, free: 5.711 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007214/0.6827, allocations: 5.22 MB / 0.6934 GB, free: 15.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01327/0.696, allocations: 8.269 MB / 0.7015 GB, free: 5.387 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001165/0.6962, allocations: 35.94 kB / 0.7015 GB, free: 5.352 MB / 494.1 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01757/0.7137, allocations: 8.306 MB / 0.7096 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.7139, allocations: 48 kB / 0.7097 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001827/0.7141, allocations: 103.9 kB / 0.7098 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002945/0.717, allocations: 0.9414 MB / 0.7107 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004467/0.7215, allocations: 1.22 MB / 0.7119 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008046/0.7296, allocations: 5.144 MB / 0.7169 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003559/0.7332, allocations: 295.8 kB / 0.7172 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009147/0.7341, allocations: 308 kB / 0.7175 GB, free: 4.859 MB / 0.4981 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.005139/0.7393, allocations: 2.15 MB / 0.7196 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008715/0.7402, allocations: 294 kB / 0.7198 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/0.7511, allocations: 5.129 MB / 0.7249 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.586e-05/0.7512, allocations: 47.02 kB / 0.7249 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.145e-05/0.7513, allocations: 11.98 kB / 0.7249 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.341e-05/0.7513, allocations: 7.969 kB / 0.7249 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02322/0.7746, allocations: 11.88 MB / 0.7365 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-05/0.7746, allocations: 12 kB / 0.7365 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001816/0.7765, allocations: 399.3 kB / 0.7369 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002582/0.7791, allocations: 0.7697 MB / 0.7377 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003319/0.7794, allocations: 51.94 kB / 0.7377 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006489/0.7859, allocations: 4.389 MB / 0.742 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.337e-05/0.786, allocations: 11.94 kB / 0.742 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01338/0.7994, allocations: 7.638 MB / 0.7495 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000911/0.8003, allocations: 351 kB / 0.7498 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007656/0.8011, allocations: 51.92 kB / 0.7498 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00171/0.8028, allocations: 143.8 kB / 0.75 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004756/0.8033, allocations: 154.8 kB / 0.7501 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000234/0.8036, allocations: 71.98 kB / 0.7502 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003532/0.8071, allocations: 1.685 MB / 0.7518 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.41e-07/0.8071, allocations: 0 / 0.7518 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00512/0.8123, allocations: 0.9629 MB / 0.7528 GB, free: 176 kB / 0.5294 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.0009019/0.8132, allocations: 195.6 kB / 0.753 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01034/0.8235, allocations: 5.677 MB / 0.7585 GB, free: 10.31 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.571e-05/0.8236, allocations: 4.812 kB / 0.7585 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003718/0.8273, allocations: 2.15 MB / 0.7606 GB, free: 8.145 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00289/0.8302, allocations: 404.5 kB / 0.761 GB, free: 7.762 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02249/0.8528, allocations: 10.71 MB / 0.7715 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005823/0.8586, allocations: 3.378 MB / 0.7748 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001341/0.86, allocations: 251.4 kB / 0.775 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of SimCode: time 8.71e-07/0.86, allocations: 0 / 0.775 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of Templates: time 0.3677/1.228, allocations: 75.75 MB / 0.849 GB, free: 211.5 MB / 0.6231 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.501090022036806]