Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008573/0.0008573, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003987/0.003987, allocations: 163 kB / 24.7 MB, free: 8.91 MB / 18.57 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 0.8504/0.8504, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2387/0.2387, allocations: 32.79 MB / 294.2 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 440.8 MB, free: 3.738 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.657e-05, allocations: 3.688 kB / 440.8 MB, free: 3.734 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.1787/0.1787, allocations: 11.79 MB / 452.6 MB, free: 40.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006175/0.1849, allocations: 3.995 MB / 456.6 MB, free: 37.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009491/0.1858, allocations: 80 kB / 456.7 MB, free: 37.78 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002174/0.188, allocations: 1.856 MB / 458.6 MB, free: 37.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002439/0.1904, allocations: 1.923 MB / 460.5 MB, free: 36.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009369/0.1914, allocations: 0.5981 MB / 461.1 MB, free: 35.92 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002918/0.1943, allocations: 4.273 MB / 465.4 MB, free: 34.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001635/0.1959, allocations: 2.533 MB / 467.9 MB, free: 33.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001393/0.1973, allocations: 2.119 MB / 470 MB, free: 32.26 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.1987, allocations: 2.133 MB / 472.1 MB, free: 31.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002459/0.1989, allocations: 296.9 kB / 472.4 MB, free: 31.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00096/0.1999, allocations: 0.9569 MB / 473.4 MB, free: 31.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007574/0.2006, allocations: 1.855 MB / 475.2 MB, free: 30.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005804/0.2012, allocations: 1.146 MB / 476.4 MB, free: 30.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003977/0.2052, allocations: 6.893 MB / 483.3 MB, free: 27.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2052, allocations: 0 / 483.3 MB, free: 27.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2052, allocations: 0 / 483.3 MB, free: 27.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.446e-05/0.2053, allocations: 5.125 kB / 483.3 MB, free: 27.77 MB / 410.7 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.004682/0.2099, allocations: 4.568 MB / 487.9 MB, free: 25.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.21, allocations: 10.16 kB / 487.9 MB, free: 25.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006406/0.2164, allocations: 3.185 MB / 491.1 MB, free: 24.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003285/0.2197, allocations: 2.086 MB / 493.1 MB, free: 23.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.2198, allocations: 214.3 kB / 493.4 MB, free: 23.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004069/0.2202, allocations: 282.6 kB / 493.6 MB, free: 23.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01147/0.2317, allocations: 11.12 MB / 0.4929 GB, free: 18.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.051e-05/0.2317, allocations: 36.39 kB / 0.493 GB, free: 18.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003066/0.232, allocations: 135 kB / 0.4931 GB, free: 17.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002538/0.2346, allocations: 2.619 MB / 0.4956 GB, free: 16.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/0.2446, allocations: 10.36 MB / 0.5058 GB, free: 6.914 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02571/0.2703, allocations: 33.74 MB / 0.5387 GB, free: 4.316 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004537/0.2748, allocations: 3.59 MB / 0.5422 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001798/0.2766, allocations: 2.226 MB / 0.5444 GB, free: 14.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004793/0.2771, allocations: 445.3 kB / 0.5448 GB, free: 14.06 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.2772, allocations: 52.56 kB / 0.5449 GB, free: 14 MB / 458.7 MB Notification: Performance of pre-optimization done (n=242): time 4.609e-06/0.2772, allocations: 0 / 0.5449 GB, free: 14 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.02203/0.2992, allocations: 17.96 MB / 0.5624 GB, free: 12.04 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.2992, allocations: 73.41 kB / 0.5625 GB, free: 11.96 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002159/0.3014, allocations: 2.761 MB / 0.5652 GB, free: 9.168 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.3015, allocations: 57.7 kB / 0.5652 GB, free: 9.105 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001073/0.3026, allocations: 2.878 MB / 0.568 GB, free: 6.199 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004875/0.303, allocations: 0.9493 MB / 0.569 GB, free: 5.242 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008875/0.3039, allocations: 1.057 MB / 0.57 GB, free: 4.176 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.219e-05/0.304, allocations: 313.1 kB / 0.5703 GB, free: 3.867 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/0.306, allocations: 2.314 MB / 0.5725 GB, free: 1.547 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00313/0.3091, allocations: 5.218 MB / 0.5776 GB, free: 10.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005669/0.3148, allocations: 8.281 MB / 0.5857 GB, free: 1.203 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.917e-05/0.3148, allocations: 28 kB / 0.5858 GB, free: 1.176 MB / 490.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.007709/0.3225, allocations: 8.277 MB / 0.5938 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/0.3226, allocations: 52.25 kB / 0.5939 GB, free: 8.844 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.836e-05/0.3226, allocations: 100 kB / 0.594 GB, free: 8.746 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/0.3241, allocations: 0.941 MB / 0.5949 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/0.3259, allocations: 1.228 MB / 0.5961 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004081/0.33, allocations: 4.972 MB / 0.601 GB, free: 1.492 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/0.3317, allocations: 331.7 kB / 0.6013 GB, free: 1.168 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002639/0.3319, allocations: 308 kB / 0.6016 GB, free: 0.8672 MB / 0.4948 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.002353/0.3343, allocations: 2.144 MB / 0.6037 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002446/0.3345, allocations: 270.3 kB / 0.6039 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004963/0.3395, allocations: 5.126 MB / 0.6089 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.53e-05/0.3395, allocations: 43.98 kB / 0.609 GB, free: 9.254 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3395, allocations: 4 kB / 0.609 GB, free: 9.25 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.3395, allocations: 7.969 kB / 0.609 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/0.35, allocations: 10.46 MB / 0.6192 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.35, allocations: 11.62 kB / 0.6192 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008273/0.3509, allocations: 403.5 kB / 0.6196 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001226/0.3521, allocations: 0.7731 MB / 0.6203 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/0.3522, allocations: 47.98 kB / 0.6204 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003419/0.3556, allocations: 4.238 MB / 0.6245 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/0.3556, allocations: 15.94 kB / 0.6245 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006609/0.3622, allocations: 7.593 MB / 0.632 GB, free: 1.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000326/0.3625, allocations: 254.2 kB / 0.6322 GB, free: 1.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/0.3627, allocations: 47.98 kB / 0.6323 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006925/0.3634, allocations: 175.7 kB / 0.6324 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/0.3636, allocations: 160.8 kB / 0.6326 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.3637, allocations: 79.91 kB / 0.6326 GB, free: 0.5625 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.1588/0.5225, allocations: 1.578 MB / 0.6342 GB, free: 154 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.5225, allocations: 0 / 0.6342 GB, free: 154 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003168/0.5257, allocations: 1.028 MB / 0.6352 GB, free: 154 MB / 0.5261 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.0003511/0.526, allocations: 209.7 kB / 0.6354 GB, free: 153.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004114/0.5301, allocations: 5.427 MB / 0.6407 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.5302, allocations: 3.062 kB / 0.6407 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001385/0.5315, allocations: 2.002 MB / 0.6427 GB, free: 152.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.5326, allocations: 301.7 kB / 0.6429 GB, free: 152 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/0.5433, allocations: 10.75 MB / 0.6534 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002431/0.5458, allocations: 2.837 MB / 0.6562 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008858/0.5466, allocations: 252.3 kB / 0.6565 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.733e-06/0.5466, allocations: 0 / 0.6565 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.06925/0.6159, allocations: 76.45 MB / 0.7311 GB, free: 94.27 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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: 8.209139122627676]