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.001822/0.001822, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001959/0.001959, allocations: 165.6 kB / 24.27 MB, free: 156 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.541/1.541, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.3303/0.3303, allocations: 32.81 MB / 293.9 MB, free: 1.176 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.463e-06/1.463e-06, allocations: 0 / 375.3 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.837e-05, allocations: 10.19 kB / 375.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01816/0.01819, allocations: 12.94 MB / 388.2 MB, free: 7.984 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00941/0.0276, allocations: 4.084 MB / 392.3 MB, free: 3.887 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/0.02941, allocations: 79.69 kB / 392.4 MB, free: 3.809 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004412/0.03383, allocations: 1.935 MB / 394.3 MB, free: 1.867 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005496/0.03932, allocations: 1.929 MB / 396.2 MB, free: 15.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.04111, allocations: 0.6041 MB / 396.8 MB, free: 15.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006285/0.04739, allocations: 4.264 MB / 401.1 MB, free: 11.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004621/0.05201, allocations: 2.618 MB / 403.7 MB, free: 8.383 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004487/0.0565, allocations: 2.116 MB / 405.8 MB, free: 6.262 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004351/0.06085, allocations: 2.163 MB / 408 MB, free: 4.094 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001083/0.06193, allocations: 292 kB / 408.3 MB, free: 3.809 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002643/0.06458, allocations: 0.9633 MB / 409.3 MB, free: 2.844 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002697/0.06727, allocations: 1.866 MB / 411.1 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002253/0.06953, allocations: 1.152 MB / 412.3 MB, free: 15.81 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01092/0.08045, allocations: 6.899 MB / 419.2 MB, free: 8.895 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.08046, allocations: 0 / 419.2 MB, free: 8.895 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.08046, allocations: 4 kB / 419.2 MB, free: 8.891 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002601/0.08072, allocations: 0 / 419.2 MB, free: 8.891 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.01312/0.09384, allocations: 5.449 MB / 424.6 MB, free: 3.375 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.448e-05/0.09391, allocations: 8.031 kB / 424.6 MB, free: 3.367 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01306/0.107, allocations: 3.695 MB / 428.3 MB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00662/0.1136, allocations: 1.937 MB / 430.3 MB, free: 13.69 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002301/0.1138, allocations: 221.7 kB / 430.5 MB, free: 13.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009269/0.1147, allocations: 284.2 kB / 430.8 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01702/0.1318, allocations: 6.153 MB / 436.9 MB, free: 6.426 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00013/0.1319, allocations: 31.75 kB / 436.9 MB, free: 6.395 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004729/0.1324, allocations: 131.8 kB / 437.1 MB, free: 6.266 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005616/0.138, allocations: 2.62 MB / 439.7 MB, free: 3.641 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2259/0.3639, allocations: 4.048 MB / 443.7 MB, free: 93.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05488/0.4188, allocations: 44.35 MB / 488.1 MB, free: 64.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006678/0.4255, allocations: 1.84 MB / 489.9 MB, free: 63.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001786/0.4272, allocations: 0.7248 MB / 490.7 MB, free: 63.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008083/0.4281, allocations: 423.5 kB / 491.1 MB, free: 63.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.4281, allocations: 54.39 kB / 491.1 MB, free: 63.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=242): time 5.2e-06/0.4281, allocations: 1.375 kB / 491.1 MB, free: 63.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=254): time 0.03565/0.4637, allocations: 10.36 MB / 0.4897 GB, free: 60.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.4638, allocations: 76.48 kB / 0.4898 GB, free: 60.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004927/0.4687, allocations: 3.145 MB / 0.4929 GB, free: 59.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004638/0.4692, allocations: 64.52 kB / 0.4929 GB, free: 59.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00224/0.4714, allocations: 3.157 MB / 0.496 GB, free: 57.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001452/0.4729, allocations: 1.061 MB / 0.4971 GB, free: 56.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002148/0.475, allocations: 1.337 MB / 0.4984 GB, free: 55.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.968e-05/0.4751, allocations: 484.5 kB / 0.4988 GB, free: 55.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002248/0.4774, allocations: 0.748 MB / 0.4996 GB, free: 54.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004255/0.4816, allocations: 5.214 MB / 0.5046 GB, free: 47.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007801/0.4894, allocations: 6.626 MB / 0.5111 GB, free: 39.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001547/0.4896, allocations: 28 kB / 0.5111 GB, free: 39.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.0169/0.5065, allocations: 5.252 MB / 0.5163 GB, free: 34.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001919/0.5067, allocations: 48.66 kB / 0.5163 GB, free: 34.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002698/0.5069, allocations: 104 kB / 0.5164 GB, free: 34.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002883/0.5098, allocations: 0.6652 MB / 0.5171 GB, free: 34.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004278/0.5141, allocations: 1.222 MB / 0.5183 GB, free: 32.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004243/0.5183, allocations: 3.226 MB / 0.5214 GB, free: 29.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004456/0.5228, allocations: 327.7 kB / 0.5217 GB, free: 29.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009799/0.5238, allocations: 308.3 kB / 0.522 GB, free: 29.3 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.00264/0.5264, allocations: 0.6939 MB / 0.5227 GB, free: 28.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008001/0.5272, allocations: 334.2 kB / 0.523 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006575/0.5338, allocations: 2.815 MB / 0.5258 GB, free: 26.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.353e-05/0.5338, allocations: 50.78 kB / 0.5258 GB, free: 26.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.561e-05/0.5339, allocations: 4.875 kB / 0.5258 GB, free: 26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-05/0.5339, allocations: 9.609 kB / 0.5258 GB, free: 26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01655/0.5504, allocations: 8.169 MB / 0.5338 GB, free: 18.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/0.5504, allocations: 8 kB / 0.5338 GB, free: 18.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001564/0.552, allocations: 401.6 kB / 0.5342 GB, free: 18.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002103/0.5541, allocations: 0.5185 MB / 0.5347 GB, free: 18.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001744/0.5543, allocations: 46.81 kB / 0.5347 GB, free: 18.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003318/0.5576, allocations: 2.658 MB / 0.5373 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.5576, allocations: 11.94 kB / 0.5373 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006563/0.5642, allocations: 3.449 MB / 0.5407 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008601/0.565, allocations: 258.1 kB / 0.541 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003776/0.5654, allocations: 48.09 kB / 0.541 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/0.5668, allocations: 183.7 kB / 0.5412 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003488/0.5672, allocations: 152.8 kB / 0.5413 GB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/0.5673, allocations: 87.66 kB / 0.5414 GB, free: 11.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001845/0.5692, allocations: 1.288 MB / 0.5427 GB, free: 9.859 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5692, allocations: 0 / 0.5427 GB, free: 9.859 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004827/0.574, allocations: 1.027 MB / 0.5437 GB, free: 8.832 MB / 410.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.0004983/0.5745, allocations: 205.8 kB / 0.5439 GB, free: 8.625 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005729/0.5802, allocations: 3.263 MB / 0.5471 GB, free: 5.371 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/0.5802, allocations: 0 / 0.5471 GB, free: 5.371 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001671/0.5819, allocations: 1.105 MB / 0.5481 GB, free: 4.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/0.5839, allocations: 314.4 kB / 0.5484 GB, free: 3.945 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01621/0.6001, allocations: 8.392 MB / 0.5566 GB, free: 11.31 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004195/0.6043, allocations: 2.504 MB / 0.5591 GB, free: 8.762 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004249/0.6086, allocations: 1.621 MB / 0.5607 GB, free: 7.133 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008226/0.6094, allocations: 204.5 kB / 0.5609 GB, free: 6.934 MB / 426.7 MB Notification: Performance of SimCode: time 1.663e-06/0.6094, allocations: 4 kB / 0.5609 GB, free: 6.93 MB / 426.7 MB Notification: Performance of Templates: time 0.06543/0.6748, allocations: 27.75 MB / 0.588 GB, free: 11.54 MB / 458.7 MB " [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=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","/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: 7.023697010008618]