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.001542/0.001542, allocations: 79.59 kB / 21.18 MB, free: 3.391 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.001817/0.001817, allocations: 161 kB / 24.56 MB, free: 20 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.01/1.01, allocations: 177.1 MB / 205 MB, free: 4.785 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.2394/0.2394, allocations: 32.81 MB / 294.3 MB, free: 1.211 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.843e-06/1.843e-06, allocations: 0 / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.712e-05, allocations: 5.406 kB / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01298/0.01301, allocations: 13.02 MB / 389 MB, free: 7.586 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006189/0.0192, allocations: 4.096 MB / 393.1 MB, free: 3.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007861/0.01998, allocations: 79.69 kB / 393.2 MB, free: 3.402 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002044/0.02202, allocations: 1.938 MB / 395.2 MB, free: 1.457 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002268/0.02429, allocations: 1.937 MB / 397.1 MB, free: 15.51 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007456/0.02504, allocations: 0.5963 MB / 397.7 MB, free: 14.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003037/0.02808, allocations: 4.262 MB / 402 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00201/0.03009, allocations: 2.629 MB / 404.6 MB, free: 7.961 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002058/0.03214, allocations: 2.112 MB / 406.7 MB, free: 5.844 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001877/0.03402, allocations: 2.159 MB / 408.9 MB, free: 3.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002983/0.03432, allocations: 296 kB / 409.1 MB, free: 3.391 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.03562, allocations: 0.9633 MB / 410.1 MB, free: 2.426 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00115/0.03677, allocations: 1.874 MB / 412 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001251/0.03802, allocations: 1.145 MB / 413.1 MB, free: 15.4 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003699/0.04172, allocations: 4.436 MB / 417.6 MB, free: 10.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.04172, allocations: 0 / 417.6 MB, free: 10.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.04172, allocations: 0 / 417.6 MB, free: 10.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.069e-05/0.04176, allocations: 0 / 417.6 MB, free: 10.95 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.005014/0.04678, allocations: 5.016 MB / 422.6 MB, free: 5.863 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.04682, allocations: 15.97 kB / 422.6 MB, free: 5.848 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006205/0.05302, allocations: 3.699 MB / 426.3 MB, free: 2.141 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002412/0.05544, allocations: 1.93 MB / 428.2 MB, free: 180 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.05556, allocations: 221.8 kB / 428.4 MB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000363/0.05593, allocations: 288.1 kB / 428.7 MB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006536/0.06246, allocations: 5.68 MB / 434.4 MB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.739e-05/0.06253, allocations: 35.77 kB / 434.4 MB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002536/0.06278, allocations: 131.8 kB / 434.6 MB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002442/0.06523, allocations: 2.624 MB / 437.2 MB, free: 6.586 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00595/0.07118, allocations: 3.501 MB / 440.7 MB, free: 3.062 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.18/0.2511, allocations: 35.63 MB / 476.3 MB, free: 66.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004614/0.2558, allocations: 1.819 MB / 478.1 MB, free: 66.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.2569, allocations: 0.707 MB / 478.8 MB, free: 66.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005354/0.2574, allocations: 405.8 kB / 479.2 MB, free: 66.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.2575, allocations: 55.42 kB / 479.3 MB, free: 66.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=242): time 4.97e-06/0.2575, allocations: 0 / 479.3 MB, free: 66.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=254): time 0.02274/0.2802, allocations: 10.18 MB / 489.5 MB, free: 64.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.2803, allocations: 74.31 kB / 489.5 MB, free: 64.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002804/0.2831, allocations: 2.524 MB / 492.1 MB, free: 62.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.2832, allocations: 56.36 kB / 492.1 MB, free: 62.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00446/0.2876, allocations: 3.014 MB / 495.1 MB, free: 60.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006044/0.2882, allocations: 0.9917 MB / 496.1 MB, free: 60.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002343/0.2906, allocations: 1.143 MB / 497.3 MB, free: 59.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.988e-05/0.2906, allocations: 477.9 kB / 497.7 MB, free: 59.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/0.2921, allocations: 0.6992 MB / 498.4 MB, free: 58.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002641/0.2947, allocations: 4.998 MB / 0.4916 GB, free: 53.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008873/0.3036, allocations: 6.33 MB / 0.4978 GB, free: 46.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001385/0.3038, allocations: 29.62 kB / 0.4978 GB, free: 46.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.0105/0.3143, allocations: 5.16 MB / 0.5029 GB, free: 44.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.139e-05/0.3143, allocations: 51.38 kB / 0.5029 GB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-05/0.3144, allocations: 100.6 kB / 0.503 GB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/0.3158, allocations: 0.6476 MB / 0.5037 GB, free: 44.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002149/0.3179, allocations: 1.229 MB / 0.5049 GB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002748/0.3206, allocations: 3.114 MB / 0.5079 GB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002806/0.3235, allocations: 325.9 kB / 0.5082 GB, free: 42.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000392/0.3238, allocations: 307 kB / 0.5085 GB, free: 42.18 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.001451/0.3253, allocations: 0.5777 MB / 0.5091 GB, free: 41.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004169/0.3257, allocations: 334.2 kB / 0.5094 GB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003597/0.3293, allocations: 2.642 MB / 0.512 GB, free: 39.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.085e-05/0.3294, allocations: 38.95 kB / 0.512 GB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.3294, allocations: 4.75 kB / 0.512 GB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.969e-05/0.3294, allocations: 9.703 kB / 0.512 GB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009719/0.3391, allocations: 6.946 MB / 0.5188 GB, free: 33.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/0.3391, allocations: 12 kB / 0.5188 GB, free: 33.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008724/0.34, allocations: 397.4 kB / 0.5192 GB, free: 32.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001153/0.3411, allocations: 0.5036 MB / 0.5197 GB, free: 32.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/0.3413, allocations: 55.84 kB / 0.5197 GB, free: 32.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/0.3432, allocations: 2.558 MB / 0.5222 GB, free: 30.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.3432, allocations: 19.88 kB / 0.5223 GB, free: 30.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004005/0.3473, allocations: 3.289 MB / 0.5255 GB, free: 27.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004678/0.3477, allocations: 261.4 kB / 0.5257 GB, free: 26.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000209/0.3479, allocations: 55.19 kB / 0.5258 GB, free: 26.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007386/0.3487, allocations: 174.8 kB / 0.5259 GB, free: 26.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002069/0.3489, allocations: 161.6 kB / 0.5261 GB, free: 26.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.92e-05/0.349, allocations: 78.91 kB / 0.5262 GB, free: 26.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0011/0.3501, allocations: 1.075 MB / 0.5272 GB, free: 25.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3501, allocations: 0 / 0.5272 GB, free: 25.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003183/0.3533, allocations: 1.027 MB / 0.5282 GB, free: 24.53 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.0003756/0.3536, allocations: 201.2 kB / 0.5284 GB, free: 24.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004029/0.3577, allocations: 3.021 MB / 0.5314 GB, free: 21.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.3577, allocations: 0 / 0.5314 GB, free: 21.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.3588, allocations: 1.018 MB / 0.5324 GB, free: 20.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.3601, allocations: 319.4 kB / 0.5327 GB, free: 20.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009878/0.37, allocations: 8.259 MB / 0.5407 GB, free: 12.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/0.3711, allocations: 1.268 MB / 0.542 GB, free: 11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002257/0.3734, allocations: 1.615 MB / 0.5435 GB, free: 9.379 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005358/0.3739, allocations: 200.5 kB / 0.5437 GB, free: 9.184 MB / 410.7 MB Notification: Performance of SimCode: time 2.214e-06/0.3739, allocations: 0 / 0.5437 GB, free: 9.184 MB / 410.7 MB Notification: Performance of Templates: time 0.03969/0.4136, allocations: 27.8 MB / 0.5709 GB, free: 13.81 MB / 442.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.4183145086281]