Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009008/0.0009008, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00121/0.002111, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0007367/0.0007367, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009739/0.001711, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9071/0.9071, allocations: 158.6 MB / 171 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.149/1.056, allocations: 49.5 MB / 220.5 MB, free: 1.453 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1323/0.1323, allocations: 32.35 MB / 253.6 MB, free: 332 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02304/0.1554, allocations: 12.28 MB / 265.9 MB, free: 4 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 267.2 MB, free: 2.691 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.378e-05, allocations: 6.25 kB / 267.2 MB, free: 2.684 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01003/0.01005, allocations: 13.2 MB / 280.4 MB, free: 5.414 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009762/0.01981, allocations: 4.31 MB / 284.7 MB, free: 1.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003275/0.02309, allocations: 79.69 kB / 284.8 MB, free: 1.012 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1719/0.195, allocations: 1.887 MB / 286.7 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005354/0.2003, allocations: 1.97 MB / 288.7 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.2018, allocations: 0.5602 MB / 289.2 MB, free: 1.582 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005755/0.2076, allocations: 4.221 MB / 293.4 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003421/0.211, allocations: 2.419 MB / 295.9 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00433/0.2153, allocations: 2.28 MB / 298.1 MB, free: 20 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003133/0.2184, allocations: 2.019 MB / 300.2 MB, free: 15.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008463/0.2193, allocations: 292.3 kB / 300.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001962/0.2212, allocations: 0.9937 MB / 301.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001516/0.2228, allocations: 1.723 MB / 303.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001658/0.2244, allocations: 0.9733 MB / 304.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005304/0.2297, allocations: 4.252 MB / 308.4 MB, free: 11.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.055e-05/0.2297, allocations: 0 / 308.4 MB, free: 11.22 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2297, allocations: 0 / 308.4 MB, free: 11.22 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001992/0.2299, allocations: 0 / 308.4 MB, free: 11.22 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.007511/0.2375, allocations: 5.248 MB / 313.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.2375, allocations: 11.89 kB / 313.7 MB, free: 6.312 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005062/0.2426, allocations: 1.458 MB / 315.1 MB, free: 4.922 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002981/0.2455, allocations: 1.609 MB / 316.7 MB, free: 3.453 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.2457, allocations: 221.6 kB / 316.9 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004545/0.2461, allocations: 298 kB / 317.2 MB, free: 3.039 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00718/0.2533, allocations: 4.87 MB / 322.1 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.82e-05/0.2534, allocations: 35.23 kB / 322.1 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003258/0.2537, allocations: 144.6 kB / 322.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003105/0.2568, allocations: 2.316 MB / 324.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006811/0.2637, allocations: 2.767 MB / 327.4 MB, free: 9.121 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03117/0.2948, allocations: 27.52 MB / 354.9 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003264/0.2981, allocations: 1.465 MB / 356.3 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000542/0.2986, allocations: 367.5 kB / 356.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006223/0.3049, allocations: 3.759 MB / 360.5 MB, free: 8.379 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.3049, allocations: 48.5 kB / 360.5 MB, free: 8.324 MB / 346.7 MB Notification: Performance of pre-optimization done (n=180): time 3.847e-06/0.3049, allocations: 0 / 360.5 MB, free: 8.324 MB / 346.7 MB Notification: Performance of matching and sorting (n=187): time 0.01043/0.3153, allocations: 4.934 MB / 365.4 MB, free: 3.441 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.3154, allocations: 64.72 kB / 365.5 MB, free: 3.363 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002129/0.3175, allocations: 2.529 MB / 368 MB, free: 1.277 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.574e-05/0.3176, allocations: 49.7 kB / 368.1 MB, free: 1.223 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001556/0.3191, allocations: 3.044 MB / 371.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004455/0.3196, allocations: 0.7208 MB / 371.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008032/0.3204, allocations: 1.008 MB / 372.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.349e-05/0.3204, allocations: 301.1 kB / 373.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.3215, allocations: 0.6782 MB / 373.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002717/0.3242, allocations: 3.691 MB / 377.5 MB, free: 6.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004327/0.3285, allocations: 4.817 MB / 382.3 MB, free: 256 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001261/0.3287, allocations: 32 kB / 382.4 MB, free: 224 kB / 362.7 MB Notification: Performance of matching and sorting (n=716) (initialization): time 0.005179/0.3338, allocations: 3.557 MB / 385.9 MB, free: 12.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.816e-05/0.3339, allocations: 55.75 kB / 386 MB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.385e-05/0.334, allocations: 108 kB / 386.1 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003173/0.3343, allocations: 183.6 kB / 386.3 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002342/0.3367, allocations: 1.302 MB / 387.6 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.3381, allocations: 1.455 MB / 389 MB, free: 9.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00221/0.3403, allocations: 207.9 kB / 389.2 MB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003191/0.3406, allocations: 280 kB / 389.5 MB, free: 8.973 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 503 * Number of states: 0 () * Number of discrete variables: 33 (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 (666): * Single equations (assignments): 659 * 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.001346/0.342, allocations: 0.5526 MB / 390 MB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003106/0.3423, allocations: 175.8 kB / 390.2 MB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/0.3434, allocations: 0.9131 MB / 391.1 MB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.011e-05/0.3434, allocations: 20 kB / 391.1 MB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3435, allocations: 7.938 kB / 391.2 MB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.3435, allocations: 7.969 kB / 391.2 MB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005593/0.3491, allocations: 4.113 MB / 395.3 MB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.3491, allocations: 8 kB / 395.3 MB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006719/0.3497, allocations: 263.8 kB / 395.5 MB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006905/0.3504, allocations: 382.1 kB / 395.9 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001638/0.3506, allocations: 47.64 kB / 396 MB, free: 2.293 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.881e-05/0.3507, allocations: 51.91 kB / 396 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009712/0.3516, allocations: 1.389 MB / 397.4 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/0.3516, allocations: 15.94 kB / 397.4 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.3534, allocations: 1.471 MB / 398.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003217/0.3537, allocations: 44.02 kB / 398.9 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005094/0.3542, allocations: 32 kB / 399 MB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.3543, allocations: 120.6 kB / 399.1 MB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.382e-05/0.3544, allocations: 48 kB / 399.1 MB, free: 14.89 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008258/0.3552, allocations: 0.8903 MB / 400 MB, free: 14 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3552, allocations: 0 / 400 MB, free: 14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002777/0.358, allocations: 0.9569 MB / 401 MB, free: 13.04 MB / 394.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.0003799/0.3584, allocations: 179.9 kB / 401.2 MB, free: 12.85 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003036/0.3614, allocations: 2.217 MB / 403.4 MB, free: 10.64 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001493/0.3616, allocations: 78.55 kB / 403.4 MB, free: 10.55 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005387/0.3621, allocations: 0.5371 MB / 404 MB, free: 10 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/0.3639, allocations: 0.8011 MB / 404.8 MB, free: 9.211 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/0.3761, allocations: 8.011 MB / 412.8 MB, free: 1.016 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/0.3774, allocations: 1.291 MB / 414.1 MB, free: 15.69 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001203/0.3786, allocations: 438.1 kB / 414.5 MB, free: 15.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006903/0.3793, allocations: 465.3 kB / 415 MB, free: 14.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.813e-06/0.3793, allocations: 4 kB / 415 MB, free: 14.8 MB / 410.7 MB Notification: Performance of Templates: time 0.04312/0.4224, allocations: 23.83 MB / 438.8 MB, free: 7.082 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.796826067380607]