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.000941/0.000941, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009094/0.0009094, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 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.9555/0.9555, allocations: 177.1 MB / 205 MB, free: 5.281 MB / 186.7 MB " [Timeout remaining time 179] 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.2397/0.2397, allocations: 34.25 MB / 295.7 MB, free: 0.7031 MB / 266.7 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 1.653e-06/1.653e-06, allocations: 0 / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.914e-05/3.079e-05, allocations: 2.312 kB / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01083/0.01086, allocations: 13.02 MB / 391.1 MB, free: 5.566 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007808/0.01867, allocations: 4.1 MB / 395.2 MB, free: 1.453 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001842/0.02051, allocations: 79.69 kB / 395.2 MB, free: 1.375 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002526/0.02304, allocations: 1.95 MB / 397.2 MB, free: 15.42 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003242/0.02628, allocations: 1.933 MB / 399.1 MB, free: 13.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.02729, allocations: 0.6002 MB / 399.7 MB, free: 12.88 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00432/0.03161, allocations: 4.271 MB / 404 MB, free: 8.598 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002904/0.03452, allocations: 2.614 MB / 406.6 MB, free: 5.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00291/0.03743, allocations: 2.179 MB / 408.8 MB, free: 3.746 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00268/0.04011, allocations: 2.096 MB / 410.9 MB, free: 1.645 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007983/0.04091, allocations: 288 kB / 411.2 MB, free: 1.363 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.04246, allocations: 0.9672 MB / 412.1 MB, free: 404 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001401/0.04386, allocations: 1.854 MB / 414 MB, free: 14.54 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001658/0.04551, allocations: 1.137 MB / 415.1 MB, free: 13.39 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004974/0.05049, allocations: 4.416 MB / 419.5 MB, free: 8.961 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.05049, allocations: 0 / 419.5 MB, free: 8.961 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.0505, allocations: 0 / 419.5 MB, free: 8.961 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002039/0.0507, allocations: 0 / 419.5 MB, free: 8.961 MB / 394.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.007838/0.05854, allocations: 4.981 MB / 424.5 MB, free: 3.914 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.0586, allocations: 8.031 kB / 424.5 MB, free: 3.906 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006342/0.06494, allocations: 3.699 MB / 428.2 MB, free: 204 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00261/0.06755, allocations: 1.944 MB / 430.2 MB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.06768, allocations: 217.8 kB / 430.4 MB, free: 14.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003713/0.06805, allocations: 292.1 kB / 430.7 MB, free: 13.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007705/0.07575, allocations: 5.668 MB / 436.3 MB, free: 7.438 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.176e-05/0.07581, allocations: 35.69 kB / 436.4 MB, free: 7.402 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002465/0.07606, allocations: 131.8 kB / 436.5 MB, free: 7.273 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002323/0.07838, allocations: 2.566 MB / 439.1 MB, free: 4.703 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008601/0.08698, allocations: 3.4 MB / 442.5 MB, free: 1.281 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1923/0.2793, allocations: 36.23 MB / 478.7 MB, free: 64.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003017/0.2823, allocations: 1.608 MB / 480.3 MB, free: 64.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000635/0.283, allocations: 0.5292 MB / 480.8 MB, free: 64.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005298/0.2883, allocations: 4.333 MB / 485.2 MB, free: 62.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.2883, allocations: 48.98 kB / 485.2 MB, free: 62.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=180): time 3.336e-06/0.2883, allocations: 0 / 485.2 MB, free: 62.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=187): time 0.01068/0.299, allocations: 6.478 MB / 491.7 MB, free: 60.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.299, allocations: 70.5 kB / 491.8 MB, free: 60.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00231/0.3013, allocations: 2.753 MB / 494.5 MB, free: 59.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.418e-05/0.3014, allocations: 46.08 kB / 494.6 MB, free: 59.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001152/0.3025, allocations: 3.203 MB / 497.8 MB, free: 56.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003683/0.3029, allocations: 0.7626 MB / 498.5 MB, free: 56.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009153/0.3038, allocations: 1.142 MB / 499.7 MB, free: 55.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.131e-05/0.3039, allocations: 477.9 kB / 0.4884 GB, free: 55.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008474/0.3047, allocations: 0.5826 MB / 0.489 GB, free: 55.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00222/0.3069, allocations: 5.127 MB / 0.494 GB, free: 48.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00406/0.311, allocations: 6.311 MB / 0.5002 GB, free: 42.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-05/0.311, allocations: 33.12 kB / 0.5002 GB, free: 42.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.00572/0.3168, allocations: 4.48 MB / 0.5046 GB, free: 40.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.484e-05/0.3168, allocations: 50.41 kB / 0.5046 GB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001005/0.3169, allocations: 108.5 kB / 0.5047 GB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003386/0.3173, allocations: 182.2 kB / 0.5049 GB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/0.3197, allocations: 1.218 MB / 0.5061 GB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000975/0.3207, allocations: 2.017 MB / 0.508 GB, free: 38.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002433/0.3231, allocations: 319.2 kB / 0.5083 GB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003193/0.3235, allocations: 324.1 kB / 0.5087 GB, free: 38.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 491 * 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 (654): * Single equations (assignments): 647 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001239/0.3247, allocations: 0.5769 MB / 0.5092 GB, free: 37.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/0.325, allocations: 315 kB / 0.5095 GB, free: 37.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/0.3268, allocations: 1.203 MB / 0.5107 GB, free: 37.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.143e-05/0.3269, allocations: 27.03 kB / 0.5107 GB, free: 37.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3269, allocations: 0.75 kB / 0.5107 GB, free: 37.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.3269, allocations: 10.09 kB / 0.5107 GB, free: 37.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00765/0.3345, allocations: 5.145 MB / 0.5158 GB, free: 33.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.898e-06/0.3345, allocations: 8 kB / 0.5158 GB, free: 33.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000847/0.3354, allocations: 299.1 kB / 0.516 GB, free: 32.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001814/0.3356, allocations: 56.48 kB / 0.5161 GB, free: 32.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.304e-05/0.3357, allocations: 37.39 kB / 0.5161 GB, free: 32.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007815/0.3364, allocations: 1.817 MB / 0.5179 GB, free: 30.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.3364, allocations: 12.55 kB / 0.5179 GB, free: 30.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/0.3388, allocations: 2.005 MB / 0.5199 GB, free: 28.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002779/0.339, allocations: 245.1 kB / 0.5201 GB, free: 28.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000246/0.3393, allocations: 38.84 kB / 0.5202 GB, free: 28.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000757/0.34, allocations: 124.8 kB / 0.5203 GB, free: 28.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002164/0.3402, allocations: 119.5 kB / 0.5204 GB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.136e-05/0.3403, allocations: 70.2 kB / 0.5205 GB, free: 28.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001397/0.3417, allocations: 1.159 MB / 0.5216 GB, free: 27.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3417, allocations: 0 / 0.5216 GB, free: 27.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003115/0.3449, allocations: 0.913 MB / 0.5225 GB, free: 26.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 134 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000327/0.3452, allocations: 192.1 kB / 0.5227 GB, free: 26.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003496/0.3487, allocations: 2.61 MB / 0.5252 GB, free: 23.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3487, allocations: 0 / 0.5252 GB, free: 23.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007886/0.3495, allocations: 0.7146 MB / 0.5259 GB, free: 23.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.3507, allocations: 303.6 kB / 0.5262 GB, free: 22.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008975/0.3597, allocations: 7.767 MB / 0.5338 GB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/0.3608, allocations: 1.262 MB / 0.535 GB, free: 14.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002463/0.3633, allocations: 1.525 MB / 0.5365 GB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004212/0.3637, allocations: 208.1 kB / 0.5367 GB, free: 13.62 MB / 410.7 MB Notification: Performance of SimCode: time 1.453e-06/0.3637, allocations: 0 / 0.5367 GB, free: 13.62 MB / 410.7 MB Notification: Performance of Templates: time 0.0454/0.4091, allocations: 21.54 MB / 0.5577 GB, free: 9.543 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9811920328065753]