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.0009288/0.0009288, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.001162/0.001162, allocations: 166.7 kB / 24.99 MB, free: 8.789 MB / 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.023/1.023, allocations: 177.1 MB / 205.3 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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.2898/0.2898, allocations: 34.26 MB / 296 MB, free: 0.7695 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 2.094e-06/2.094e-06, allocations: 3.938 kB / 378 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.412e-05/3.622e-05, allocations: 8.281 kB / 378 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.0158/0.01583, allocations: 12.98 MB / 391 MB, free: 5.949 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007988/0.02382, allocations: 4.084 MB / 395.1 MB, free: 1.852 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002275/0.0261, allocations: 79.69 kB / 395.2 MB, free: 1.773 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002909/0.029, allocations: 1.938 MB / 397.1 MB, free: 15.83 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0038/0.0328, allocations: 1.929 MB / 399 MB, free: 13.89 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.03391, allocations: 0.5963 MB / 399.6 MB, free: 13.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004218/0.03813, allocations: 4.267 MB / 403.9 MB, free: 9.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002693/0.04082, allocations: 2.618 MB / 406.5 MB, free: 6.348 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002565/0.04338, allocations: 2.112 MB / 408.6 MB, free: 4.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002587/0.04597, allocations: 2.167 MB / 410.8 MB, free: 2.059 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005077/0.04648, allocations: 296 kB / 411.1 MB, free: 1.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.04788, allocations: 0.9595 MB / 412 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001242/0.04912, allocations: 1.87 MB / 413.9 MB, free: 14.93 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001485/0.0506, allocations: 1.145 MB / 415.1 MB, free: 13.79 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005185/0.05579, allocations: 4.448 MB / 419.5 MB, free: 9.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.05579, allocations: 4 kB / 419.5 MB, free: 9.316 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.0558, allocations: 0 / 419.5 MB, free: 9.316 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001435/0.05594, allocations: 0 / 419.5 MB, free: 9.316 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.007065/0.063, allocations: 5.004 MB / 424.5 MB, free: 4.246 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.06305, allocations: 8.031 kB / 424.5 MB, free: 4.238 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006766/0.06982, allocations: 3.703 MB / 428.2 MB, free: 0.5273 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003394/0.07321, allocations: 1.934 MB / 430.2 MB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/0.07337, allocations: 217.8 kB / 430.4 MB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006425/0.07402, allocations: 292.1 kB / 430.7 MB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01133/0.08534, allocations: 5.688 MB / 436.3 MB, free: 7.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001088/0.08545, allocations: 27.77 kB / 436.4 MB, free: 7.723 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004726/0.08592, allocations: 131.8 kB / 436.5 MB, free: 7.594 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003132/0.08906, allocations: 2.62 MB / 439.1 MB, free: 4.969 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01089/0.09994, allocations: 3.501 MB / 442.6 MB, free: 1.449 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2103/0.3102, allocations: 35.62 MB / 478.2 MB, free: 69.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004263/0.3145, allocations: 1.821 MB / 480.1 MB, free: 69.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.3155, allocations: 0.7072 MB / 480.8 MB, free: 69.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004638/0.316, allocations: 408.4 kB / 481.2 MB, free: 69.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.316, allocations: 53.89 kB / 481.2 MB, free: 69.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=242): time 4.969e-06/0.316, allocations: 3.344 kB / 481.2 MB, free: 69.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=254): time 0.01969/0.3357, allocations: 10.18 MB / 491.4 MB, free: 66.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.3358, allocations: 73.44 kB / 491.5 MB, free: 66.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002866/0.3386, allocations: 2.519 MB / 494 MB, free: 65.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001404/0.3388, allocations: 60.33 kB / 494.1 MB, free: 65.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001304/0.3401, allocations: 3.012 MB / 497.1 MB, free: 63.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008356/0.3409, allocations: 0.9964 MB / 498.1 MB, free: 62.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00144/0.3423, allocations: 1.141 MB / 499.2 MB, free: 62.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.124e-05/0.3424, allocations: 478.2 kB / 499.7 MB, free: 61.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/0.3438, allocations: 0.7045 MB / 0.4887 GB, free: 61.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003038/0.3469, allocations: 4.992 MB / 0.4935 GB, free: 55.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004951/0.3518, allocations: 6.343 MB / 0.4997 GB, free: 49.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.481e-05/0.3519, allocations: 27.28 kB / 0.4997 GB, free: 49.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.007885/0.3598, allocations: 5.145 MB / 0.5048 GB, free: 47.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.872e-05/0.3599, allocations: 48.59 kB / 0.5048 GB, free: 47.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.317e-05/0.3599, allocations: 101.5 kB / 0.5049 GB, free: 47.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001523/0.3615, allocations: 0.6472 MB / 0.5055 GB, free: 47.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00223/0.3637, allocations: 1.23 MB / 0.5068 GB, free: 46.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002761/0.3664, allocations: 3.12 MB / 0.5098 GB, free: 43.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/0.3688, allocations: 326.9 kB / 0.5101 GB, free: 43.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002894/0.3691, allocations: 309.1 kB / 0.5104 GB, free: 42.91 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.001293/0.3704, allocations: 0.5835 MB / 0.511 GB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003789/0.3708, allocations: 338.5 kB / 0.5113 GB, free: 42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003851/0.3746, allocations: 2.623 MB / 0.5139 GB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-05/0.3747, allocations: 51.08 kB / 0.5139 GB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/0.3747, allocations: 4 kB / 0.5139 GB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.291e-05/0.3747, allocations: 14.06 kB / 0.5139 GB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/0.3867, allocations: 6.931 MB / 0.5207 GB, free: 33.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/0.3867, allocations: 8 kB / 0.5207 GB, free: 33.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/0.388, allocations: 401.5 kB / 0.5211 GB, free: 33.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001559/0.3895, allocations: 0.5097 MB / 0.5216 GB, free: 33.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001553/0.3897, allocations: 55.94 kB / 0.5216 GB, free: 33.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002728/0.3924, allocations: 2.563 MB / 0.5241 GB, free: 30.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.044e-05/0.3924, allocations: 15.94 kB / 0.5242 GB, free: 30.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005503/0.3979, allocations: 3.294 MB / 0.5274 GB, free: 27.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008223/0.3987, allocations: 257.3 kB / 0.5276 GB, free: 27.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002967/0.399, allocations: 49.33 kB / 0.5277 GB, free: 27.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.4, allocations: 171.3 kB / 0.5278 GB, free: 27.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003441/0.4004, allocations: 164.2 kB / 0.528 GB, free: 27.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/0.4005, allocations: 71.98 kB / 0.5281 GB, free: 27.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00145/0.402, allocations: 1.077 MB / 0.5291 GB, free: 25.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.402, allocations: 0 / 0.5291 GB, free: 25.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00427/0.4062, allocations: 1.031 MB / 0.5301 GB, free: 24.9 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.0005125/0.4067, allocations: 201.9 kB / 0.5303 GB, free: 24.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005327/0.4121, allocations: 3.014 MB / 0.5332 GB, free: 21.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.914e-06/0.4121, allocations: 0 / 0.5332 GB, free: 21.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.4136, allocations: 1.034 MB / 0.5343 GB, free: 20.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.4154, allocations: 307.1 kB / 0.5345 GB, free: 20.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/0.4278, allocations: 8.271 MB / 0.5426 GB, free: 11.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/0.429, allocations: 1.268 MB / 0.5439 GB, free: 10.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003013/0.432, allocations: 1.622 MB / 0.5454 GB, free: 8.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000661/0.4327, allocations: 204.5 kB / 0.5456 GB, free: 8.707 MB / 410.7 MB Notification: Performance of SimCode: time 1.944e-06/0.4327, allocations: 0 / 0.5456 GB, free: 8.707 MB / 410.7 MB Notification: Performance of Templates: time 0.04179/0.4745, allocations: 27.79 MB / 0.5728 GB, free: 13.3 MB / 442.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 240] 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","",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.4196682930924]