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.0009391/0.0009391, 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.0009293/0.0009293, 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 1.027/1.027, allocations: 177.1 MB / 205 MB, free: 5.289 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.2988/0.2988, allocations: 32.8 MB / 294.3 MB, free: 1.242 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.443e-06/1.443e-06, allocations: 0 / 376 MB, free: 4.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.143e-05, allocations: 6.25 kB / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01326/0.01329, allocations: 13.03 MB / 389.1 MB, free: 7.586 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007398/0.02068, allocations: 4.092 MB / 393.1 MB, free: 3.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/0.02199, allocations: 83.69 kB / 393.2 MB, free: 3.398 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002472/0.02446, allocations: 1.946 MB / 395.2 MB, free: 1.445 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003338/0.0278, allocations: 1.929 MB / 397.1 MB, free: 15.51 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009748/0.02877, allocations: 0.6002 MB / 397.7 MB, free: 14.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003873/0.03265, allocations: 4.27 MB / 402 MB, free: 10.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002942/0.03559, allocations: 2.614 MB / 404.6 MB, free: 7.961 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002475/0.03806, allocations: 2.179 MB / 406.8 MB, free: 5.777 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002773/0.04084, allocations: 2.104 MB / 408.9 MB, free: 3.668 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000914/0.04175, allocations: 288 kB / 409.2 MB, free: 3.387 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.0432, allocations: 0.9517 MB / 410.1 MB, free: 2.434 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001678/0.04488, allocations: 1.866 MB / 412 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001266/0.04614, allocations: 1.133 MB / 413.1 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004068/0.05021, allocations: 4.413 MB / 417.5 MB, free: 11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.05022, allocations: 0 / 417.5 MB, free: 11 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.05022, allocations: 0 / 417.5 MB, free: 11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001862/0.05041, allocations: 0 / 417.5 MB, free: 11 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.006398/0.0568, allocations: 4.981 MB / 422.5 MB, free: 5.949 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.05685, allocations: 12.03 kB / 422.5 MB, free: 5.938 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006244/0.06309, allocations: 3.703 MB / 426.2 MB, free: 2.227 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002434/0.06553, allocations: 1.951 MB / 428.2 MB, free: 248 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.06565, allocations: 217.8 kB / 428.4 MB, free: 28 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003881/0.06604, allocations: 288.2 kB / 428.7 MB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00685/0.07289, allocations: 5.672 MB / 434.3 MB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.986e-05/0.07297, allocations: 27.77 kB / 434.4 MB, free: 9.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002817/0.07325, allocations: 131.8 kB / 434.5 MB, free: 9.301 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002417/0.07566, allocations: 2.566 MB / 437 MB, free: 6.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007503/0.08317, allocations: 3.386 MB / 440.4 MB, free: 3.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2282/0.3114, allocations: 36.23 MB / 476.7 MB, free: 66.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004431/0.3158, allocations: 1.615 MB / 478.3 MB, free: 66.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.3168, allocations: 0.5308 MB / 478.8 MB, free: 66.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00744/0.3243, allocations: 4.319 MB / 483.1 MB, free: 64.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.342e-05/0.3243, allocations: 49.7 kB / 483.2 MB, free: 64.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=180): time 5.981e-06/0.3243, allocations: 0 / 483.2 MB, free: 64.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=187): time 0.01423/0.3386, allocations: 6.485 MB / 489.7 MB, free: 62.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.3386, allocations: 70.5 kB / 489.7 MB, free: 62.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004045/0.3427, allocations: 2.753 MB / 492.5 MB, free: 61.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003411/0.343, allocations: 48.67 kB / 492.5 MB, free: 61.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002095/0.3451, allocations: 3.2 MB / 495.7 MB, free: 59.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009936/0.3461, allocations: 0.7573 MB / 496.5 MB, free: 58.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001391/0.3475, allocations: 1.14 MB / 497.6 MB, free: 57.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.147e-05/0.3475, allocations: 480.3 kB / 498.1 MB, free: 57.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.3487, allocations: 0.5843 MB / 498.7 MB, free: 57.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003004/0.3517, allocations: 5.128 MB / 0.492 GB, free: 51.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005722/0.3575, allocations: 6.304 MB / 0.4982 GB, free: 44.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000182/0.3576, allocations: 34.84 kB / 0.4982 GB, free: 44.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.007877/0.3655, allocations: 4.478 MB / 0.5026 GB, free: 42.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.007e-05/0.3656, allocations: 53.66 kB / 0.5026 GB, free: 42.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000127/0.3657, allocations: 110.4 kB / 0.5027 GB, free: 42.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004218/0.3661, allocations: 178.5 kB / 0.5029 GB, free: 42.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002894/0.369, allocations: 1.221 MB / 0.5041 GB, free: 42.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.3705, allocations: 2.024 MB / 0.5061 GB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003422/0.3739, allocations: 322.8 kB / 0.5064 GB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004068/0.3743, allocations: 320.7 kB / 0.5067 GB, free: 40.55 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.001741/0.376, allocations: 0.582 MB / 0.5072 GB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004846/0.3765, allocations: 312.5 kB / 0.5075 GB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001615/0.3781, allocations: 1.211 MB / 0.5087 GB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.296e-05/0.3781, allocations: 20.56 kB / 0.5087 GB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3782, allocations: 0 / 0.5087 GB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.3782, allocations: 6.938 kB / 0.5088 GB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008643/0.3868, allocations: 5.137 MB / 0.5138 GB, free: 36.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.3868, allocations: 20.66 kB / 0.5138 GB, free: 36.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007196/0.3875, allocations: 298.5 kB / 0.5141 GB, free: 35.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002111/0.3877, allocations: 47.36 kB / 0.5141 GB, free: 35.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-05/0.3878, allocations: 41.88 kB / 0.5142 GB, free: 35.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008923/0.3887, allocations: 1.818 MB / 0.5159 GB, free: 33.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.3887, allocations: 15.75 kB / 0.516 GB, free: 33.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002524/0.3913, allocations: 2 MB / 0.5179 GB, free: 31.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006129/0.3919, allocations: 252.8 kB / 0.5181 GB, free: 31.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002149/0.3921, allocations: 46.33 kB / 0.5182 GB, free: 31.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006565/0.3927, allocations: 131 kB / 0.5183 GB, free: 31.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002193/0.393, allocations: 117 kB / 0.5184 GB, free: 31.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.342e-05/0.393, allocations: 66.14 kB / 0.5185 GB, free: 31.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00167/0.3947, allocations: 1.16 MB / 0.5196 GB, free: 30.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3947, allocations: 0 / 0.5196 GB, free: 30.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004317/0.399, allocations: 0.9116 MB / 0.5205 GB, free: 29.57 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.0005366/0.3996, allocations: 185.1 kB / 0.5207 GB, free: 29.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005614/0.4052, allocations: 2.602 MB / 0.5232 GB, free: 27.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.378e-05/0.4052, allocations: 0 / 0.5232 GB, free: 27.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00126/0.4065, allocations: 0.7232 MB / 0.5239 GB, free: 26.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/0.4088, allocations: 299.2 kB / 0.5242 GB, free: 26.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/0.4238, allocations: 7.773 MB / 0.5318 GB, free: 18.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001578/0.4254, allocations: 1.26 MB / 0.533 GB, free: 17.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003124/0.4285, allocations: 1.52 MB / 0.5345 GB, free: 17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006582/0.4292, allocations: 207.4 kB / 0.5347 GB, free: 16.81 MB / 410.7 MB Notification: Performance of SimCode: time 2.264e-06/0.4292, allocations: 0 / 0.5347 GB, free: 16.81 MB / 410.7 MB Notification: Performance of Templates: time 0.041/0.4702, allocations: 21.55 MB / 0.5558 GB, free: 13.08 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.099119731690735]