Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 211.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.407/1.407, allocations: 230.6 MB / 258.2 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2418/0.2418, allocations: 46.97 MB / 361.6 MB, free: 4 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 67.89 kB / 0.4973 GB, free: 7.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3909, allocations: 66.02 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.0158/0.4067, allocations: 11.79 MB / 0.5733 GB, free: 8.301 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01036/0.417, allocations: 3.984 MB / 0.5772 GB, free: 4.305 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002427/0.4195, allocations: 79.69 kB / 0.5773 GB, free: 4.227 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003985/0.4235, allocations: 1.779 MB / 0.579 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004969/0.4284, allocations: 1.88 MB / 0.5809 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.4298, allocations: 0.5458 MB / 0.5814 GB, free: 8 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00561/0.4355, allocations: 3.897 MB / 0.5852 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003636/0.4391, allocations: 2.285 MB / 0.5874 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003054/0.4421, allocations: 1.398 MB / 0.5888 GB, free: 8.367 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004427/0.4466, allocations: 2.13 MB / 0.5909 GB, free: 6.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001006/0.4476, allocations: 288 kB / 0.5912 GB, free: 5.949 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002289/0.4499, allocations: 0.9088 MB / 0.592 GB, free: 5.039 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002086/0.452, allocations: 1.784 MB / 0.5938 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002792/0.4547, allocations: 1.51 MB / 0.5953 GB, free: 1.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0109/0.4657, allocations: 6.939 MB / 0.602 GB, free: 10.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.25e-05/0.4657, allocations: 0 / 0.602 GB, free: 10.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4657, allocations: 0 / 0.602 GB, free: 10.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003021/0.466, allocations: 4 kB / 0.602 GB, free: 10.76 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.01209/0.4781, allocations: 4.573 MB / 0.6065 GB, free: 6.129 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.4781, allocations: 8.031 kB / 0.6065 GB, free: 6.121 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/0.4893, allocations: 3.141 MB / 0.6096 GB, free: 2.973 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006176/0.4955, allocations: 2.084 MB / 0.6116 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002354/0.4957, allocations: 213.8 kB / 0.6118 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001172/0.4969, allocations: 287.7 kB / 0.6121 GB, free: 372 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02016/0.5171, allocations: 11.12 MB / 0.623 GB, free: 4.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/0.5172, allocations: 35.75 kB / 0.623 GB, free: 4.734 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004497/0.5176, allocations: 131.8 kB / 0.6231 GB, free: 4.605 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004638/0.5222, allocations: 2.62 MB / 0.6257 GB, free: 1.98 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02133/0.5436, allocations: 10.34 MB / 0.6358 GB, free: 7.621 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05854/0.6021, allocations: 33.53 MB / 0.6685 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009131/0.6113, allocations: 3.477 MB / 0.6719 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00349/0.6147, allocations: 2.222 MB / 0.6741 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00092/0.6157, allocations: 445.2 kB / 0.6745 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.019e-05/0.6157, allocations: 52.56 kB / 0.6746 GB, free: 15 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 5.6e-06/0.6157, allocations: 0 / 0.6746 GB, free: 15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.04113/0.6568, allocations: 17.47 MB / 0.6916 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.521e-05/0.6569, allocations: 73.41 kB / 0.6917 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003768/0.6607, allocations: 2.687 MB / 0.6943 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003575/0.661, allocations: 61.69 kB / 0.6944 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002263/0.6633, allocations: 2.909 MB / 0.6972 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001121/0.6644, allocations: 0.961 MB / 0.6982 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001567/0.666, allocations: 1.08 MB / 0.6992 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.6661, allocations: 301.1 kB / 0.6995 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003417/0.6695, allocations: 2.314 MB / 0.7018 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006393/0.6759, allocations: 5.226 MB / 0.7069 GB, free: 12.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/0.6872, allocations: 8.273 MB / 0.7149 GB, free: 2.707 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.344e-05/0.6873, allocations: 31.94 kB / 0.715 GB, free: 2.676 MB / 0.545 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01586/0.7031, allocations: 8.283 MB / 0.7231 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.196e-05/0.7032, allocations: 48 kB / 0.7231 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001288/0.7033, allocations: 100 kB / 0.7232 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002889/0.7062, allocations: 0.9414 MB / 0.7241 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004408/0.7106, allocations: 1.228 MB / 0.7253 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00741/0.718, allocations: 4.971 MB / 0.7302 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003774/0.7218, allocations: 295.8 kB / 0.7305 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007748/0.7226, allocations: 304 kB / 0.7307 GB, free: 2.406 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.004208/0.7268, allocations: 2.15 MB / 0.7328 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3064/1.033, allocations: 274.8 kB / 0.7331 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009742/1.043, allocations: 5.107 MB / 0.7381 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.992e-05/1.043, allocations: 43.56 kB / 0.7381 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/1.043, allocations: 7.406 kB / 0.7381 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/1.043, allocations: 14.56 kB / 0.7382 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01638/1.059, allocations: 10.38 MB / 0.7483 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/1.059, allocations: 7.875 kB / 0.7483 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001492/1.061, allocations: 400.7 kB / 0.7487 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002139/1.063, allocations: 0.7773 MB / 0.7494 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001764/1.063, allocations: 53.88 kB / 0.7495 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004378/1.068, allocations: 4.221 MB / 0.7536 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/1.068, allocations: 15.94 kB / 0.7536 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008631/1.076, allocations: 7.602 MB / 0.761 GB, free: 138 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006657/1.077, allocations: 241.7 kB / 0.7613 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003256/1.077, allocations: 51.81 kB / 0.7613 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/1.078, allocations: 143.8 kB / 0.7615 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000305/1.079, allocations: 164.8 kB / 0.7616 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/1.079, allocations: 74.55 kB / 0.7617 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001679/1.08, allocations: 1.526 MB / 0.7632 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.08, allocations: 3.594 kB / 0.7632 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003449/1.084, allocations: 0.9622 MB / 0.7641 GB, free: 135 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.0004041/1.084, allocations: 189 kB / 0.7643 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00667/1.091, allocations: 5.43 MB / 0.7696 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-05/1.091, allocations: 0 / 0.7696 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002281/1.093, allocations: 2.004 MB / 0.7716 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/1.095, allocations: 307.2 kB / 0.7719 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01855/1.114, allocations: 10.36 MB / 0.782 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005003/1.119, allocations: 2.827 MB / 0.7847 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004232/1.123, allocations: 1.961 MB / 0.7867 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008915/1.124, allocations: 203.4 kB / 0.7868 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.533e-06/1.124, allocations: 0 / 0.7868 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.05275/1.177, allocations: 33.05 MB / 0.8191 GB, free: 78.95 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.8561352910037385]