Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001488/0.001488, allocations: 82.59 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0015/0.0015, allocations: 170.5 kB / 24.83 MB, free: 8.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.001/1.001, allocations: 177 MB / 205.1 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3229/0.3229, allocations: 34.86 MB / 296.6 MB, free: 0.4961 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 379.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.343e-05/3.514e-05, allocations: 7.656 kB / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01491/0.01495, allocations: 12.68 MB / 391.9 MB, free: 5.086 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008133/0.02308, allocations: 4.067 MB / 396 MB, free: 1.008 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001966/0.02505, allocations: 79.69 kB / 396.1 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003012/0.02806, allocations: 1.927 MB / 398 MB, free: 15 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004622/0.03268, allocations: 1.925 MB / 399.9 MB, free: 13.06 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.03392, allocations: 0.6002 MB / 400.5 MB, free: 12.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004795/0.03872, allocations: 4.267 MB / 404.8 MB, free: 8.184 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003357/0.04207, allocations: 2.614 MB / 407.4 MB, free: 5.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003612/0.04569, allocations: 2.171 MB / 409.6 MB, free: 3.344 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002905/0.04859, allocations: 2.108 MB / 411.7 MB, free: 1.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009444/0.04954, allocations: 288 kB / 412 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.0515, allocations: 0.9594 MB / 412.9 MB, free: 15.98 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001726/0.05323, allocations: 1.842 MB / 414.8 MB, free: 14.14 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002003/0.05523, allocations: 1.144 MB / 415.9 MB, free: 12.99 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006382/0.06161, allocations: 4.405 MB / 420.3 MB, free: 8.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.266e-05/0.06162, allocations: 4 kB / 420.3 MB, free: 8.566 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.06163, allocations: 4 kB / 420.3 MB, free: 8.562 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002817/0.06191, allocations: 4 kB / 420.3 MB, free: 8.559 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.007724/0.06963, allocations: 4.848 MB / 425.2 MB, free: 3.645 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.06968, allocations: 8.031 kB / 425.2 MB, free: 3.637 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004503/0.07419, allocations: 1.906 MB / 427.1 MB, free: 1.727 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002812/0.077, allocations: 1.741 MB / 428.8 MB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.07713, allocations: 213.8 kB / 429 MB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004328/0.07756, allocations: 288.1 kB / 429.3 MB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00786/0.08542, allocations: 5.117 MB / 434.4 MB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-05/0.0855, allocations: 27.77 kB / 434.5 MB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002717/0.08577, allocations: 143.7 kB / 434.6 MB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002036/0.08781, allocations: 2.23 MB / 436.8 MB, free: 7.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008031/0.09584, allocations: 2.696 MB / 439.5 MB, free: 4.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2377/0.3336, allocations: 35.35 MB / 474.9 MB, free: 65.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004153/0.3377, allocations: 1.455 MB / 476.3 MB, free: 65.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006679/0.3384, allocations: 445.9 kB / 476.8 MB, free: 65.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007207/0.3456, allocations: 4.022 MB / 480.8 MB, free: 63.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.496e-05/0.3457, allocations: 52.58 kB / 480.8 MB, free: 63.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=180): time 6.052e-06/0.3457, allocations: 3.844 kB / 480.8 MB, free: 63.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=187): time 0.01122/0.3569, allocations: 5.502 MB / 486.3 MB, free: 62.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.3569, allocations: 68.56 kB / 486.4 MB, free: 62.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002542/0.3595, allocations: 2.758 MB / 489.2 MB, free: 61.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.441e-05/0.3595, allocations: 46.89 kB / 489.2 MB, free: 61.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001273/0.3608, allocations: 3.219 MB / 492.4 MB, free: 59.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000451/0.3613, allocations: 0.7652 MB / 493.2 MB, free: 58.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001108/0.3624, allocations: 1.171 MB / 494.4 MB, free: 58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.96e-05/0.3624, allocations: 481.9 kB / 494.8 MB, free: 57.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.3635, allocations: 0.5162 MB / 495.4 MB, free: 57.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002551/0.3661, allocations: 5.094 MB / 0.4887 GB, free: 51.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004649/0.3707, allocations: 6.145 MB / 0.4947 GB, free: 44.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001149/0.3708, allocations: 31.47 kB / 0.4948 GB, free: 44.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.007018/0.3778, allocations: 4.144 MB / 0.4988 GB, free: 42.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.329e-05/0.3779, allocations: 51.31 kB / 0.4989 GB, free: 42.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001631/0.3781, allocations: 108 kB / 0.499 GB, free: 42.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003885/0.3785, allocations: 184.3 kB / 0.4991 GB, free: 42.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/0.3806, allocations: 1.149 MB / 0.5003 GB, free: 42.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009519/0.3815, allocations: 1.981 MB / 0.5022 GB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002423/0.384, allocations: 211.8 kB / 0.5024 GB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003024/0.3843, allocations: 274 kB / 0.5026 GB, free: 40.87 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.00148/0.3857, allocations: 0.5773 MB / 0.5032 GB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000443/0.3862, allocations: 317.5 kB / 0.5035 GB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.3874, allocations: 1.094 MB / 0.5046 GB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.3874, allocations: 21.56 kB / 0.5046 GB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3874, allocations: 0 / 0.5046 GB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.3874, allocations: 6.375 kB / 0.5046 GB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008254/0.3957, allocations: 4.949 MB / 0.5094 GB, free: 37.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/0.3957, allocations: 9.312 kB / 0.5095 GB, free: 37.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006148/0.3963, allocations: 225.1 kB / 0.5097 GB, free: 37.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001799/0.3965, allocations: 60.98 kB / 0.5097 GB, free: 37.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-05/0.3965, allocations: 39.47 kB / 0.5098 GB, free: 37.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006858/0.3972, allocations: 1.791 MB / 0.5115 GB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.3972, allocations: 13.47 kB / 0.5115 GB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.3992, allocations: 1.843 MB / 0.5133 GB, free: 34.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000476/0.3997, allocations: 238.3 kB / 0.5136 GB, free: 34.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.3999, allocations: 45.88 kB / 0.5136 GB, free: 34.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005331/0.4004, allocations: 28.72 kB / 0.5136 GB, free: 34.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/0.4006, allocations: 111.3 kB / 0.5137 GB, free: 34.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.88e-05/0.4007, allocations: 58.56 kB / 0.5138 GB, free: 34.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001537/0.4023, allocations: 1.086 MB / 0.5148 GB, free: 33.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4023, allocations: 3.938 kB / 0.5148 GB, free: 33.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004212/0.4065, allocations: 0.9108 MB / 0.5157 GB, free: 32.93 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.0004271/0.4069, allocations: 188.5 kB / 0.5159 GB, free: 32.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004421/0.4113, allocations: 2.434 MB / 0.5183 GB, free: 30.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/0.4113, allocations: 0 / 0.5183 GB, free: 30.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000871/0.4122, allocations: 0.6671 MB / 0.5189 GB, free: 29.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/0.4142, allocations: 306.3 kB / 0.5192 GB, free: 29.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/0.428, allocations: 7.73 MB / 0.5268 GB, free: 22.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00188/0.4299, allocations: 1.266 MB / 0.528 GB, free: 21.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001719/0.4316, allocations: 427.4 kB / 0.5284 GB, free: 21.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007851/0.4324, allocations: 497.8 kB / 0.5289 GB, free: 20.68 MB / 410.7 MB Notification: Performance of SimCode: time 1.984e-06/0.4324, allocations: 0 / 0.5289 GB, free: 20.68 MB / 410.7 MB Notification: Performance of Templates: time 0.04494/0.4774, allocations: 23.16 MB / 0.5515 GB, free: 15.77 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 4.4076218800619245]