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.001345/0.001345, allocations: 117.2 kB / 18.45 MB, free: 4.594 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.001444/0.001444, allocations: 210.6 kB / 21.41 MB, free: 1.645 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.541/1.541, allocations: 227.4 MB / 251.7 MB, free: 40 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.3019/0.3019, allocations: 46.16 MB / 351.1 MB, free: 14.27 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.002261/0.002261, allocations: 77.69 kB / 490.2 MB, free: 28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.146, allocations: 62.45 MB / 0.5397 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01609/0.1621, allocations: 13.51 MB / 0.5529 GB, free: 6.656 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01002/0.1722, allocations: 4.166 MB / 0.5569 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002781/0.175, allocations: 67.88 kB / 0.557 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004343/0.1794, allocations: 1.818 MB / 0.5588 GB, free: 0.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005932/0.1854, allocations: 1.81 MB / 0.5606 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.1872, allocations: 0.5459 MB / 0.5611 GB, free: 14.22 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006433/0.1936, allocations: 3.901 MB / 0.5649 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004794/0.1985, allocations: 2.693 MB / 0.5675 GB, free: 7.566 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002779/0.2013, allocations: 1.355 MB / 0.5688 GB, free: 6.207 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003694/0.205, allocations: 1.947 MB / 0.5707 GB, free: 4.254 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001182/0.2062, allocations: 292 kB / 0.571 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002987/0.2092, allocations: 0.9947 MB / 0.572 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002626/0.2118, allocations: 1.749 MB / 0.5737 GB, free: 1.219 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003054/0.2149, allocations: 2.096 MB / 0.5758 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.225, allocations: 6.913 MB / 0.5825 GB, free: 8.168 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.101e-05/0.2251, allocations: 0 / 0.5825 GB, free: 8.168 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.2251, allocations: 0 / 0.5825 GB, free: 8.168 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003503/0.2255, allocations: 0 / 0.5825 GB, free: 8.168 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.01267/0.2382, allocations: 4.649 MB / 0.587 GB, free: 3.441 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.2382, allocations: 8.031 kB / 0.5871 GB, free: 3.434 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/0.249, allocations: 3.149 MB / 0.5901 GB, free: 284 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00559/0.2546, allocations: 2.117 MB / 0.5922 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002109/0.2548, allocations: 217.8 kB / 0.5924 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001071/0.2559, allocations: 299.7 kB / 0.5927 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0208/0.2767, allocations: 11.11 MB / 0.6035 GB, free: 2.023 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001089/0.2769, allocations: 31.7 kB / 0.6036 GB, free: 1.992 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004269/0.2773, allocations: 131.8 kB / 0.6037 GB, free: 1.863 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3477/0.625, allocations: 2.612 MB / 0.6062 GB, free: 54.44 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02581/0.6509, allocations: 10.38 MB / 0.6164 GB, free: 51.9 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04989/0.7008, allocations: 36.55 MB / 0.6521 GB, free: 26.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007127/0.708, allocations: 4.574 MB / 0.6565 GB, free: 21.27 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002361/0.7104, allocations: 2.396 MB / 0.6589 GB, free: 18.88 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007851/0.7112, allocations: 1.314 MB / 0.6602 GB, free: 17.35 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.7113, allocations: 52.55 kB / 0.6602 GB, free: 17.29 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 5.681e-06/0.7113, allocations: 3.938 kB / 0.6602 GB, free: 17.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.03391/0.7452, allocations: 17.67 MB / 0.6775 GB, free: 15.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.727e-05/0.7453, allocations: 73.41 kB / 0.6775 GB, free: 15.71 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006206/0.7515, allocations: 2.739 MB / 0.6802 GB, free: 13.02 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005388/0.7521, allocations: 61.14 kB / 0.6803 GB, free: 12.95 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003007/0.7551, allocations: 2.889 MB / 0.6831 GB, free: 10.12 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001584/0.7567, allocations: 0.955 MB / 0.684 GB, free: 9.176 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002838/0.7596, allocations: 1.076 MB / 0.6851 GB, free: 8.094 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.7598, allocations: 309.1 kB / 0.6854 GB, free: 7.789 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004035/0.7638, allocations: 2.314 MB / 0.6876 GB, free: 5.469 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007474/0.7713, allocations: 5.216 MB / 0.6927 GB, free: 14.83 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01281/0.7841, allocations: 8.273 MB / 0.7008 GB, free: 5.145 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001827/0.7844, allocations: 28 kB / 0.7008 GB, free: 5.117 MB / 494.1 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01915/0.8035, allocations: 8.306 MB / 0.7089 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.8037, allocations: 51.94 kB / 0.709 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002046/0.8039, allocations: 103.9 kB / 0.7091 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002969/0.8069, allocations: 0.9438 MB / 0.71 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004654/0.8115, allocations: 1.224 MB / 0.7112 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00798/0.8195, allocations: 5.139 MB / 0.7162 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004093/0.8237, allocations: 299.4 kB / 0.7165 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/0.8247, allocations: 312 kB / 0.7168 GB, free: 4.609 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.005199/0.8299, allocations: 2.145 MB / 0.7189 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009531/0.8309, allocations: 297.1 kB / 0.7192 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01084/0.8417, allocations: 5.129 MB / 0.7242 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-05/0.8418, allocations: 40 kB / 0.7242 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.075e-05/0.8419, allocations: 6.125 kB / 0.7242 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.348e-05/0.8419, allocations: 19.89 kB / 0.7243 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02603/0.8679, allocations: 11.87 MB / 0.7359 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.312e-05/0.868, allocations: 8 kB / 0.7359 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001868/0.8699, allocations: 403.3 kB / 0.7362 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002554/0.8724, allocations: 0.7698 MB / 0.737 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00034/0.8728, allocations: 57.94 kB / 0.7371 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006324/0.8791, allocations: 4.384 MB / 0.7413 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.471e-05/0.8792, allocations: 15.94 kB / 0.7413 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01326/0.8924, allocations: 7.638 MB / 0.7488 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/0.8936, allocations: 339.2 kB / 0.7491 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007459/0.8944, allocations: 51.92 kB / 0.7492 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001814/0.8962, allocations: 145.8 kB / 0.7493 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004835/0.8967, allocations: 156.8 kB / 0.7495 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002199/0.8969, allocations: 79.98 kB / 0.7495 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00371/0.9007, allocations: 1.685 MB / 0.7512 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9007, allocations: 0 / 0.7512 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004988/0.9057, allocations: 0.9628 MB / 0.7521 GB, free: 15.93 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.0006135/0.9063, allocations: 191.7 kB / 0.7523 GB, free: 15.74 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01041/0.9167, allocations: 5.684 MB / 0.7579 GB, free: 10.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/0.9167, allocations: 0 / 0.7579 GB, free: 10.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00336/0.9201, allocations: 2.148 MB / 0.76 GB, free: 7.906 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002803/0.9229, allocations: 402.5 kB / 0.7603 GB, free: 7.527 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02136/0.9443, allocations: 10.23 MB / 0.7703 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006134/0.9505, allocations: 3.378 MB / 0.7736 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005202/0.9557, allocations: 1.974 MB / 0.7756 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/0.9568, allocations: 211.4 kB / 0.7758 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of SimCode: time 1.714e-06/0.9569, allocations: 0 / 0.7758 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of Templates: time 0.06845/1.025, allocations: 31.48 MB / 0.8065 GB, free: 8.133 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: 6.937120993621647]