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.001685/0.001685, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.00163/0.00163, allocations: 169.3 kB / 24.27 MB, free: 144 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.591/1.591, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.3418/0.3418, allocations: 34.26 MB / 295.3 MB, free: 0.6641 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.303e-06/1.303e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.394e-05, allocations: 2.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01653/0.01655, allocations: 11.8 MB / 389.1 MB, free: 7.094 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009732/0.02628, allocations: 3.987 MB / 393.1 MB, free: 3.094 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.02776, allocations: 75.75 kB / 393.2 MB, free: 3.02 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003846/0.03161, allocations: 1.895 MB / 395.1 MB, free: 1.117 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004538/0.03614, allocations: 1.933 MB / 397 MB, free: 15.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.03759, allocations: 0.5963 MB / 397.6 MB, free: 14.58 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006666/0.04426, allocations: 4.272 MB / 401.9 MB, free: 10.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004878/0.04914, allocations: 2.602 MB / 404.5 MB, free: 7.641 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003609/0.05275, allocations: 2.116 MB / 406.6 MB, free: 5.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004118/0.05687, allocations: 2.139 MB / 408.7 MB, free: 3.375 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000747/0.05761, allocations: 296 kB / 409 MB, free: 3.086 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00225/0.05986, allocations: 0.9633 MB / 410 MB, free: 2.121 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00242/0.06228, allocations: 1.854 MB / 411.8 MB, free: 268 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001995/0.06428, allocations: 1.148 MB / 413 MB, free: 15.11 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009662/0.07394, allocations: 6.891 MB / 419.9 MB, free: 8.191 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.07395, allocations: 0 / 419.9 MB, free: 8.191 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.07395, allocations: 4 kB / 419.9 MB, free: 8.188 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000192/0.07414, allocations: 0 / 419.9 MB, free: 8.188 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.009538/0.08368, allocations: 4.573 MB / 424.4 MB, free: 3.555 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.08372, allocations: 8.031 kB / 424.4 MB, free: 3.547 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01256/0.09627, allocations: 3.809 MB / 428.2 MB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004943/0.1012, allocations: 2.091 MB / 430.3 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002085/0.1014, allocations: 221.8 kB / 430.6 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006608/0.1021, allocations: 288.2 kB / 430.8 MB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02016/0.1222, allocations: 11.12 MB / 442 MB, free: 1.523 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001017/0.1223, allocations: 35.7 kB / 442 MB, free: 1.488 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004351/0.1228, allocations: 135.8 kB / 442.1 MB, free: 1.355 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2037/0.3265, allocations: 2.612 MB / 444.7 MB, free: 96.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01747/0.344, allocations: 10.36 MB / 455.1 MB, free: 93.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04173/0.3857, allocations: 33.83 MB / 488.9 MB, free: 73.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007742/0.3935, allocations: 3.596 MB / 492.5 MB, free: 72.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002351/0.3958, allocations: 2.23 MB / 494.7 MB, free: 71.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007807/0.3966, allocations: 456.7 kB / 495.2 MB, free: 71.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.3966, allocations: 51.38 kB / 495.2 MB, free: 71.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=242): time 4.479e-06/0.3966, allocations: 3.125 kB / 495.2 MB, free: 71.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=254): time 0.03715/0.4338, allocations: 18.02 MB / 0.5012 GB, free: 56.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.4338, allocations: 77.41 kB / 0.5013 GB, free: 56.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003118/0.4369, allocations: 2.761 MB / 0.504 GB, free: 54.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002175/0.4372, allocations: 61.7 kB / 0.5041 GB, free: 54.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001154/0.4383, allocations: 2.88 MB / 0.5069 GB, free: 51.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006602/0.439, allocations: 0.9435 MB / 0.5078 GB, free: 51.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001183/0.4401, allocations: 1.067 MB / 0.5088 GB, free: 50.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.107e-05/0.4402, allocations: 305.1 kB / 0.5091 GB, free: 49.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002495/0.4427, allocations: 2.316 MB / 0.5114 GB, free: 47.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003498/0.4462, allocations: 5.222 MB / 0.5165 GB, free: 40.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006744/0.4529, allocations: 8.269 MB / 0.5246 GB, free: 31.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.853e-05/0.453, allocations: 28 kB / 0.5246 GB, free: 31.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01192/0.4649, allocations: 8.555 MB / 0.533 GB, free: 22.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.774e-05/0.465, allocations: 48 kB / 0.533 GB, free: 22.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001097/0.4651, allocations: 100 kB / 0.5331 GB, free: 22.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002725/0.4678, allocations: 0.9809 MB / 0.534 GB, free: 21.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003854/0.4717, allocations: 1.22 MB / 0.5352 GB, free: 20.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005665/0.4773, allocations: 4.983 MB / 0.5401 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004191/0.4815, allocations: 327.7 kB / 0.5404 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009482/0.4825, allocations: 311.6 kB / 0.5407 GB, free: 14.59 MB / 410.7 MB 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.003918/0.4864, allocations: 2.154 MB / 0.5428 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009293/0.4873, allocations: 334.2 kB / 0.5431 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007998/0.4953, allocations: 5.114 MB / 0.5481 GB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-05/0.4954, allocations: 43.98 kB / 0.5482 GB, free: 6.914 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.4954, allocations: 0 / 0.5482 GB, free: 6.914 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.24e-05/0.4954, allocations: 7.969 kB / 0.5482 GB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02063/0.516, allocations: 10.48 MB / 0.5584 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.8e-05/0.5161, allocations: 15.94 kB / 0.5584 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00205/0.5181, allocations: 399.3 kB / 0.5588 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003067/0.5212, allocations: 0.8006 MB / 0.5596 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003755/0.5216, allocations: 47.98 kB / 0.5596 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007031/0.5286, allocations: 4.251 MB / 0.5638 GB, free: 6.695 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.407e-05/0.5286, allocations: 11.94 kB / 0.5638 GB, free: 6.684 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01487/0.5435, allocations: 7.663 MB / 0.5713 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009133/0.5444, allocations: 258.2 kB / 0.5715 GB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006508/0.5451, allocations: 47.98 kB / 0.5716 GB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001865/0.5469, allocations: 175.8 kB / 0.5717 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005067/0.5474, allocations: 164.8 kB / 0.5719 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002382/0.5477, allocations: 71.98 kB / 0.572 GB, free: 14.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003666/0.5513, allocations: 1.585 MB / 0.5735 GB, free: 12.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5513, allocations: 0 / 0.5735 GB, free: 12.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005649/0.557, allocations: 1.031 MB / 0.5745 GB, free: 11.54 MB / 442.7 MB 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.0007611/0.5577, allocations: 207.7 kB / 0.5747 GB, free: 11.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01088/0.5686, allocations: 5.435 MB / 0.58 GB, free: 5.914 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-05/0.5686, allocations: 4 kB / 0.58 GB, free: 5.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003659/0.5723, allocations: 2.004 MB / 0.582 GB, free: 3.898 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002997/0.5753, allocations: 315.3 kB / 0.5823 GB, free: 3.602 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02226/0.5976, allocations: 10.41 MB / 0.5925 GB, free: 8.988 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005995/0.6036, allocations: 2.832 MB / 0.5952 GB, free: 6.117 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005491/0.609, allocations: 1.974 MB / 0.5971 GB, free: 4.137 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/0.6101, allocations: 204.5 kB / 0.5973 GB, free: 3.934 MB / 458.7 MB Notification: Performance of SimCode: time 1.353e-06/0.6101, allocations: 0 / 0.5973 GB, free: 3.934 MB / 458.7 MB Notification: Performance of Templates: time 0.213/0.8231, allocations: 27.8 MB / 0.6245 GB, free: 126 MB / 458.7 MB " [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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins/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.99566735397093]